nodes

package
v2.3.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KEY represents the key path in store
	KEY = "/lain/nodes/nodes"
)

Variables

This section is empty.

Functions

func New

func New(s store.Store, ctx context.Context) (*watcher.Watcher, error)

New create a new watcher which used to watch node info

Types

type NodeInfo

type NodeInfo map[string]interface{}

NodeInfo represents the data type returned by this watcher. it's represents map[nodeip/nodename]string(or map)

Jump to

Keyboard shortcuts

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