rabbitmq

package
v0.0.0-...-b147cf6 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0 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 (mq *RabbitMQ) Bind(exchange string)

func (*RabbitMQ) Close

func (mq *RabbitMQ) Close()

func (*RabbitMQ) Consume

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

func (*RabbitMQ) Publish

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

func (*RabbitMQ) Send

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

Jump to

Keyboard shortcuts

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