Documentation ¶
Index ¶
Constants ¶
View Source
const ( RABBITMQ_QUEUE_NAME = "test_queue" DB_DRIVER_NAME = "postgres" )
Variables ¶
This section is empty.
Functions ¶
func ConsumeMessage ¶
func ConsumeMessage(ctx context.Context, d rabbitmq.RabbitDelivery) error
Example of consume You can provide any logic in this callback for each received message
Requeue received message If it was requeued already - just Ack this
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.