rabbitmq

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: MIT Imports: 6 Imported by: 1

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(logger logger.Logger) *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) Invoke

func (*RabbitMQ) Operations

func (r *RabbitMQ) Operations() []bindings.OperationKind

func (*RabbitMQ) Read

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

Jump to

Keyboard shortcuts

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