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"` // xiaoxiao : enable Follower Read EnableFollowerRead bool `json:"enableFollowerRead"` ReadHandleCMDs []string `json:"readhandles"` }
Cfg returns cfg for proxy
Click to show internal directories.
Click to hide internal directories.