bindings

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAckTimeout = errors.New("ack has timed out")

Functions

func RegisterInput

func RegisterInput(server *grpc.Server, getInstance func(context.Context) InputBinding)

RegisterInput the inputbinding implementation for the component gRPC service.

func RegisterOutput

func RegisterOutput(server *grpc.Server, getInstance func(context.Context) OutputBinding)

RegisterOutput the outputbinding implementation for the component gRPC service.

Types

type InputBinding

type InputBinding interface {
	contribBindings.InputBinding
}

InputBinding is the interface to define a binding that triggers on incoming events. It wraps the contrib interface

type OutputBinding

type OutputBinding interface {
	contribBindings.OutputBinding
}

OutputBinding is an interface to perform operations in remote systems using optional payloads. It wraps the contrib interface

Jump to

Keyboard shortcuts

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