rabbitUtils

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoundQueueToExchange

func BoundQueueToExchange(rabbit *RabbitRep, routingKey string) error

func CreateExchange

func CreateExchange(rabbit *RabbitRep) error

func Receive

func Receive(rabbit *RabbitRep, queueName string, function fn)

func Send

func Send(rabbit *RabbitRep, data string, ct string) error

Types

type RabbitExchange

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

type RabbitQueue

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

type RabbitRep

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

func InitializeRabbit

func InitializeRabbit(uri string, exchange RabbitExchange, queues []RabbitQueue) (*RabbitRep, error)

Jump to

Keyboard shortcuts

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