amqp

package
v2.4.0-rc.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWriterFactory

func NewWriterFactory(config WriterFactoryConfig) queue.WriterFactory

NewWriterFactory returns an an AMQP-based implementation of the queue.WriterFactory interface.

Types

type WriterFactoryConfig

type WriterFactoryConfig 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
}

WriterFactoryConfig encapsulates details required for connecting an AMQP-based implementation of the queue.WriterFactory 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