Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdDiscoveryService ¶
type EtcdDiscoveryService struct {
// contains filtered or unexported fields
}
EtcdDiscoveryService is exported
func (*EtcdDiscoveryService) Fetch ¶
func (s *EtcdDiscoveryService) Fetch() ([]*discovery.Entry, error)
Fetch is exported
func (*EtcdDiscoveryService) Initialize ¶
func (s *EtcdDiscoveryService) Initialize(uris string, heartbeat int) error
Initialize is exported
func (*EtcdDiscoveryService) Register ¶
func (s *EtcdDiscoveryService) Register(addr string) error
Register is exported
func (*EtcdDiscoveryService) Watch ¶
func (s *EtcdDiscoveryService) Watch(callback discovery.WatchCallback)
Watch is exported
Click to show internal directories.
Click to hide internal directories.