froth

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: MIT Imports: 4 Imported by: 1

README

froth

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stash

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

func NewStash

func NewStash(dst, asset string) (*Stash, error)

func (*Stash) Add

func (stash *Stash) Add(key string, value string) error

func (*Stash) All

func (stash *Stash) All() []string

func (*Stash) Contains

func (stash *Stash) Contains(key string) bool

func (*Stash) ContainsValue

func (stash *Stash) ContainsValue(key string, value string) bool

func (*Stash) Get

func (stash *Stash) Get(key string) (string, bool)

func (*Stash) GetAll

func (stash *Stash) GetAll(key string) ([]string, bool)

func (*Stash) Remove

func (stash *Stash) Remove(key string, value string) error

func (*Stash) Search

func (stash *Stash) Search(terms []string, scope []string, ignoreCase bool, fullMatch bool) []string

func (*Stash) Set

func (stash *Stash) Set(key string, values ...string) error

func (*Stash) SetMany

func (stash *Stash) SetMany(keyValues map[string][]string) error

Jump to

Keyboard shortcuts

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