memory

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

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

Memory represent inMemory storage engine

func New

func New() *Memory

New creates new Memory storage

func (*Memory) Alert

func (m *Memory) Alert() coreStorage.Alert

Alert returns Alert storage

func (*Memory) KV

func (m *Memory) KV() coreStorage.KV

KV returns KV storage

func (*Memory) Name

func (m *Memory) Name() string

Name returns the name of the storage

func (*Memory) Stop

func (m *Memory) Stop() error

Stop the engine

Jump to

Keyboard shortcuts

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