123456789101112131415161718192021222324252627 |
- package config
- import (
- "github.com/zeromicro/go-zero/rest"
- "github.com/zeromicro/go-zero/zrpc"
- "bp.jydev.jianyu360.cn/BaseService/jyMicroservices/jyBXBase/entity"
- )
- type Config struct {
- rest.RestConf
- Webrpcport int64
- Gateway struct {
- ServerCode string
- Etcd []string
- }
- BxBase zrpc.RpcClientConf
- MgoLogsName string
- MgoLogsCount int
- }
- type Db struct {
- Mongo entity.Mongo `json:"mongo"`
- }
- type Routes struct {
- ExcludeRoute []string
- }
|