mpt

package
v0.0.0-...-5f8ca62 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MPTMemoryStorage

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

func NewMPTMemoryStorage

func NewMPTMemoryStorage() *MPTMemoryStorage

func (*MPTMemoryStorage) Delete

func (m *MPTMemoryStorage) Delete(key []byte) error

func (*MPTMemoryStorage) Get

func (m *MPTMemoryStorage) Get(key []byte) ([]byte, error)

func (*MPTMemoryStorage) Has

func (m *MPTMemoryStorage) Has(key []byte) (bool, error)

func (*MPTMemoryStorage) Put

func (m *MPTMemoryStorage) Put(key []byte, value []byte) error

Jump to

Keyboard shortcuts

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