event

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2020 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 int `json:"id"`

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

ChangePassword 修改密码事件

func (*ChangePassword) GetPrototypes

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

GetPrototypes .

func (*ChangePassword) Identity

func (password *ChangePassword) Identity() interface{}

Identity .

func (*ChangePassword) Marshal

func (password *ChangePassword) Marshal() []byte

Marshal .

func (*ChangePassword) SetIdentity

func (password *ChangePassword) SetIdentity(identity interface{})

SetIdentity .

func (*ChangePassword) SetPrototypes

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

SetPrototypes .

func (*ChangePassword) Topic

func (password *ChangePassword) Topic() string

Topic .

type ShopGoods

type ShopGoods struct {
	ID int `json:"id"`

	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() interface{}

Identity .

func (*ShopGoods) Marshal

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

Marshal .

func (*ShopGoods) SetIdentity

func (shop *ShopGoods) SetIdentity(identity interface{})

SetIdentity .

func (*ShopGoods) SetPrototypes

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

SetPrototypes .

func (*ShopGoods) Topic

func (shop *ShopGoods) Topic() string

Topic .

Jump to

Keyboard shortcuts

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