memory

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemStore

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

func NewMemStore

func NewMemStore(name string) *MemStore

func (*MemStore) Delete

func (ms *MemStore) Delete(key string) error

func (*MemStore) Get

func (ms *MemStore) Get(key string) ([]byte, error)

func (*MemStore) Name

func (ms *MemStore) Name() string

func (*MemStore) Put

func (ms *MemStore) Put(key string, value []byte) error

Jump to

Keyboard shortcuts

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