Documentation ¶
Index ¶
- type TaskModule
- func (module *TaskModule) DeleteTask(w http.ResponseWriter, req *http.Request, ps httprouter.Params)
- func (module *TaskModule) GetTaskList(w http.ResponseWriter, req *http.Request, ps httprouter.Params)
- func (module *TaskModule) Name() string
- func (module *TaskModule) Setup()
- func (module *TaskModule) Start() error
- func (module *TaskModule) StartTask(w http.ResponseWriter, req *http.Request, ps httprouter.Params)
- func (module *TaskModule) Stop() error
- func (module *TaskModule) StopTask(w http.ResponseWriter, req *http.Request, ps httprouter.Params)
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)
Click to show internal directories.
Click to hide internal directories.