taskApi

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetByMessage

func GetByMessage(ctx iris.Context)

func GetTaskInfo

func GetTaskInfo(ctx iris.Context)

func GetTaskList

func GetTaskList(ctx iris.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