Categorygithub.com/pulchre/wingman
modulepackage
0.6.2
Repository: https://github.com/pulchre/wingman.git
Documentation: pkg.go.dev

# README

Wingman

A resilient background job manager for Go.

Usage

Please see INSTALL.md

Backend

Provided backends

  • Redis

To create a new backend, implement the wingman.Backend interface.

Processors

Provided processors

  • Goroutine
  • Native Process (Linux, Unix only)

To create a new processor, implement the wingman.Processor interface.

License

Code is licensed under the AGPL. A license for commercial use is available for purchase at https://wingman.fyi

# Packages

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

# Functions

No description provided by the author
InternalJobFromJSON is a helper intended for use by backends to deserialize retrieved jobs.
No description provided by the author
No description provided by the author
NewManager returns a new manager with the given backend, watching the given queues.
RegisterJobType should be called, on program initialization, with the default value for every used type so that jobs can be properly deserialized when retrieved from the backend.
No description provided by the author

# Constants

ContextJobIDKey is the key under which the processor ID is stored.
No description provided by the author
No description provided by the author

# Variables

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
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
InternalJob is used by a backend and holds the id and type name for deserialization.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
Job is the interface definition for a given job.
No description provided by the author
No description provided by the author

# Type aliases

ContextKey defines the type for our context value keys.
No description provided by the author
No description provided by the author