Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Conf = &Config{}
)
Conf global variable.
Functions ¶
Types ¶
type Config ¶
type Config struct { // base // Tracer tracer Tracer *trace.Config // Xlog log Xlog *log.Config // BM BM *blademaster.ServerConfig // URI uri URI *URI // Game game Game *Game // RPC rpc RPC *RPC // DB db DB *DB // HTTPClient httpx client HTTPClient *httpx.ClientConfig // Group group. Group *Group // DataBus databus DataBus *DataBus // HBase hbase HBase *HBase Encode *Encode Sync *Sync }
Config struct of conf.
type DataBus ¶
type DataBus struct { AsoBinLog *databus.Config User *databus.Config Log *databus.Config ContactBindLog *databus.Config UserLog *databus.Config PwdLog *databus.Config AuthBinLog *databus.Config }
DataBus multi databus collection.
type Game ¶
type Game struct { AppIDs []int32 DelCacheURI string Client *httpx.ClientConfig }
Game game notify conf.
type Group ¶
type Group struct { AsoBinLog *GroupConfig User *GroupConfig Log *GroupConfig ContactBindLog *GroupConfig PwdLog *GroupConfig AuthBinLog *GroupConfig }
Group multi group config collection.
type GroupConfig ¶
type GroupConfig struct { // Size merge size Size int // Num merge goroutine num Num int // Ticker duration of submit merges when no new message Ticker time.Duration // Chan size of merge chan and done chan Chan int }
GroupConfig group config.
type HBaseConfig ¶
HBaseConfig .
Click to show internal directories.
Click to hide internal directories.