file

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestdataDir = "testdata"

Functions

This section is empty.

Types

type File

type File struct {
	Ext     string
	Dirname string
	// contains filtered or unexported fields
}

func NewStore

func NewStore(dirname string, ext string) *File

func (*File) Delete

func (f *File) Delete(key string) error

func (*File) Get

func (f *File) Get(key string) ([]byte, error)

func (*File) Set

func (f *File) Set(key string, val []byte) error

Jump to

Keyboard shortcuts

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