conn

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(args ConnArguments) (*amqp.Conn, *amqp.Session, error)

Types

type ConnArguments

type ConnArguments struct {
	Server   string
	User     string
	Password string
}

type ReceiveArguments

type ReceiveArguments struct {
	Acknowledge               bool
	Durable                   bool
	Multicast                 bool
	Number                    int
	Queue                     string
	Timeout                   float32
	Wait                      bool
	WithHeaderAndProperties   bool
	WithApplicationProperties bool
}

type SendArguments

type SendArguments struct {
	Address       string
	ContentType   string
	CorrelationID string
	Durable       bool
	Message       []byte
	MessageID     string
	Multicast     bool
	Priority      uint8
	Properties    map[string]any
	ReplyTo       string
	Subject       string
	To            string
}

Jump to

Keyboard shortcuts

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