Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Conf export config variable Conf = &Config{} )
Functions ¶
Types ¶
type Config ¶
type Config struct { // base // ecode Ecode *ecode.Config // xlog Xlog *log.Config Auth *auth.Config Verify *verify.Config // http client HTTPClient *bm.ClientConfig ArchiveRPC *rpc.ClientConfig AccountRPC *warden.ClientConfig AssistRPC *rpc.ClientConfig DMRPC *rpc.ClientConfig // http server HTTPServer *bm.ServerConfig // db DB *DB // redis Redis *Redis // tracer Tracer *trace.Config // databus Databus *databus.Config // Antispam Antispam *antispam.Config Host Host ES *elastic.Config }
Config dm config file
type DMRedis ¶
type DMRedis struct { *redis.Config DMIDExpire time.Duration LockExpire time.Duration IndexExpire time.Duration VideoExpire time.Duration }
DMRedis redis instance of dm
Click to show internal directories.
Click to hide internal directories.