messageApi

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMessageInfo

func GetMessageInfo(ctx server.Context)

func GetMessageList

func GetMessageList(ctx server.Context)

func Send

func Send(ctx server.Context)

Send * @Summary send a message now, this will change message to a high priority

@Router /api/message/send/{id} [post]

Types

type Req

type Req struct {
}

type RespMessageInfo

type RespMessageInfo struct {
	Id           int    `json:"id,omitempty"`
	Status       int    `json:"status,omitempty"`
	CreateTime   string `json:"createTime,omitempty"`
	UpdateTime   string `json:"updateTime,omitempty"`
	Category     string `json:"category,omitempty"`
	Subject      string `json:"subject,omitempty"`
	Priority     int    `json:"priority,omitempty"`
	NextSendTime string `json:"nextSendTime,omitempty"`
}

type RespMessageInfoListWrapper

type RespMessageInfoListWrapper struct {
	app.PagerResponse
}

type RespMessageInfoWrapper

type RespMessageInfoWrapper struct {
	app.Response
	RespMessageInfo
}

Jump to

Keyboard shortcuts

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