Documentation ¶
Index ¶
- func GetServers(configIp string) map[string]*config.ServerInfo
- func GetServersLen(configIp string) int
- func IsConnectDirectly(configIp string) bool
- func SetDownNode(configIp string, host string)
- func SetNextTryConnTime(configIp string, nextPeriod int64)
- func SetServers(configIp string, serverMap map[string]*config.ServerInfo)
- type Info
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServers ¶
func GetServers(configIp string) map[string]*config.ServerInfo
GetServersLen 获取服务器数组
func IsConnectDirectly ¶
IsConnectDirectly is connect by ip directly false : yes true : no
func SetNextTryConnTime ¶
SetNextTryConnTime if this connect is fail will set this time
func SetServers ¶
func SetServers(configIp string, serverMap map[string]*config.ServerInfo)
Types ¶
Click to show internal directories.
Click to hide internal directories.