Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Conf is global config Conf = &Config{} )
Functions ¶
Types ¶
type Config ¶
type Config struct { Version string `toml:"version"` Static string LocsDegrade bool // reload Reload ReloadInterval // app App *bm.App // Auth Auth *auth.Config // verify Verify *verify.Config // http BM *HTTPServers Tracer *trace.Config // db MySQL *MySQL // rpc RPCClient2 *RPCClient2 // rpc Location LocationRPC *rpc.ClientConfig // httpClient HTTPClient *bm.ClientConfig // Host Host *Host // XLog XLog *xlog.Config // DegradeConfig DegradeConfig *DegradeConfig }
Config service config
type DegradeConfig ¶
DegradeConfig .
type HTTPServers ¶
type HTTPServers struct { Outer *bm.ServerConfig Inner *bm.ServerConfig Local *bm.ServerConfig }
HTTPServers Http Servers
type RPCClient2 ¶
type RPCClient2 struct { Archive *rpc.ClientConfig Account *rpc.ClientConfig Resource *rpc.ClientConfig }
RPCClient2 define RPC client config
Click to show internal directories.
Click to hide internal directories.