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: 2 Imported by: 0

Documentation

Index

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

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