Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Conf = &Config{}
)
Conf global variable.
Functions ¶
Types ¶
type Config ¶
type Config struct { // base // log Log *log.Config // db DB *DB // redis Redis *Redis // http BM *HTTPServers // http client HTTPClient HTTPClient // tracer Tracer *trace.Config //stat Stat int Stra int }
Config struct of conf.
type HTTPClient ¶
type HTTPClient struct { Read *bm.ClientConfig Write *bm.ClientConfig }
HTTPClient config
type HTTPServers ¶
type HTTPServers struct { Inner *bm.ServerConfig Outer *bm.ServerConfig }
HTTPServers Http Servers
Click to show internal directories.
Click to hide internal directories.