memory

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 2 Imported by: 0

README

Examples

warning, not for use in production this is just a simple shared memory dump.

The following path will use in-memory database, pathing is not used just the scheme,

memory://

Documentation

Index

Constants

View Source
const (
	CanExecute = true
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

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

func (*Memory) Close

func (m *Memory) Close() error

func (*Memory) Get

func (m *Memory) Get(key string) (string, error)

func (*Memory) Open

func (m *Memory) Open(url, subDir string) (database.Database, error)

func (*Memory) Path

func (m *Memory) Path() string

func (*Memory) Set

func (m *Memory) Set(key, val string) error

Jump to

Keyboard shortcuts

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