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

Source Files