Documentation ¶
Index ¶
- 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 ShopGoods ¶
type ShopGoods struct { ID string `json:"identity"` UserID int `json:"userID"` 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.