db

package
v0.0.0-...-f040671 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryDB

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

func OpenMemoryDB

func OpenMemoryDB() (*MemoryDB, error)

func (*MemoryDB) Close

func (m *MemoryDB) Close() error

func (*MemoryDB) Get

func (m *MemoryDB) Get(id int) (interface{}, error)

func (*MemoryDB) GetAll

func (m *MemoryDB) GetAll() ([]interface{}, error)

Jump to

Keyboard shortcuts

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