tasks

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PENDING: the job is created but not started
	PENDING taksStatus = iota
	RUNNING
	FAILED
	FINISH
)

Variables

This section is empty.

Functions

func GetLog

func GetLog(c *gin.Context)

func GetResult

func GetResult(c *gin.Context)

func GetStatus

func GetStatus(c *gin.Context)

func Routes

func Routes(route *gin.Engine)

func TaksStatus

func TaksStatus(i int) string

Types

type EzbTasks

type EzbTasks struct {
	UUID       string    `json:"uuid"`
	CreateDate time.Time `json:"createddate"`
	UpdateDate time.Time `json:"updatedate"`
	Status     string    `json:"status"`
	TokenID    string    `json:"tokenid"`
	PID        int       `json:"pid"`
	Parameters string    `json:"parameters"`
}

Jump to

Keyboard shortcuts

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