utils

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DIALTIMEOUT        = 50 * time.Second
	RIGELPREFIX        = "/remiges/rigel"
	INVALID_DEPENDENCY = "invalid_dependency"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Name     string
	Children map[string]*Node
	IsLeaf   bool
	FullPath string
	Value    string
}

func NewNode

func NewNode(name string) *Node

func (*Node) AddPath

func (n *Node) AddPath(path string, val string)

add nodes corresponding to the path in the node tree

func (*Node) Ls

func (n *Node) Ls(path string) []*Node

Jump to

Keyboard shortcuts

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