package
0.1.1
Repository: https://github.com/bitmaelum/bitmaelum-suite.git
Documentation: pkg.go.dev

# Functions

New creates a new unvalidated ticket without work.
NewBoltRepository initializes a new repository.
NewFromBytes will generate a ticket from the json-encoded data.
NewRedisRepository initializes a new repository.

# Constants

BoltDBFile is the filename to store the boltdb database.
BucketName is the bucket name to store the tickets on the bolt db.
TicketHeader is the HTTP Header that contains our ticket ID when sending messages.

# Structs

Ticket is a structure that defines if a client or server is allowed to upload a message, or if additional work has to be done first.
WorkType is a structure that holds the type and work repository data.

# Interfaces

Repository is a ticket repository to fetch and store tickets.