Documentation ¶
Index ¶
- func NewRabbitMQ(logger logger.Logger) bindings.InputOutputBinding
- type RabbitMQ
- func (r *RabbitMQ) Init(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) 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.