event

package
v0.0.0-...-d9e78da Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderCreated

type OrderCreated struct {
	Name    string
	Payload interface{}
}

func NewOrderCreated

func NewOrderCreated() *OrderCreated

func (*OrderCreated) GetDateTime

func (e *OrderCreated) GetDateTime() time.Time

func (*OrderCreated) GetName

func (e *OrderCreated) GetName() string

func (*OrderCreated) GetPayload

func (e *OrderCreated) GetPayload() interface{}

func (*OrderCreated) SetPayload

func (e *OrderCreated) SetPayload(payload interface{})

type OrdersListed

type OrdersListed struct {
	Name    string
	Payload interface{}
}

func NewOrdersListed

func NewOrdersListed() *OrdersListed

func (*OrdersListed) GetDateTime

func (e *OrdersListed) GetDateTime() time.Time

func (*OrdersListed) GetName

func (e *OrdersListed) GetName() string

func (*OrdersListed) GetPayload

func (e *OrdersListed) GetPayload() interface{}

func (*OrdersListed) SetPayload

func (e *OrdersListed) SetPayload(payload interface{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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