Documentation
¶
Index ¶
- func ConsumerModule[T consumer.Message](handler consumer.Handler[T], queueOptions consumer.QueueDeclare, ...) fx.Option
- func ConsumerModuleFunc[T consumer.Message](handler func(context.Context, T) error, queueOptions consumer.QueueDeclare, ...) fx.Option
- func ConsumerModuleRaw[T consumer.Message](handler consumer.RawHandler, queueOptions consumer.QueueDeclare, ...) fx.Option
- func ConsumerModuleRawFunc[T consumer.Message](handler func(context.Context, *amqp091.Delivery) error, ...) fx.Option
- func GetPublisherName(connectionName, exchangeName string) string
- func GetPublisherParamName(connectionName, exchangeName string) string
- func PublisherModule[T any](connectionOptions connection.Config, exchangeName string, ...) fx.Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsumerModule ¶
func ConsumerModuleFunc ¶
func ConsumerModuleRaw ¶
func ConsumerModuleRaw[T consumer.Message]( handler consumer.RawHandler, queueOptions consumer.QueueDeclare, connectionOptions connection.Config, options ...consumer.Option[T], ) fx.Option
func ConsumerModuleRawFunc ¶
func GetPublisherName ¶
func GetPublisherParamName ¶
func PublisherModule ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.