kv

package
v0.0.0-...-bb586a6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KV

type KV interface {
	Has(key string) (bool, []byte, error)
	Get(key string) ([]byte, []byte, error)
	GetAt(key string, offset, size int) ([]byte, []byte, error)
	List() (map[string]int, error)
	Put(key string, value, metadata []byte) error
	Link(dstKey, srcKey string, metadata []byte) error
	Delete(key string) (metadata []byte, err error)
	Sync() error
}

Jump to

Keyboard shortcuts

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