rabbitmq

package
v0.0.0-...-dfea14c Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 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 RabbitMQ

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

RabbitMQ allows sending/receiving data to/from RabbitMQ

func NewRabbitMQ

func NewRabbitMQ() *RabbitMQ

NewRabbitMQ returns a new rabbitmq instance

func (*RabbitMQ) Init

func (r *RabbitMQ) Init(metadata bindings.Metadata) error

Init does metadata parsing and connection creation

func (*RabbitMQ) Read

func (r *RabbitMQ) Read(handler func(*bindings.ReadResponse) error) error

func (*RabbitMQ) Write

func (r *RabbitMQ) Write(req *bindings.WriteRequest) error

Jump to

Keyboard shortcuts

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