# README
go-offline
Minimalist and opinionated offline task (job) coordination system.
Documentation
Documentation is incomplete at this time.
Example
$> go run cmd/example/main.go -from 1847571929 -to 1763588199 -offline-database-uri 'mem://offline/Id'
1658531597231591424
# Functions
NewDatabase returns a new `Database` instance configured by 'uri'.
No description provided by the author
NewJobId returns a unique identifier to be associated with a publication.
No description provided by the author
NewQueue returns a new `Queue` instance configured by 'uri'.
NewSyncMapDatabase returns a new `SyncMapDatabase` instance configured by 'uri' which is expected to take the form of:
syncmap://.
No description provided by the author
RegisterDatabase registers 'scheme' as a key pointing to 'init_func' in an internal lookup table used to create new `Database` instances by the `NewDatabase` method.
RegisterQueue registers 'scheme' as a key pointing to 'init_func' in an internal lookup table used to create new `Queue` instances by the `NewQueue` method.
No description provided by the author
Schemes returns the list of schemes that have been registered.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SyncMapDatabase implements the `Database` interface storing and retrieving jobs from an internal `sync.Map` instance.
# Type aliases
DatabaseInitializationFunc is a function defined by individual database package and used to create an instance of that database.
type ListJobsCallback is a function type for custom processing of jobs.
No description provided by the author
QueueInitializationFunc is a function defined by individual queue package and used to create an instance of that queue.
No description provided by the author