jobs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJob

func GetJob(c *gin.Context)

GetJob renders the Job as JSON make sure to set this handler next to JobMiddleware handler

func GetJobs

func GetJobs(c *gin.Context)

GetJobs renders the Job as JSON

func Middleware

func Middleware(c *gin.Context)

JobMiddleware is the middleware for job. Which takes _CTX_JOB_ID parameter form the request, fetches the Job and set it under key _CTX_JOB in gin.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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