boltstorage

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltStore

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

func Open

func Open(filePath string, bucketName string, opts *bolt.Options, logger *log.Logger) (*BoltStore, error)

func (*BoltStore) AddJob

func (s *BoltStore) AddJob(job *gotell.Job) error

func (*BoltStore) Close

func (s *BoltStore) Close() error

func (*BoltStore) DeleteJob

func (s *BoltStore) DeleteJob(job *gotell.Job) error

func (*BoltStore) GetJob

func (s *BoltStore) GetJob() (*gotell.Job, error)

func (*BoltStore) UpdateJob

func (s *BoltStore) UpdateJob(job *gotell.Job) error

Jump to

Keyboard shortcuts

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