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.
Click to show internal directories.
Click to hide internal directories.