package
0.0.0-20241113112105-d5176070b8d9
Repository: https://github.com/ortizdavid/go-nopain.git
Documentation: pkg.go.dev
# README
pubsub
Package that Simplifies the interaction with a queue Handle Publish and Subscribe to RabbitMQ
Features
- Queue and Exchange configuration (RabbitMQ)
- Publish Messages
- Subscribe Messages
- Process Messages from Queue and Exchange
# Functions
NewConsumer creates a new Consumer instance with custom server configuration.
NewConsumerDefault creates a new Consumer instance with default server configuration.
NewProducer creates a new Producer instance with custom server configuration.
NewProducerDefault creates a new Producer instance with default server configuration.
ProcessMessageFromExchange consumes messages from the specified exchange with the given routing key.
ProcessMessageFromQueue consumes messages from the specified queue.
No description provided by the author
No description provided by the author
# Constants
Constants defining various types of exchanges.
Constants defining various types of exchanges.
Constants defining various types of exchanges.
Constants defining various types of exchanges.
# Structs
Bind contains settings for configuring bindings.
Consumer represents the Consumer configuration.
Exchange represents the configuration of a exchange.
Producer represents the producer configuration.
Queue contains settings for configuring queues.
Server contains settings for connecting to the server.
# Type aliases
Type of exchanges.