1 Star 1 Fork 0

ZYaller / rpcx-service

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 327 Bytes
一键复制 编辑 原始数据 按行查看 历史
钟永标 提交于 2021-12-31 17:29 . Change 底层结构调整;
package main
import (
framework "github.com/ZYallers/rpcx-framework"
_ "github.com/ZYallers/rpcx-service/restful"
"github.com/smallnest/rpcx/log"
)
func init() {
framework.LoadConfig()
}
func main() {
//share.Trace = true
s := framework.NewService()
log.Infof("Service-> %+v; Etcd-> %+v", *s, *(s.Etcd))
s.Serve()
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/zyb_icanplay/rpcx-service.git
git@gitee.com:zyb_icanplay/rpcx-service.git
zyb_icanplay
rpcx-service
rpcx-service
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891