kvstore

package
v0.0.0-...-da22cf9 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2019 License: Apache-2.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 KVStore

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

func NewKVStore

func NewKVStore(contextKey sdk.StoreKey) KVStore

func (KVStore) Delete

func (kvstore KVStore) Delete(ctx sdk.Context, key []byte)

func (KVStore) Get

func (kvstore KVStore) Get(ctx sdk.Context, key []byte) []byte

func (KVStore) Set

func (kvstore KVStore) Set(ctx sdk.Context, key []byte, value []byte)

Jump to

Keyboard shortcuts

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