Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Conf = &Config{}
)
Conf global variable.
Functions ¶
Types ¶
type BlockCacheTTL ¶
BlockCacheTTL is
type CacheTTL ¶
type CacheTTL struct { BaseTTL time.Duration MoralTTL time.Duration CaptureTimesTTL time.Duration CaptureCodeTTL time.Duration CaptureErrTimesTTL time.Duration ApplyInfoTTL time.Duration }
CacheTTL cache live time.
type Config ¶
type Config struct { Log *log.Config BM *bm.ServerConfig HTTPClient *bm.ClientConfig RPCServer *rpc.ServerConfig WardenServer *warden.ServerConfig AccMysql *sql.Config Mysql *sql.Config Memcache *memcache.Config CacheTTL *CacheTTL Tracer *trace.Config Databus *databus.Config Redis *redis.Config AccountNotify *databus.Config ReportUser *databus.Config ReportManager *databus.Config Host *Host Verify *v.Config // realname RealnameProperty *RealnameProperty // block BlockMySQL *sql.Config BlockMemcache *memcache.Config BlockProperty *BlockProperty BlockCacheTTL *BlockCacheTTL }
Config struct of conf.
Click to show internal directories.
Click to hide internal directories.