ctree

package
v0.9.0-beta Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigTree

type ConfigTree struct {
	// Debug turns on verbose logging of the tree functions to stdout
	Debug bool
	// contains filtered or unexported fields
}

func New

func New() *ConfigTree

func (*ConfigTree) Add

func (c *ConfigTree) Add(ns []string, inNode Node)

func (*ConfigTree) Freeze

func (c *ConfigTree) Freeze()

func (*ConfigTree) Frozen

func (c *ConfigTree) Frozen() bool

func (*ConfigTree) Get

func (c *ConfigTree) Get(ns []string) Node

func (*ConfigTree) GobDecode

func (c *ConfigTree) GobDecode(buf []byte) error

func (*ConfigTree) GobEncode

func (c *ConfigTree) GobEncode() ([]byte, error)

func (*ConfigTree) MarshalJSON

func (c *ConfigTree) MarshalJSON() ([]byte, error)

func (*ConfigTree) Print

func (c *ConfigTree) Print()

type Node

type Node interface {
	Merge(Node) Node
}

Jump to

Keyboard shortcuts

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