Documentation ¶
Index ¶
- type Builder
- type Resolver
- func (r *Resolver) Clone(servicePath string) (cli.ServiceDiscovery, error)
- func (r *Resolver) Close()
- func (r *Resolver) GetServices() []*cli.KVPair
- func (r *Resolver) RemoveWatcher(ch chan []*cli.KVPair)
- func (r *Resolver) SetFilter(filter cli.ServiceDiscoveryFilter)
- func (r *Resolver) WatchService() chan []*cli.KVPair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func (*Resolver) Clone ¶
func (r *Resolver) Clone(servicePath string) (cli.ServiceDiscovery, error)
Clone clone a new resolver
func (*Resolver) GetServices ¶
GetServices returns the servers
func (*Resolver) RemoveWatcher ¶
RemoveWatcher remove a non-nil chan.
func (*Resolver) SetFilter ¶
func (r *Resolver) SetFilter(filter cli.ServiceDiscoveryFilter)
func (*Resolver) WatchService ¶
WatchService returns a nil chan.
Click to show internal directories.
Click to hide internal directories.