Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GlobalEtcdConfig EtcdConfig GlobalServerConfig Config )
View Source
var ( MessageClient messageservice.Client LiveClient liveservice.Client Receiver sync.Map Limiter = tools.NewLimiter(time.Second, 20) )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `json:"name"` Server ServerConfig `json:"server"` NsqInfo NsqConfig `json:"nsq"` MessageSrv RPCSrvConfig `json:"message_srv"` LiveSrv RPCSrvConfig `json:"live_srv"` }
type EtcdConfig ¶
type RPCSrvConfig ¶
type RPCSrvConfig struct {
Name string `json:"name"`
}
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.