Documentation ¶
Index ¶
Constants ¶
View Source
const ( FUNCTION_NAME = "customer-controller" PUBLISH_TIMEOUT_SEC = 2 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func OrderAndPaymentWatcher ¶
OrderAndPaymentWatcher listens to internal order/payment events; it should scan and see if they have a customer ID that we don't know about if we don't have it, we should fetch and create the event upon getting the value from Square
func ProcessCDCEvent ¶
ProcessCDCEvent generates internal domain events from changes to firestore customers collection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.