Documentation ¶
Overview ¶
Package emitter contains the interfaces that the Order service in the ACME Serverless Fitness Shop needs to send events to other services. In order to add a new service, the EventEmitter interface needs to be implemented.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventEmitter ¶
type EventEmitter interface { SendPaymentRequestedEvent(e acmeserverless.PaymentRequestedEvent) error SendShipmentRequestedEvent(e acmeserverless.ShipmentRequested) error }
EventEmitter is the interface that describes the methods the eventing service needs to implement to be able to work with the ACME Serverless Fitness Shop.
Directories ¶
Path | Synopsis |
---|---|
Package eventbridge uses Amazon EventBridge as a serverless event bus that makes it easy to connect applications together using data from your own applications, integrated Software-as-a-Service (SaaS) applications, and Serverless Fitness Shops.
|
Package eventbridge uses Amazon EventBridge as a serverless event bus that makes it easy to connect applications together using data from your own applications, integrated Software-as-a-Service (SaaS) applications, and Serverless Fitness Shops. |
Package mock uses the log file to log all incoming events.
|
Package mock uses the log file to log all incoming events. |
Package sqs uses Amazon Simple Queue Service (SQS) as a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless fitness shops.
|
Package sqs uses Amazon Simple Queue Service (SQS) as a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless fitness shops. |
Click to show internal directories.
Click to hide internal directories.