handlers

package
v0.0.0-...-3414fa2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearHandler

type ClearHandler struct {
	// contains filtered or unexported fields
}

func NewClearHandler

func NewClearHandler(
	cartItemsModel model.CartItemsModel,
	cartStatsModel model.CartStatisticsModel,
) *ClearHandler

func (*ClearHandler) Handle

func (h *ClearHandler) Handle(ctx context.Context, msg amqp.Delivery) error

type InventoryHandler

type InventoryHandler struct {
	// contains filtered or unexported fields
}

func NewInventoryHandler

func NewInventoryHandler(
	cartItemsModel model.CartItemsModel,
	cartStatsModel model.CartStatisticsModel,
) *InventoryHandler

func (*InventoryHandler) Handle

func (h *InventoryHandler) Handle(ctx context.Context, msg amqp.Delivery) error

type OrderHandler

type OrderHandler struct {
	// contains filtered or unexported fields
}

func NewOrderHandler

func NewOrderHandler(
	cartItemsModel model.CartItemsModel,
	cartStatsModel model.CartStatisticsModel,
) *OrderHandler

func (*OrderHandler) Handle

func (h *OrderHandler) Handle(ctx context.Context, msg amqp.Delivery) error

type PaymentSuccessHandler

type PaymentSuccessHandler struct {
	// contains filtered or unexported fields
}

func NewPaymentSuccessHandler

func NewPaymentSuccessHandler(
	cartItemsModel model.CartItemsModel,
	cartStatsModel model.CartStatisticsModel,
) *PaymentSuccessHandler

func (*PaymentSuccessHandler) Handle

type SelectionHandler

type SelectionHandler struct {
	// contains filtered or unexported fields
}

func NewSelectionHandler

func NewSelectionHandler(
	cartItemsModel model.CartItemsModel,
	cartStatsModel model.CartStatisticsModel,
) *SelectionHandler

func (*SelectionHandler) Handle

func (h *SelectionHandler) Handle(ctx context.Context, msg amqp.Delivery) error

func (*SelectionHandler) HandleAllSelection

func (h *SelectionHandler) HandleAllSelection(ctx context.Context, msg amqp.Delivery) error

type StatusHandler

type StatusHandler struct {
	// contains filtered or unexported fields
}

func NewStatusHandler

func NewStatusHandler(
	cartItemsModel model.CartItemsModel,
	cartStatsModel model.CartStatisticsModel,
) *StatusHandler

func (*StatusHandler) Handle

func (h *StatusHandler) Handle(ctx context.Context, msg amqp.Delivery) error

Jump to

Keyboard shortcuts

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