Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Conf = &Config{}
)
Conf global variable.
Functions ¶
Types ¶
type Config ¶
type Config struct { // app App *bm.App // tracer Tracer *trace.Config // goroutine sleep Tick time.Duration // http server BM *bm.ServerConfig // log Log *log.Config // verify Verify *verify.Config LocationRPC *rpc.ClientConfig DataBus *databus.Config Mysql *Mysql Expect *Expect // redis Redis *Redis // httpClient HTTPClient *bm.ClientConfig // rpc RPCServer *rpc.ServerConfig // HBase HBase *HBaseConfig // mc Memcache *Memcache }
Config struct of conf.
type Expect ¶
type Expect struct { Top int64 // login loc count. Count int64 // login time count. CloseCount int64 // user close count. Rand int64 // rand ratio DoubleCheck int64 // double login check location count. }
Expect Login expection config.
type HBaseConfig ¶
HBaseConfig extra hbase config for compatible
Click to show internal directories.
Click to hide internal directories.