server

package
v0.0.0-...-c46ed35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 20 Imported by: 0

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

func Run

func Run(ctx context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL