Documentation
¶
Index ¶
Constants ¶
View Source
const (
// TypeExampleCreate 定义任务名称,异步创建一个样例数据
TypeExampleCreate = "ex:example:create:create-an-example"
)
A list of task types. 任务名称的列表
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PayloadExampleCreate ¶
type PayloadExampleCreate struct {
frame.PayloadBase // 继承基础负载结构体,自动具备获取json编解码器的方法
/**
负载的数据
*/
Age int8
}
PayloadExampleCreate 样例创建负载的数据
Click to show internal directories.
Click to hide internal directories.