amqp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("amqp", fx.Provide(NewAMQPConnection))

Functions

func NewAMQPConnection

func NewAMQPConnection(config Configuration) (*amqp.Connection, error)

Types

type Configuration

type Configuration struct {
	Address      string
	ConsumerName string
	TLS          bool
	Username     string
	Password     string
}

func (Configuration) Dsn

func (config Configuration) Dsn() string

Jump to

Keyboard shortcuts

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