1 Star 0 Fork 0

csingo / cRpc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.go 322 Bytes
一键复制 编辑 原始数据 按行查看 历史
cxy1620541673 提交于 2023-06-30 10:04 . update
package cRpc
import "gitee.com/csingo/cLog"
func InjectConf(conf interface{}) {
if _, ok := conf.(*RpcConf); ok {
cLog.WithContext(nil, map[string]interface{}{
"source": "cRpc.InjectConf",
}).Trace("更新 RpcConf 配置")
selfRpcConf = conf.(*RpcConf)
}
}
func GetRpcConf() *RpcConf {
return selfRpcConf
}
Go
1
https://gitee.com/csingo/cRpc.git
git@gitee.com:csingo/cRpc.git
csingo
cRpc
cRpc
v0.2.52

搜索帮助