simple

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// OK response with set
	OK = []byte("OK")
)

Functions

func NewReadRequest

func NewReadRequest(k []byte) storage.Request

NewReadRequest return write request

func NewSimpleKVExecutor

func NewSimpleKVExecutor(kv storage.KVStorage) storage.Executor

NewSimpleKVExecutor returns a simple kv executor that supports set/get commands.

func NewWriteRequest

func NewWriteRequest(k, v []byte) storage.Request

NewWriteRequest return write request

Types

This section is empty.

Jump to

Keyboard shortcuts

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