memory

package
v0.2.134 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2019 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryStore

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

func NewMemoryStore

func NewMemoryStore() *MemoryStore

func (*MemoryStore) AddPrefix

func (m *MemoryStore) AddPrefix(prefix string) *MemoryStore

func (*MemoryStore) Apply

func (m *MemoryStore) Apply(key string, value []byte) error

func (*MemoryStore) Delete

func (m *MemoryStore) Delete(key string) error

func (MemoryStore) Get

func (m MemoryStore) Get(key string) ([]byte, error)

func (MemoryStore) IsExisting

func (m MemoryStore) IsExisting(key string) bool

func (MemoryStore) List

func (m MemoryStore) List() ([][]byte, error)

Jump to

Keyboard shortcuts

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