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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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