rabbitMQ

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RabbitQueue

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

func SetConnection

func SetConnection(URL string) (*RabbitQueue, error)

func (*RabbitQueue) Cleanup

func (q *RabbitQueue) Cleanup()

func (*RabbitQueue) Dequeue

func (q *RabbitQueue) Dequeue(name string) (<-chan amqp.Delivery, error)

func (*RabbitQueue) Enqueue

func (q *RabbitQueue) Enqueue(name string, data []byte) error

type RabbitQueueBuilder

type RabbitQueueBuilder struct {
}

func (*RabbitQueueBuilder) Build

func (q *RabbitQueueBuilder) Build(config *config.QueueConfig) (iface.IQueue, error)

Jump to

Keyboard shortcuts

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