Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { AppId string Engine string Env string Log xlog.Config Trace traceConfig.Configuration LogicRPCClient *RPCClient IdGenRPCClient *RPCClient GroupRPCClient *RPCClient AnswerRPCClient *RPCClient DeviceRPCClient *RPCClient //gRPC server GRPCServer *grpc.ServerConfig Reg *Reg Redis *Redis IMSub *MQSubClient RevSub *MQSubClient StorePub *MQPubServer OffPush *OffPush }
var (
Conf *Config
)
type MQSubClient ¶
type OffPush ¶
type OffPush struct { IsEnabled bool OffPushPub *MQPubServer }
type RPCClient ¶
type RPCClient struct { RegAddrs string // etcd addrs, seperate by ',' Schema string SrvName string // call Dial xtime.Duration Timeout xtime.Duration }
RPCClient is RPC client config.
Click to show internal directories.
Click to hide internal directories.