Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Endpoints []string `json:"endpoints"` CertFile string `json:"certFile"` KeyFile string `json:"keyFile"` CaCert string `json:"caCert"` BasicAuth bool `json:"basicAuth"` UserName string `json:"userName"` Password string `json:"-"` ConnectTimeout time.Duration `json:"connectTimeout"` // 连接超时时间 Secure bool `json:"secure"` AutoSyncInterval time.Duration `json:"autoAsyncInterval"` // 自动同步member list的间隔 TTL int // 单位:s }
Config ...
type Watch ¶
type Watch struct {
// contains filtered or unexported fields
}
Watch A watch only tells the latest revision
func (*Watch) IncipientKeyValues ¶
IncipientKeyValues incipient key and values
Click to show internal directories.
Click to hide internal directories.