producer

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 ConfirmOne

func ConfirmOne(confirms <-chan amqp.Confirmation)

One would typically keep a channel of publishings, a sequence number, and a set of unacknowledged sequence numbers and loop until the publishing channel is closed.

func NewPublish

func NewPublish(exchange,
	exchangeType,
	routingKey,
	body string,
	reliable bool,
	confirmOne func(confirms <-chan amqp.Confirmation),
	setupConn func() (*amqp.Connection, error),
) error

Types

type Publish

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

Jump to

Keyboard shortcuts

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