db

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JobBucketName   = []byte("job")
	ChainBucketName = []byte("chain")
)

Functions

func Connect

func Connect(path string) (*bolt.DB, error)

Connect initializes a connection to the given BoltDB

Types

type Job

type Job struct {
	JobAddress   []byte
	JobSignature []byte
	JobState     string
	Consumer     []byte
	Completed    bool
}

Jump to

Keyboard shortcuts

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