Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct { Addr string `json:"addr"` AddrNotify string `json:"addrNotify"` Advertise_AddrNotify string `json:"advertise_addrNotify"` WatcherHeartbeatSec int `json:"watcherHeartbeatSec"` PDAddrs []string `json:"pdAddrs"` MaxRetries int `json:"maxRetries"` RetryDuration int64 `json:"retryDuration"` WorkerCount uint64 `json:"workerCount"` SupportCMDs []string `json:"supportCMDs"` // xiaoxiao : set timeout time Timeout int64 `json:"timeout"` }
Cfg returns cfg for proxy
type RedisProxy ¶
RedisProxy is a redis proxy
Click to show internal directories.
Click to hide internal directories.