MessageBroker

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionDataRMQ

type ConnectionDataRMQ struct {
	Host     string
	Port     string
	User     string
	Password string
}

func NewConnectionDataRMQ

func NewConnectionDataRMQ(host, port, user, password string) *ConnectionDataRMQ

func (*ConnectionDataRMQ) ConnectionString

func (c *ConnectionDataRMQ) ConnectionString() string

type IConnectionData

type IConnectionData interface {
	ConnectionString() string
}

type RabbitMQBroker

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

func NewRabbitMQBroker

func NewRabbitMQBroker(connectionData IConnectionData) (*RabbitMQBroker, error)

func (*RabbitMQBroker) Close

func (rbmb *RabbitMQBroker) Close()

Jump to

Keyboard shortcuts

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