types

package
v0.0.0-...-5ff9ce1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 3 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 {
	Name     string
	Value    int
	Children map[string]*Node
}

func (*Node) Add

func (n *Node) Add(stackPtr *[]string, index int, value int)

func (*Node) MarshalIndentJSON

func (n *Node) MarshalIndentJSON() ([]byte, error)

func (*Node) MarshalJSON

func (n *Node) MarshalJSON() ([]byte, error)

type Profile

type Profile struct {
	RootNode Node
	Stack    []string
}

func (*Profile) AddFrame

func (p *Profile) AddFrame(name string)

func (*Profile) CloseStack

func (p *Profile) CloseStack()

func (*Profile) OpenStack

func (p *Profile) OpenStack()

Jump to

Keyboard shortcuts

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