rabbitmq

package
v0.0.0-...-ebb33e4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRabbitMQ

func NewRabbitMQ(logger logger.Logger) bindings.InputOutputBinding

NewRabbitMQ returns a new rabbitmq instance.

Types

type RabbitMQ

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

RabbitMQ allows sending/receiving data to/from RabbitMQ.

func (*RabbitMQ) Close

func (r *RabbitMQ) Close() error

func (*RabbitMQ) GetComponentMetadata

func (r *RabbitMQ) GetComponentMetadata() map[string]string

func (*RabbitMQ) Init

func (r *RabbitMQ) Init(_ context.Context, 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(ctx context.Context, handler bindings.Handler) error

Jump to

Keyboard shortcuts

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