mirror of
https://github.com/putyy/res-downloader.git
synced 2026-01-12 22:34:56 +08:00
17 lines
271 B
Go
17 lines
271 B
Go
package core
|
|
|
|
type Bind struct {
|
|
}
|
|
|
|
func NewBind() *Bind {
|
|
return &Bind{}
|
|
}
|
|
|
|
func (b *Bind) Config() *ResponseData {
|
|
return httpServerOnce.buildResp(1, "ok", globalConfig)
|
|
}
|
|
|
|
func (b *Bind) AppInfo() *ResponseData {
|
|
return httpServerOnce.buildResp(1, "ok", appOnce)
|
|
}
|