job

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2019 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes(db *mgo.Database) *chi.Mux

Routes Route handlers for jobs

Types

type JobRequest

type JobRequest jobqueues.Job // nolint

JobRequest localises jobqueues.Job in this module

func (*JobRequest) Bind

func (j *JobRequest) Bind(req *http.Request) error

Bind Binder of decoded request payload

type JobRouter

type JobRouter struct {
	Db *mgo.Database
}

JobRouter holds config state, e.g. the handle for the database

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL