Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWatcherStopped = errors.New("watcher stopped")
Functions ¶
This section is empty.
Types ¶
type ZookeeperDiscovery ¶
type ZookeeperDiscovery struct {
// contains filtered or unexported fields
}
func NewZookeeperDiscovery ¶
func NewZookeeperDiscovery(options *regOps.DiscoveryOptions) *ZookeeperDiscovery
func (*ZookeeperDiscovery) GetService ¶
func (d *ZookeeperDiscovery) GetService(ctx context.Context, serviceName string) ([]*registry.ServiceInstance, error)
GetService get services from zookeeper
Click to show internal directories.
Click to hide internal directories.