node

package
v0.0.0-...-7d60247 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Fields []field.Field
}

func New

func New(fields ...field.Field) Node

func (*Node) AddField

func (node *Node) AddField(f field.Field)

func (*Node) LatestVersion

func (node *Node) LatestVersion() uint64

type Nodes

type Nodes map[string]Node

func (Nodes) Clone

func (n Nodes) Clone() Nodes

func (Nodes) Insert

func (n Nodes) Insert(key string, f field.Field) error

func (Nodes) String

func (n Nodes) String() string

Jump to

Keyboard shortcuts

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