mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-25 14:12:16 +00:00
feat: Add RabbitMQ message queue integration with exchange and queue management support
- Add rabbitmq/amqp091-go v1.11.0 dependency to go.mod - Add MessageQueue struct with connection, channel, and url fields - Add Message struct with Type, Payload, and Timestamp fields - Add NewMessageQueue constructor with RABBITMQ_URL environment variable support and amqp://guest:guest@localhost:5672/ default - Add Close method for connection cleanup - Add DeclareQueue method with durable configuration - Add Publish method with 5
This commit is contained in:
@@ -140,6 +140,7 @@ require (
|
||||
github.com/prometheus/client_golang v1.23.2
|
||||
github.com/quic-go/qpack v0.6.0 // indirect
|
||||
github.com/quic-go/quic-go v0.59.0 // indirect
|
||||
github.com/rabbitmq/amqp091-go v1.11.0
|
||||
github.com/stripe/stripe-go/v82 v82.5.1
|
||||
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
||||
github.com/ugorji/go/codec v1.3.1 // indirect
|
||||
|
||||
Reference in New Issue
Block a user