yentry

package
v0.1.231 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: Apache-2.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Log      logging.Logger
	Name     string
	Key      []string
	Parent   Handler
	Children map[string]Handler
}

func (*Entry) GetChildren

func (e *Entry) GetChildren() map[string]Handler

func (*Entry) GetKey

func (e *Entry) GetKey() []string

func (*Entry) GetName

func (e *Entry) GetName() string

func (*Entry) GetParent

func (e *Entry) GetParent() Handler

type HandleInitFunc

type HandleInitFunc func(parent Handler, opts ...HandlerOption) Handler

type Handler

type Handler interface {
	WithLogging(log logging.Logger)
	GetKeys(p *gnmi.Path) []string
}

type HandlerOption added in v0.1.217

type HandlerOption func(Handler)

func WithLogging added in v0.1.217

func WithLogging(log logging.Logger) HandlerOption

Jump to

Keyboard shortcuts

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