Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDuplication is a register duplication err ErrDuplication = errors.New("zookeeper: instance duplicate registration") )
Functions ¶
Types ¶
type Config ¶
type Config struct { Root string `json:"root"` Endpoints []string `json:"endpoints"` Timeout xtime.Duration `json:"timeout"` }
Config is zookeeper config.
type Resolve ¶
type Resolve struct {
// contains filtered or unexported fields
}
Resolve zookeeper resolver.
type Zookeeper ¶
type Zookeeper struct {
// contains filtered or unexported fields
}
Zookeeper is a zookeeper client Builder. path: /{root}/{appid}/{ip} -> json(instance)
Click to show internal directories.
Click to hide internal directories.