Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelFunc ¶
type CancelFunc context.CancelFunc
A CancelFunc tells an operation to abandon its work.
type Discoverer ¶
type Discoverer interface {
Register(namespace, name, addr string, timeout time.Duration) (KeepAliveFunc, error)
Unregister(namespace, name string) error
Watch(namespace string) (<-chan *Event, CancelFunc, error)
Services(namespace string) (map[string]string, error)
Version() int
Close() error
}
Discoverer interface
Click to show internal directories.
Click to hide internal directories.