github

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: MIT Imports: 9 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 {
	// contains filtered or unexported fields
}

func (Node) Children

func (n Node) Children() []tree.Node

func (Node) Data

func (n Node) Data() interface{}

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

func NewStorage

func NewStorage(m map[string]interface{}) (*Storage, error)

func (*Storage) Delete

func (s *Storage) Delete(name string) error

func (*Storage) Get

func (s *Storage) Get(name string) (string, error)

func (*Storage) GetMatched added in v0.2.0

func (s *Storage) GetMatched(toMatched string) []string

func (*Storage) List

func (s *Storage) List() (tree.Node, error)

func (*Storage) Set

func (s *Storage) Set(name, data string) error

Jump to

Keyboard shortcuts

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