destrabbitmq

package
v0.1.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RabbitMQDestination

type RabbitMQDestination struct {
	*destregistry.BaseProvider
}

func (*RabbitMQDestination) ComputeTarget

func (d *RabbitMQDestination) ComputeTarget(destination *models.Destination) string

func (*RabbitMQDestination) CreatePublisher

func (d *RabbitMQDestination) CreatePublisher(ctx context.Context, destination *models.Destination) (destregistry.Publisher, error)

func (*RabbitMQDestination) Validate

func (d *RabbitMQDestination) Validate(ctx context.Context, destination *models.Destination) error

type RabbitMQDestinationConfig

type RabbitMQDestinationConfig struct {
	ServerURL  string // TODO: consider renaming
	Exchange   string
	RoutingKey string
}

type RabbitMQDestinationCredentials

type RabbitMQDestinationCredentials struct {
	Username string
	Password string
}

type RabbitMQPublisher

type RabbitMQPublisher struct {
	*destregistry.BasePublisher
	// contains filtered or unexported fields
}

func (*RabbitMQPublisher) Close

func (p *RabbitMQPublisher) Close() error

func (*RabbitMQPublisher) ForceConnectionClose

func (p *RabbitMQPublisher) ForceConnectionClose()

func (*RabbitMQPublisher) GetConnection

func (p *RabbitMQPublisher) GetConnection() *amqp091.Connection

func (*RabbitMQPublisher) Publish

Jump to

Keyboard shortcuts

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