inmemory

package
v0.0.0-...-b0c7fd6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 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 Engine

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

func New

func New() *Engine

func (*Engine) Get

func (s *Engine) Get(key string) ([]storage.Value, error)

func (*Engine) Put

func (s *Engine) Put(key string, value storage.Value) error

func (*Engine) Scan

func (s *Engine) Scan(key string) storage.ScanIterator

type Iterator

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

func (*Iterator) Item

func (i *Iterator) Item() (key string, values []storage.Value)

func (*Iterator) Next

func (i *Iterator) Next() error

Jump to

Keyboard shortcuts

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