12345678910111213141516171819202122232425262728 |
- package config
- import (
- "github.com/zeromicro/go-zero/rest"
- "github.com/zeromicro/go-zero/zrpc"
- "jyBXSubscribe/entity"
- )
- type Config struct {
- rest.RestConf
- AppId int64
- Webrpcport int64
- Gateway struct {
- ServerCode string
- Etcd []string
- }
- Subscribe zrpc.RpcClientConf
- MgoLogsName string
- MgoLogsCount int
- }
- type Db struct {
- Mongo entity.Mongo `json:"mongo"`
- }
- type Routes struct {
- ExcludeRoute []string
- }
|