rabbitmq

package
v0.0.0-...-5647624 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 2 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 {
	Name string
	// contains filtered or unexported fields
}

func New

func New(s string) *RabbitMQ

func (*RabbitMQ) Bind

func (q *RabbitMQ) Bind(exchange string)

func (*RabbitMQ) Close

func (q *RabbitMQ) Close()

func (*RabbitMQ) Consume

func (q *RabbitMQ) Consume() <-chan amqp.Delivery

func (*RabbitMQ) Publish

func (q *RabbitMQ) Publish(exchange string, body interface{})

func (*RabbitMQ) Send

func (q *RabbitMQ) Send(queue string, body interface{})

Jump to

Keyboard shortcuts

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