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 // httpClinetAsyn HTTPClientAsyn *bm.ClientConfig // HTTPShopping HTTPShopping *bm.ClientConfig // bm http BM *HTTPServers // host Host *Host // db MySQL *MySQL // rpc client ArchiveRPC *rpc.ClientConfig // rpc account AccountRPC *rpc.ClientConfig // relationRPC RelationRPC *rpc.ClientConfig // rpc client TagRPC *rpc.ClientConfig // rpc Article ArticleRPC *rpc.ClientConfig // rpc Location LocationRPC *rpc.ClientConfig // Infoc2 FeedInfoc2 *infoc.Config ChannelInfoc2 *infoc.Config // memcache Memcache *Memcache // BroadcastRPC grpc PGCRPC *warden.ClientConfig // Square Count SquareCount int }
type HTTPServers ¶
type HTTPServers struct {
Outer *bm.ServerConfig
}
Click to show internal directories.
Click to hide internal directories.