boltdb

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: MIT Imports: 8 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltJobDB

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

func GetBoltDB

func GetBoltDB(path string) *BoltJobDB

func (*BoltJobDB) Close

func (db *BoltJobDB) Close() error

func (*BoltJobDB) Delete

func (db *BoltJobDB) Delete(id string) error

func (*BoltJobDB) Get

func (db *BoltJobDB) Get(id string) (*job.Job, error)

func (*BoltJobDB) GetAll

func (db *BoltJobDB) GetAll() ([]*job.Job, error)

func (*BoltJobDB) Save

func (db *BoltJobDB) Save(j *job.Job) error

Jump to

Keyboard shortcuts

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