node

package
v1.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(key string) (w *watcher.General, err error)

New returns a new node watcher

Types

type Option

type Option func(opts *Options)

Option function of configure Options

func WithEtcdEndpoints

func WithEtcdEndpoints(endpoints []string) Option

WithEtcdEndpoints sets Endpoints of Options.Etcd.Endpoints

type Options

type Options struct {
	Etcd *struct {
		Endpoints []string
	}
}

Options of node watcher

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL