memorydb

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func New

func New() *Database

func (*Database) Close

func (db *Database) Close() error

func (*Database) Delete

func (db *Database) Delete(key string) error

func (*Database) Get

func (db *Database) Get(key string) ([]byte, error)

func (*Database) Has

func (db *Database) Has(key string) (bool, error)

func (*Database) Put

func (db *Database) Put(key string, value []byte) error

Jump to

Keyboard shortcuts

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