Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Conf = &Config{}
)
Functions ¶
Types ¶
type Config ¶
type Config struct { // Env Env string // show XLog Log *log.Config // tick time Tick xtime.Duration // tracer Tracer *trace.Config // httpClinet HTTPClient *bm.ClientConfig // bm http BM *HTTPServers // db Ecode *ecode.Config MySQL *MySQL // duration Duration *Duration // Splash Splash *Splash // interestJSONFile InterestJSONFile string // StaticJsonFile StaticJSONFile string // guide rand GuideRandom *GuideRandom // domain Domain *Domain ABTest *ABTest // host Host *Host // sideBar limit id SideBarLimit []int64 // resource ResourceRPC *rpc.ClientConfig // infoc2 InterestInfoc *infoc.Config // BroadcastRPC grpc BroadcastRPC *warden.ClientConfig // White White *White // 垃圾白名单 ShowTabMids []int64 // location rpc LocationRPC *rpc.ClientConfig // show hot all ShowHotAll bool // rpc server2 RPCServer *rpc.ServerConfig }
type GuideRandom ¶
type HTTPServers ¶
type HTTPServers struct {
Outer *bm.ServerConfig
}
Click to show internal directories.
Click to hide internal directories.