1 Star 1 Fork 0

linngc / center.gf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
golang_stat.go 532 Bytes
一键复制 编辑 原始数据 按行查看 历史
// Package golangproxy
// @Link https://gitee.com/linngc/center.gf
// @Copyright Copyright (c) 2022 center CLI
// @Author linngc
// @License
//
package golangproxy
import "net/http"
// Config 获取golang配置的资源文件信息
func (c *cGolang) Config() *GolangConfig {
return getConfig()
}
// OnConfig 更新golang配置的资源文件信息
func (c *cGolang) OnConfig(str string) {
decodeTo([]byte(str))
}
func (c *cGolang) closeResponse(response *http.Response) {
if nil != response {
response.Body.Close()
}
}
Go
1
https://gitee.com/linngc/center.gf.git
git@gitee.com:linngc/center.gf.git
linngc
center.gf
center.gf
a3cc0ba0e195

搜索帮助