Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LocationDiscoveredExchange is the exchange that handles LocationDiscovered events LocationDiscoveredExchange = "LocationDiscovered" // LocationCreatedExchange is the exchange that handles LocationCreated events LocationCreatedExchange = "LocationCreated" // TicketDiscoveredExchange is the exchange that handles TicketDiscovered events TicketDiscoveredExchange = "TicketDiscovered" )
View Source
const ( // LocationDiscoveredQueue is the queue through which LocationDiscovered events travel LocationDiscoveredQueue = LocationDiscoveredExchange // LocationCreatedQueue is the queue through which LocationCreated events travel LocationCreatedQueue = LocationCreatedExchange // TicketDiscoveredQueue is the queue through which TicketDiscovered events travel TicketDiscoveredQueue = TicketDiscoveredExchange )
View Source
const (
// MediaPutEventKey is the routing key for when an image gets created
MediaPutEventKey = "images.created"
)
Variables ¶
This section is empty.
Functions ¶
func NewConnection ¶
NewConnection connects to RabbitMQ and initializes configuration in the broker. Please defer the closing of the returned connection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.