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