inmemory

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InMemory

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

func New

func New() *InMemory

func (*InMemory) Delete added in v0.0.4

func (m *InMemory) Delete(_ context.Context, key []byte) error

func (*InMemory) Get

func (m *InMemory) Get(_ context.Context, key []byte) ([]byte, error)

func (*InMemory) Put

func (m *InMemory) Put(_ context.Context, key []byte, value []byte) error

Jump to

Keyboard shortcuts

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