task

package
v0.0.0-...-92398f1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: AGPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskModule

type TaskModule struct {
	api.Handler

	TimeZone                string `config:"time_zone" json:"time_zone,omitempty"`
	MaxConcurrentNumOfTasks int    `config:"max_concurrent_tasks" json:"max_concurrent_tasks,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskModule) DeleteTask

func (module *TaskModule) DeleteTask(w http.ResponseWriter, req *http.Request, ps httprouter.Params)

func (*TaskModule) GetTaskList

func (module *TaskModule) GetTaskList(w http.ResponseWriter, req *http.Request, ps httprouter.Params)

func (*TaskModule) Name

func (module *TaskModule) Name() string

func (*TaskModule) Setup

func (module *TaskModule) Setup()

func (*TaskModule) Start

func (module *TaskModule) Start() error

func (*TaskModule) StartTask

func (module *TaskModule) StartTask(w http.ResponseWriter, req *http.Request, ps httprouter.Params)

func (*TaskModule) Stop

func (module *TaskModule) Stop() error

func (*TaskModule) StopTask

func (module *TaskModule) StopTask(w http.ResponseWriter, req *http.Request, ps httprouter.Params)

Jump to

Keyboard shortcuts

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