Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitPublisher ¶ added in v0.0.4
type RabbitPublisher[T any] interface { PublishForResult(data T, exchange string, routingKey string) error PublishTo(exchange string, routingKey string, data T) error Publish(data T) error }
func NewRabbitPublisher ¶ added in v0.0.4
func NewRabbitPublisher[T any]( log log.LogRusEntry, rabbitURL string, exchangeName string, channelType string, routingKey string, ) (RabbitPublisher[T], error)
Click to show internal directories.
Click to hide internal directories.