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