Documentation
¶
Index ¶
- type ChangePassword
- func (event *ChangePassword) GetPrototypes() map[string]interface{}
- func (event *ChangePassword) Identity() string
- func (event *ChangePassword) Marshal() ([]byte, error)
- func (event *ChangePassword) SetIdentity(identity string)
- func (event *ChangePassword) SetPrototypes(prototypes map[string]interface{})
- func (event *ChangePassword) Topic() string
- func (event *ChangePassword) Unmarshal(data []byte) error
- type ShopGoods
- func (shop *ShopGoods) GetPrototypes() map[string]interface{}
- func (shop *ShopGoods) Identity() string
- func (shop *ShopGoods) Marshal() ([]byte, error)
- func (shop *ShopGoods) SetIdentity(identity string)
- func (shop *ShopGoods) SetPrototypes(prototypes map[string]interface{})
- func (shop *ShopGoods) Topic() string
- func (shop *ShopGoods) Unmarshal(data []byte) error
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) SetIdentity ¶
func (event *ChangePassword) SetIdentity(identity string)
SetIdentity .
func (*ChangePassword) SetPrototypes ¶
func (event *ChangePassword) SetPrototypes(prototypes map[string]interface{})
SetPrototypes .
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 ¶
GetPrototypes .
func (*ShopGoods) SetPrototypes ¶
SetPrototypes .
Click to show internal directories.
Click to hide internal directories.