consumer

package
v2.0.0-...-a23b91c Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(deliveries <-chan amqp.Delivery, done chan error)

Types

type Consumer

type Consumer struct {
	// contains filtered or unexported fields
}

func NewConsumer

func NewConsumer(exchange, exchangeType,
	queueName, key, ctag string,
	handle func(<-chan amqp.Delivery, chan error),
	setupConn func() (*amqp.Connection, error)) (*Consumer, error)

func (*Consumer) Shutdown

func (c *Consumer) Shutdown() error

Jump to

Keyboard shortcuts

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