package config

import (
	"jyBXSubscribe/entity"

	"github.com/zeromicro/go-zero/rest"
	"github.com/zeromicro/go-zero/zrpc"
)

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
}
