daemon

package
v0.0.0-...-50a7404 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddJob

func AddJob(c echo.Context, jq *job.JobQueue) error

AddJob is add job

func GetJob

func GetJob(c echo.Context, jq *job.JobQueue) error

GetJob is show datail of job

func GetJobList

func GetJobList(c echo.Context, jq *job.JobQueue) error

GetJobList is show queue

func RunDaemon

func RunDaemon()

RunDaemon is start rest api server

Types

type Return

type Return struct {
	Code  int    `json:"code"`
	JobID string `json:"jobid"`
}

Jump to

Keyboard shortcuts

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