Documentation
¶
Index ¶
- Constants
- type Naming
- func (n *Naming) Deregister(serviceID string) error
- func (n *Naming) Find(name string, tags ...string) ([]goim.ServiceRegistration, error)
- func (n *Naming) Register(s goim.ServiceRegistration) error
- func (n *Naming) Subscribe(serviceName string, callback func([]goim.ServiceRegistration)) error
- func (n *Naming) Unsubscribe(serviceName string) error
- type Watch
Constants ¶
View Source
const ( KeyProtocol = "protocol" KeyHealthURL = "health_url" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Naming ¶
func (*Naming) Deregister ¶
func (*Naming) Subscribe ¶
func (n *Naming) Subscribe(serviceName string, callback func([]goim.ServiceRegistration)) error
func (*Naming) Unsubscribe ¶
Click to show internal directories.
Click to hide internal directories.