db

package
v0.0.0-...-6252159 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func OpenDB

func OpenDB(dbPath string) (*DB, error)

func (*DB) IsEmpty

func (db *DB) IsEmpty() bool

func (*DB) OpenDBTable

func (db *DB) OpenDBTable(table string) (*Table, error)

type Table

type Table struct {
	TableName string
	// contains filtered or unexported fields
}

func (*Table) Load

func (db *Table) Load(key string, target interface{}) error

func (*Table) Store

func (db *Table) Store(key string, data interface{}) error

Jump to

Keyboard shortcuts

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