Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Conf = &Config{}
)
Conf global variable.
Functions ¶
Types ¶
type Config ¶
type Config struct { // log Xlog *log.Config // BM BM *bm.ServerConfig // rpc server RPCServer *rpc.ServerConfig // redis MultiRedis *MultiRedis // memcache Memcache *Memcache // tracer Tracer *trace.Config // rpc client ArchiveRPC *rpc.ClientConfig AccountRPC *rpc.ClientConfig ArticleRPC *rpc.ClientConfig // httpClient HTTPClient *bm.ClientConfig // feed Feed *Feed }
Config struct of conf.
type Feed ¶
type Feed struct { AppLength int WebLength int ArchiveFeedLength int ArticleFeedLength int ArchiveFeedExpire time.Duration BangumiFeedExpire time.Duration AppPullInterval time.Duration WebPullInterval time.Duration ArtPullInterval time.Duration BulkSize int MinUpCnt int MaxTotalCnt int }
Feed .
Click to show internal directories.
Click to hide internal directories.