mem

package
v0.15.0-rc.9 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore() kv.TxnStore

NewStore returns a new in-process store that can be used for testing

func NewValue

func NewValue(vers int, msg proto.Message) kv.Value

NewValue returns a new fake Value around the given proto

func NewValueWithData

func NewValueWithData(vers int, data []byte) kv.Value

NewValueWithData returns a new fake Value around the given data

Types

This section is empty.

Jump to

Keyboard shortcuts

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