event

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePassword

type ChangePassword struct {
	ID string `json:"identity"`

	UserID      int    `json:"userID"`
	NewPassword string `json:"newPassword"`
	OldPassword string `json:"oldPassword"`
	// contains filtered or unexported fields
}

ChangePassword 修改密码事件

func (*ChangePassword) GetPrototypes

func (event *ChangePassword) GetPrototypes() map[string]interface{}

GetPrototypes .

func (*ChangePassword) Identity

func (event *ChangePassword) Identity() string

Identity .

func (*ChangePassword) Marshal

func (event *ChangePassword) Marshal() ([]byte, error)

Marshal .

func (*ChangePassword) SetIdentity

func (event *ChangePassword) SetIdentity(identity string)

SetIdentity .

func (*ChangePassword) SetPrototypes

func (event *ChangePassword) SetPrototypes(prototypes map[string]interface{})

SetPrototypes .

func (*ChangePassword) Topic

func (event *ChangePassword) Topic() string

Topic .

func (*ChangePassword) Unmarshal added in v1.8.8

func (event *ChangePassword) Unmarshal(data []byte) error

Unmarshal .

type ShopGoods

type ShopGoods struct {
	ID string `json:"identity"`

	UserID    int    `json:"userID"`
	OrderNO   string `json:"orderNO"`
	GoodsID   int    `json:"goodsID"`
	GoodsNum  int    `json:"goodsNum"`
	GoodsName string `json:"goodsName"`
	// contains filtered or unexported fields
}

ShopGoods 购买事件

func (*ShopGoods) GetPrototypes

func (shop *ShopGoods) GetPrototypes() map[string]interface{}

GetPrototypes .

func (*ShopGoods) Identity

func (shop *ShopGoods) Identity() string

Identity .

func (*ShopGoods) Marshal

func (shop *ShopGoods) Marshal() ([]byte, error)

Marshal .

func (*ShopGoods) SetIdentity

func (shop *ShopGoods) SetIdentity(identity string)

SetIdentity .

func (*ShopGoods) SetPrototypes

func (shop *ShopGoods) SetPrototypes(prototypes map[string]interface{})

SetPrototypes .

func (*ShopGoods) Topic

func (shop *ShopGoods) Topic() string

Topic .

func (*ShopGoods) Unmarshal added in v1.8.8

func (shop *ShopGoods) Unmarshal(data []byte) error

Unmarshal .

Jump to

Keyboard shortcuts

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