bbolt

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: GPL-3.0 Imports: 5 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 Open

func Open(url, symbol string) (db *DB, err error)

func (*DB) Close

func (d *DB) Close() error

func (*DB) GetLastReceipts

func (d *DB) GetLastReceipts(limit int) ([]*db.Receipt, error)

func (*DB) InsertReceipt

func (d *DB) InsertReceipt(receipt *db.Receipt) (err error)

Jump to

Keyboard shortcuts

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