boltdb

package
v0.0.0-...-4518b3f Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: MIT Imports: 7 Imported by: 0

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