Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Conf config Conf = &Config{} )
Functions ¶
This section is empty.
Types ¶
type Broadcast ¶
type Broadcast struct { Debug bool MaxProc int ServerTick xtime.Duration OnlineTick xtime.Duration Failover bool APIHost string APIToken string OnlineRetries int OpenPortV1 bool }
Broadcast config.
type Config ¶
type Config struct { Broadcast *Broadcast Log *log.Config HTTP *bm.ServerConfig Tracer *trace.Config Ecode *ecode.Config WardenServer *warden.ServerConfig WardenClient *warden.ClientConfig Discovery *discovery.Config HTTPClient *bm.ClientConfig TCP *TCP WebSocket *WebSocket Timer *Timer ProtoSection *ProtoSection Whitelist *Whitelist Bucket *Bucket }
Config .
type ProtoSection ¶
type ProtoSection struct { HandshakeTimeout xtime.Duration WriteTimeout xtime.Duration SvrProto int CliProto int }
ProtoSection config
type TCP ¶
type TCP struct { Bind []string BindV1 []string Sndbuf int Rcvbuf int Keepalive bool Reader int ReadBuf int ReadBufSize int Writer int WriteBuf int WriteBufSize int }
TCP config
Click to show internal directories.
Click to hide internal directories.