amqp

package
v2.6.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReaderFactory

func NewReaderFactory(config ReaderFactoryConfig) queue.ReaderFactory

NewReaderFactory returns an an AMQP-based implementation of the queue.ReaderFactory interface.

Types

type ReaderFactoryConfig

type ReaderFactoryConfig struct {
	// Address is the address of the AMQP-based messaging server.
	Address string
	// Username is the SASL username to use when connecting to the AMQP-based
	// messaging server.
	Username string
	// Password is the SASL password to use when connection to the AMQP-based
	// messaging server.
	Password string
}

ReaderFactoryConfig encapsulates details required for connecting an AMQP-based implementation of the queue.ReaderFactory interface to an underlying AMQP-based messaging service.

Jump to

Keyboard shortcuts

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