servicepusher

package
v3.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublishGroupDelivered

func PublishGroupDelivered(log *logrus.Entry, ctx context.Context, stage string, data *EventGroupDeliveredData) error

func PublishGroupFinalized

func PublishGroupFinalized(log *logrus.Entry, ctx context.Context, stage string, data *EventGroupFinalizedData) error

func PublishOrderCreated

func PublishOrderCreated(log *logrus.Entry, ctx context.Context, stage string, data *EventOrderCreatedData) error

func PublishOrderDelivered

func PublishOrderDelivered(log *logrus.Entry, ctx context.Context, stage string, data *EventOrderDeliveredData) error

func PublishOrderPOSPaymentPaid

func PublishOrderPOSPaymentPaid(log *logrus.Entry, ctx context.Context, stage string, data *EventOrderPOSPaymentPaidData) error

func PublishOrderPOSPaymentStarted

func PublishOrderPOSPaymentStarted(log *logrus.Entry, ctx context.Context, stage string, data *EventOrderPOSPaymentStartedData) error

Types

type EventGroupDeliveredData

type EventGroupDeliveredData struct {
	StoreID string `json:"storeId"`
}

type EventGroupFinalizedData

type EventGroupFinalizedData struct {
	StoreID string `json:"storeId"`
}

type EventOrderCreatedData

type EventOrderCreatedData struct {
	StoreID string `json:"storeId"`
}

type EventOrderDeliveredData

type EventOrderDeliveredData struct {
	StoreID string `json:"storeId"`
}

type EventOrderPOSPaymentPaidData

type EventOrderPOSPaymentPaidData struct {
	StoreID string `json:"storeId"`
	OrderID string `json:"orderId"`
}

type EventOrderPOSPaymentStartedData

type EventOrderPOSPaymentStartedData struct {
	StoreID string `json:"storeId"`
	OrderID string `json:"orderId"`
}

Jump to

Keyboard shortcuts

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