1 Star 0 Fork 0

csingo / cRpc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
RpcConfType.go 709 Bytes
一键复制 编辑 原始数据 按行查看 历史
cxy1620541673 提交于 2023-09-09 17:30 . update
package cRpc
type RpcConf struct {
RequestURI string `json:"request_uri"`
Timeout int64 `json:"timeout"`
Try int64 `json:"try"`
Signature string `json:"signature"`
Clients []*RpcConf_Client `json:"clients"`
}
type RpcConf_Client struct {
Host string `json:"host"`
Package string `json:"package"`
Services []*RpcConf_Client_Service `json:"services"`
}
type RpcConf_Client_Service struct {
App string `json:"app"`
Service string `json:"service"`
}
func (i *RpcConf) ConfigName() string {
return "RpcConf"
}
var selfRpcConf = &RpcConf{
RequestURI: "",
Clients: []*RpcConf_Client{},
}
Go
1
https://gitee.com/csingo/cRpc.git
git@gitee.com:csingo/cRpc.git
csingo
cRpc
cRpc
v0.2.52

搜索帮助