Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var ( RegisterPath = "/srv/monitor" Advertise string Discovery string Hearbeat time.Duration TTL time.Duration Cancel ctx.CancelFunc )
Functions ¶
func NewDiscovery ¶
func NewWatcher ¶
func NewWatcher(opts *WatcherOptions) (etcd.Watcher, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.