Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GetFromDHHDBError 回源db错误 GetFromDHHDBError = "get_from_dhh_db" // ScanFromDHHDBError scan db错误 ScanFromDHHDBError = "scan_db" )
Variables ¶
View Source
var ( // TraceInit weather need init trace TraceInit bool // Conf config Conf = &Config{} )
Functions ¶
Types ¶
type Config ¶
type Config struct { Log *log.Config BM *bm.ServerConfig BMClient *bm.ClientConfig Verify *verify.Config Tracer *trace.Config VipRedis *redis.Config GuardRedis *redis.Config Redis *redis.Config Memcache *memcache.Config ExpMemcache *memcache.Config LiveUserMysql *sql.Config LiveAppMySQL *sql.Config LiveAppORM *orm.Config Ecode *eCode.Config LiveVipChangePub *databus.Config UserExpMySQL *sql.Config LiveRPC map[string]*liverRPC.ClientConfig LiveEntryEffectPub *databus.Config GuardCfg *GuardCfg AccountRPC *rpc.ClientConfig Switch *ConfigSwitch UserExpExpire *UserExpExpireConf UserDaHangHaiExpire *UserDhhExpireConf // report Report *databus.Config XanchorClient *warden.ClientConfig }
Config .
type UserDhhExpireConf ¶
type UserDhhExpireConf struct {
ExpireTime int32
}
UserDhhExpireConf config for cache expire
type UserExpExpireConf ¶
type UserExpExpireConf struct {
ExpireTime int32
}
UserExpExpireConf config for cache expire
Click to show internal directories.
Click to hide internal directories.