common

package
v0.0.0-...-0c44e78 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HandlerHeader = "handler"

	// PurchaseTopic is the subscribed topic for new purchase
	PurchaseTopic       = "purchase"
	PurchaseGroupID     = "purchase-group"
	PurchaseResultTopic = "purchase-result"

	// UpdateProductInventoryTopic is the topic to which we publish update product inventory
	UpdateProductInventoryTopic   = "update-product-inventory"
	UpdateProductInventoryGroupID = "update-product-inventory-group"
	UpdateProductInventoryHandler = "update-product-inventory-handler"

	RollbackProductInventoryTopic   = "rollback-product-inventory"
	RollbackProductInventoryGroupID = "rollback-product-inventory-group"
	RollbackProductInventoryHandler = "rollback-product-inventory-handler"

	// CreateOrderTopic is the topic to which we publish create order
	CreateOrderTopic   = "create-order"
	CreateOrderGroupID = "create-order-group"
	CreateOrderHandler = "create-order-handler"

	RollbackOrderTopic   = "rollback-order"
	RollbackOrderGroupID = "rollback-order-group"
	RollbackOrderHandler = "rollback-order-handler"

	// CreatePaymentTopic is the topic to which we publish create order
	CreatePaymentTopic   = "create-payment"
	CreatePaymentGroupID = "create-payment-group"
	CreatePaymentHandler = "create-payment-handler"

	RollbackPaymentTopic   = "rollback-payment"
	RollbackPaymentGroupID = "rollback-payment-group"
	RollbackPaymentHandler = "rollback-payment-handler"

	// ReplyTopic is saga step reply topic
	ReplyTopic   = "reply"
	ReplyGroupID = "reply-group"
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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