Documentation ¶
Index ¶
- func Init()
- type Discovery
- func (s *Discovery) Initialize(uris string, heartbeat time.Duration, ttl time.Duration) error
- func (s *Discovery) Prefix() string
- func (s *Discovery) Register(addr string) error
- func (s *Discovery) Store() store.Store
- func (s *Discovery) Watch(stopCh <-chan struct{}) (<-chan discovery.Entries, <-chan error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
Discovery is exported
func (*Discovery) Initialize ¶
Initialize is exported
Click to show internal directories.
Click to hide internal directories.