queue

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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