Categorygithub.com/go-playground/relay-client-go
modulepackage
0.10.0
Repository: https://github.com/go-playground/relay-client-go.git
Documentation: pkg.go.dev

# README

Package relay

GoDoc License

This package is a Go client for the Relay Job Runner found here.

Usage

See example here.

Requirements

  • Go 1.18+

How to Contribute

Make a pull request...

License

Distributed under MIT License, please see license file within the code for more details.

# Packages

No description provided by the author
No description provided by the author

# Functions

New creates a new Client instance for use.

# Structs

Client is used to interact with the Client Job Server.
Config contains all information to create a new Relay instance fo use.
ErrJobExits denotes that the Job that was attempted to be submitted/enqueued on the Job Server already exists and the Job was not accepted because of this.
ErrNotFound indicates that the queue and/or Job you specified could not be found on the Job Server.
Job defines all information needed to process a job.
JobHelper is used to process an individual Job retrieved from the Job Server.