Documentation
¶
Index ¶
- type RabbitMQDestination
- func (d *RabbitMQDestination) ComputeTarget(destination *models.Destination) string
- func (d *RabbitMQDestination) CreatePublisher(ctx context.Context, destination *models.Destination) (destregistry.Publisher, error)
- func (d *RabbitMQDestination) Validate(ctx context.Context, destination *models.Destination) error
- type RabbitMQDestinationConfig
- type RabbitMQDestinationCredentials
- type RabbitMQPublisher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitMQDestination ¶
type RabbitMQDestination struct {
*destregistry.BaseProvider
}
func New ¶
func New(loader metadata.MetadataLoader) (*RabbitMQDestination, error)
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 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 ¶
func (p *RabbitMQPublisher) Publish(ctx context.Context, event *models.Event) (*destregistry.Delivery, error)
Click to show internal directories.
Click to hide internal directories.