Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Conf global Conf = &Config{} )
Functions ¶
Types ¶
type Config ¶
type Config struct { Tracer *trace.Config History *History BM *bm.ServerConfig RPCClient2 *RPC Toview *Redis Redis *Redis Xlog *xlog.Config Info *HBaseConfig DataBus *Databus Auth *auth.Config Verify *verify.Config Collector *infoc.Config Ecode *ecode.Config RPCServer *rpc.ServerConfig GRPC *warden.ServerConfig ThirdBusines *ThirdBusines Report *databus.Config }
Config service conf
type Databus ¶
type Databus struct { PlayPro *databus.Config Merge *databus.Config Experience *databus.Config Pub *databus.Config }
Databus .
type HBaseConfig ¶
HBaseConfig ...
type History ¶
type History struct { Max int Total int Cache int Page int Size int Ticker xtime.Duration Pub bool ConsumeSize int Migration bool Rate int64 Mids []int64 }
History history.
type RPC ¶
type RPC struct { Archive *rpc.ClientConfig Favorite *rpc.ClientConfig History *warden.ClientConfig }
RPC rpc.
type ThirdBusines ¶
type ThirdBusines struct { BangumiV2URL string SeasonURL string HTTPClient *bm.ClientConfig }
ThirdBusines Bangumi favorite.
Click to show internal directories.
Click to hide internal directories.