Documentation ¶
Index ¶
- func NewRabbitMQ(logger logger.Logger) bindings.InputOutputBinding
- type RabbitMQ
- func (r *RabbitMQ) Close() error
- func (r *RabbitMQ) GetComponentMetadata() (metadataInfo metadata.MetadataMap)
- func (r *RabbitMQ) Init(_ context.Context, metadata bindings.Metadata) error
- func (r *RabbitMQ) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
- func (r *RabbitMQ) Operations() []bindings.OperationKind
- func (r *RabbitMQ) Read(ctx context.Context, handler bindings.Handler) error
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) GetComponentMetadata ¶ added in v1.11.0
func (r *RabbitMQ) GetComponentMetadata() (metadataInfo metadata.MetadataMap)
func (*RabbitMQ) Invoke ¶
func (r *RabbitMQ) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
func (*RabbitMQ) Operations ¶
func (r *RabbitMQ) Operations() []bindings.OperationKind
Click to show internal directories.
Click to hide internal directories.