rabbitmq

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RabbitMQ

type RabbitMQ struct {
	Client *amqp.Connection
	URL    string
	Queue  string
}

func (*RabbitMQ) Cleanup

func (d *RabbitMQ) Cleanup() error

func (*RabbitMQ) ClearWork

func (d *RabbitMQ) ClearWork() error

func (*RabbitMQ) GetWork

func (d *RabbitMQ) GetWork() (io.Reader, error)

func (*RabbitMQ) HandleFailure

func (d *RabbitMQ) HandleFailure() error

func (*RabbitMQ) Init

func (d *RabbitMQ) Init() error

func (*RabbitMQ) LoadEnv

func (d *RabbitMQ) LoadEnv(prefix string) error

func (*RabbitMQ) LoadFlags

func (d *RabbitMQ) LoadFlags() error

Jump to

Keyboard shortcuts

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