task

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func Start

func Start()

Types

type ConfirmTask

type ConfirmTask struct {
	Id string
	Ok bool
}

type CronJob

type CronJob struct {
	Group  string
	Name   string
	Spec   string
	Args   string
	Active bool
	// contains filtered or unexported fields
}

func (*CronJob) Run

func (job *CronJob) Run()

type FetchedTask

type FetchedTask struct {
	Id   string
	Time int64
	Task Task
}

type Task

type Task struct {
	Group string
	Name  string
	Args  s.Map
}

func (*Task) FailedKey

func (task *Task) FailedKey() string

func (*Task) PendingKey

func (task *Task) PendingKey() string

Jump to

Keyboard shortcuts

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