amqp

package
v0.0.0-...-2ef827d Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(configKey string) messagebus.Client

New instantiates a new client wrapper. A call to Initialize is required before use. The configKey parameter dictates which key in the configuration file will be read during initialization. If configKey is empty, the default value of "amqp.url" will be used. The configuration can be in various formats, but the following is an example of a yaml file:

amqp:
  url: 'amqp://localhost:5672'

Types

This section is empty.

Jump to

Keyboard shortcuts

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