Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Conf common conf Conf = &Config{} )
Functions ¶
Types ¶
type BASECenter ¶
BASECenter config
type Config ¶
type Config struct { // base // 数据库配置 DB *DB // redis Redis *Redis // http client HTTPClient HTTPClient // http BM *HTTPServers // grpc server RPCServer *warden.ServerConfig // log Log *log.Config // auth Auth *auth.Config Verify *verify.Config // orm ORM *orm.Config // UT UT *UT // URL URL *URL // BASECenter BASECenter *BASECenter // Tag Tag *Tag }
Config config struct
type HTTPClient ¶
type HTTPClient struct { Read *bm.ClientConfig Write *bm.ClientConfig }
HTTPClient config
type HTTPServers ¶
type HTTPServers struct { Inner *bm.ServerConfig Local *bm.ServerConfig }
HTTPServers Http Servers
Click to show internal directories.
Click to hide internal directories.