um

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTitle = ""
)

Variables

This section is empty.

Functions

func Route

func Route(root iris.Party)

Types

type Req

type Req struct {
	BundleId string `json:"bundleId,omitempty"` // bundle id
	Template string `json:"template"`           // 模板
	//CloudTemplate bool        `json:"cloudTemplate,omitempty"` // 云端模板
	TemplateParam interface{} `json:"params"`            // 参数
	Title         string      `json:"subject,omitempty"` // 标题
	Receiver      string      `json:"receiver"`          // 接收者,多个时用逗号分隔
}

type Resp

type Resp struct {
	app.Response
	MessageId int `json:"messageId,omitempty"`
}

Jump to

Keyboard shortcuts

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