taskApi

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetByMessage

func GetByMessage(ctx server.Context)

func GetTaskInfo

func GetTaskInfo(ctx server.Context)

func GetTaskList

func GetTaskList(ctx server.Context)

func TaskMonitorWs

func TaskMonitorWs() context.Handler

Types

type RespWrapper

type RespWrapper struct {
	app.Response
	TaskInfoResp
}

type TaskInfoResp

type TaskInfoResp struct {
	Id                int    `json:"id,omitempty"`
	MessageId         int    `json:"messageId,omitempty"`         // message
	MessageInstanceId int    `json:"messageInstanceId,omitempty"` // sms id/mail id
	Status            int    `json:"status,omitempty,omitempty"`
	CreateTime        string `json:"createTime,omitempty,omitempty"`
	UpdateTime        string `json:"updateTime,omitempty,omitempty"`
}

Jump to

Keyboard shortcuts

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