raw

package
v0.0.0-...-caec882 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Put(ctx context.Context, namespace string, key, value []byte) error
	Get(ctx context.Context, namespace string, key []byte) ([]byte, error)
	Delete(ctx context.Context, namespace string, key []byte) error
	BatchGet(ctx context.Context, namespace string, keys [][]byte) ([][]byte, error)
	BatchPut(ctx context.Context, namespace string, keys, values [][]byte) error
	BatchDelete(ctx context.Context, namespace string, keys [][]byte) error

	Scan(ctx context.Context, namespace string, prefix []byte, limit int) ([][]byte, [][]byte, error)

	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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