package
0.3.750
Repository: https://github.com/fnproject/fn.git
Documentation: pkg.go.dev

# Functions

NewDatastore returns a Datastore that wraps the provided Datastore, calling any relevant listeners around any of the Datastore methods.

# Variables

MiddlewareControllerKey is a context key.

# Interfaces

APIHandler may be used to add an http endpoint on the versioned route of the Fn API.
AppListener is an interface used to inject custom code at key points in the app lifecycle.
CallListener enables callbacks around Call events.
Extension is the interface that all extensions must implement in order to configure themselves against an ExtServer.
ExtServer limits what the extension should do and prevents dependency loop, it can be used to alter / modify / add the behavior of fn server.
FnListener enables callbacks around Fn events.
Middleware just takes a http.Handler and returns one.
TriggerListener enables callbacks around Trigger events.

# Type aliases

APIHandlerFunc is a convenience to make an APIHandler.
MiddlewareFunc is a here to allow a plain function to be a middleware.