Discover Packages
github.com/benthosdev/benthos/v4
internal
serverless
package
Version:
v4.27.0
Opens a new window with list of versions in this module.
Published: Apr 23, 2024
License: MIT
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package serverless contains shared components for serverless distributions of
Benthos.
View Source
const ServerlessResponseType = "sync_response"
ServerlessResponseType is an output type that redirects pipeline outputs back
to the handler.
Handler contains a live Benthos pipeline and wraps it within an invoke
handler.
NewHandler returns a Handler by creating a Benthos pipeline.
func (*Handler) Close ¶
Close shuts down the underlying pipeline. If the shut down takes longer than
the specified timeout it is aborted and an error is returned.
func (*Handler) Handle ¶
Handle is a request/response func that injects a payload into the underlying
Benthos pipeline and returns a result.
Source Files
¶
Directories
¶
Package lambda contains the execution logic for running Benthos as an AWS lambda function.
Package lambda contains the execution logic for running Benthos as an AWS lambda function.
Click to show internal directories.
Click to hide internal directories.