rabbitmq

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

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 added in v1.11.0

func (r *RabbitMQ) Close() error

func (*RabbitMQ) GetComponentMetadata added in v1.11.0

func (r *RabbitMQ) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

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