Documentation ¶
Index ¶
- func LocalIP() (net.IP, error)
- func NewClient(addr, token, datacenter string) (*api.Client, error)
- func WatchServices(client *api.Client, service string, tag string, updates chan []ServiceAddress) (stop chan bool)
- func WatchTree(client *api.Client, prefix string, notifications chan bool) (results map[string]string, stop chan bool, err error)
- type Registry
- type ServiceAddress
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WatchServices ¶
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func (*Registry) Unregister ¶
type ServiceAddress ¶
Click to show internal directories.
Click to hide internal directories.