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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileDB

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

func OpenFileDB

func OpenFileDB(path string) (*FileDB, error)

func (*FileDB) Close

func (f *FileDB) Close() error

func (*FileDB) Get

func (f *FileDB) Get(id int) (interface{}, error)

func (*FileDB) GetAll

func (f *FileDB) GetAll() ([]interface{}, error)

Jump to

Keyboard shortcuts

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