Documentation ¶
Index ¶
Constants ¶
View Source
const (
Root = bootstrap.Root + ".function"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Function ¶
type Function struct {
// contains filtered or unexported fields
}
func New ¶
func New(m ...middleware.AnyErrorMiddleware[*event.Event]) *Function
type Handler ¶
type Handler func(context.Context, cloudevents.Event) (*cloudevents.Event, error)
func Wrapper ¶
func Wrapper(wrp *middleware.AnyErrorWrapper[*event.Event], fn Handler) Handler
Click to show internal directories.
Click to hide internal directories.