Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Http rest.RestConf `json:"http"` Grpc zrpc.RpcServerConf `json:"grpc"` MySql struct { User string `json:"user"` Pass string `json:"pass"` Addr string `json:"addr"` DbName string `json:"db_name"` } `json:"mysql"` Redis redis.RedisConf `json:"redis"` Oss struct { User string `json:"user"` Pass string `json:"pass"` Endpoint string `json:"endpoint"` Location string `json:"location"` Bucket string `json:"bucket"` Prefix string `json:"prefix"` DisplayEndpoint string `json:"display_endpoint"` } `json:"oss"` External struct { Grpc struct { Passport xconf.Discovery `json:"passport"` Counter xconf.Discovery `json:"counter"` } `json:"grpc"` } `json:"external"` Salt string `json:"salt"` }
var Conf Config
全局变量
Click to show internal directories.
Click to hide internal directories.