mq

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {

	// Message queue AMQP endpoint
	Endpoint string
	// Connection to a STOMP server
	Connection *stomp.Conn
	// Message queue service
	MessageQueue *messageQueueService
	// contains filtered or unexported fields
}

Client is the top-level interface for the RMQ

func NewClient

func NewClient(cfg *Config) (*Client, error)

NewClient initializes the RMQ Client

type Config

type Config struct {
	// Message queue username
	Username string
	// Message queue password
	Password string
	// Message queue topic
	ClientID string
	// Rize infrastructure target environment. Defaults to `sandbox“
	Environment string
	// Enable debug logging
	Debug bool
}

Config stores RMQ configuration values

Jump to

Keyboard shortcuts

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