kvfiles

package
v0.0.0-...-810cf82 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2019 License: MIT Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(path string) error

Types

type KVFiles

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

func Open

func Open(path string) (*KVFiles, error)

func (*KVFiles) Get

func (k *KVFiles) Get(ctx context.Context, key []byte) ([]byte, error)

func (*KVFiles) Put

func (k *KVFiles) Put(ctx context.Context, key, value []byte) error

Jump to

Keyboard shortcuts

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