persist

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 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 Persist

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

func New

func New(dir string) *Persist

func (*Persist) DelState

func (p *Persist) DelState(key string)

func (*Persist) ReadState

func (p *Persist) ReadState(key string) ([]byte, error)

func (*Persist) ReadStateSet

func (p *Persist) ReadStateSet(prefix string) (map[string][]byte, error)

func (*Persist) StoreState

func (p *Persist) StoreState(key string, value []byte) error

Jump to

Keyboard shortcuts

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