Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // base // log Log *log.Config App *bm.App // favorite config Fav *Fav Platform *Platform // BM blademaster BM *bm.ServerConfig // redis Redis *Redis // memcache Memcache *Memcache // databus JobDatabus *databus.Config // Verify Verify *verify.Config // Auth Auth *auth.Config // rpc client RPCClient2 *RPC // tracer Tracer *trace.Config // http client HTTPClient *bm.ClientConfig // ecode Ecode *ecode.Config // Antispam Antispam *antispam.Config // Supervisior Supervisor *supervisor.Config // collector Infoc2 *infoc.Config }
Config is favorte conf
var ( // Conf Config Conf *Config )
type Fav ¶
type Fav struct { // the max of the num of favorite folders MaxFolders int MaxPagesize int MaxNameLen int MaxDescLen int // the num of operation MaxOperationNum int // the num of default favorite DefaultFolderLimit int NormalFolderLimit int // cache expire Expire time.Duration }
Fav config
type RPC ¶
type RPC struct { Archive *rpc.ClientConfig Favorite *rpc.ClientConfig FavClient *warden.ClientConfig }
RPC contain all rpc conf
Click to show internal directories.
Click to hide internal directories.