Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmqpClient ¶
type AmqpClient struct { Subscription <-chan amqp.Delivery // contains filtered or unexported fields }
func NewAmqpClient ¶
func NewAmqpClient(uri string, enabled bool, queueName string) (*AmqpClient, error)
NewAmqpClient creates new AMQP client and declare new exchange
func (*AmqpClient) Publish ¶
func (c *AmqpClient) Publish(payload any) error
Publish publishes any payload to queue
Click to show internal directories.
Click to hide internal directories.