package config import ( "github.com/zeromicro/go-zero/rest" "github.com/zeromicro/go-zero/zrpc" "jygit.jydev.jianyu360.cn/ApplicationCenter/publicService/api/entity" ) type Config struct { rest.RestConf Webrpcport int64 Gateway struct { ServerCode string Etcd []string } PublicService zrpc.RpcClientConf MgoLogsName string MgoLogsCount int } type Routes struct { ExcludeRoute []string } type Db struct { Mongo entity.Mongo `json:"mongo"` }