dir

package
v0.0.0-...-6b20bf8 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store string

Store implements kvstore.Store using a directory on the local filesystem. If the directory does not exist, it will be created with 0700 permissions.

func (Store) Delete

func (s Store) Delete(key string) error

Delete implements kvstore.Store.Delete

func (Store) Get

func (s Store) Get(key string) ([]byte, error)

Get implements kvstore.Store.Get

func (Store) Put

func (s Store) Put(key string, data []byte) error

Put implements kvstore.Store.Put

Jump to

Keyboard shortcuts

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