package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Feb 16, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Job represents a job item
Manifest represents the collection of current jobs
NewManifest creates a new Manifest with a predefined maxSize
DeleteJob removes a job if it exists, otherwise throws an error
GetJob fetches a job by its ID
HasJob checks if a job with a given ID already exists
InsertJob inserts a new job and checks that there are no duplicates
Size returns the current job manifest size
type Message interface {
GetData() []byte
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.