storage

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

View Source
var (
	GetStorageMap = getStorageMap
	GetStorage    = getStorage
)

exported methods

Functions

func GetConfig

func GetConfig() (*config, error)

Types

type Storage

type Storage interface {
	Get(name string) (string, error)
	Set(name, data string) error
	Delete(name string) error
	List() (tree.Node, error)
	GetMatched(toMatched string) []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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