Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ConfPath config path. ConfPath string // Conf config. Conf *Config )
Functions ¶
Types ¶
type Config ¶
type Config struct { XLog *log.Config Tracer *trace.Config // HTTP HTTPClient *bm.ClientConfig DrawyooHTTPClient *bm.ClientConfig // databus Databus *Databus // rpc RPCClient2 *RPCClient2 // bm BM *bm.ServerConfig // mysql MySQL *MySQL // redis Redis *Redis // mc Memcache *Memcache // Host Host *Host Weight *Weight Job *Job StatTypes map[string]int8 Es *elastic.Config AccountClient *warden.ClientConfig }
Config config.
type Databus ¶
type Databus struct { Event *databus.Config Stats *databus.Config Consumer *databus.Config Like *databus.Config }
Databus databus.
type Host ¶
type Host struct { Activity string Message string DrawYoo string Search string BlackRoom string LiveVC string LiveAct string API string Bangumi string }
Host represents host info.
type Job ¶
type Job struct { Proc int SearchNum int SearchFlush time.Duration MessageMids []int64 BatchNumber int }
Job job.
type RPCClient2 ¶
type RPCClient2 struct { Account *rpc.ClientConfig Archive *rpc.ClientConfig Article *rpc.ClientConfig Assist *rpc.ClientConfig }
RPCClient2 rpc client.
Click to show internal directories.
Click to hide internal directories.