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 Xlog *log.Config //Tracer *conf.Tracer Tracer *trace.Config // Verify Verify *verify.Config // BM BM *blademaster.ServerConfig // http client HTTPClient *blademaster.ClientConfig // memcache Memcache *memcache.Config // url router map Dispatcher *Dispatcher // RPCServer rpc server RPCServer *rpc.ServerConfig // grpc server WardenServer *warden.ServerConfig // passport Passport *PassportConfig }
Config struct of conf.
type Dispatcher ¶
type Dispatcher struct { Name string Oauth map[string]string RenewToken map[string]string RegionInfos []*model.RegionInfo }
Dispatcher router map
type PassportConfig ¶
PassportConfig identify config
Click to show internal directories.
Click to hide internal directories.