Discover Packages
github.com/wolfeidau/lambda-go-extras/standard
package
module
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Jan 11, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 5 modules, 5 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 standard provides a default entry point for lambda with logger and panic recovery.
Default configures a standard lambda handler with default middleware which includes the zerolog and raw logging.
GenericDefault configures a generic standard lambda handler with default middleware which includes the zerolog and raw logging.
type Option func(config *defaultConfig)
Option configures the default middleware stack.
Append middleware to the chain.
Defaults to raw and zerolog middleware.
Fields pass a map of attributes which are appended to all log messages and raw events.
LogLevel minimum accepted level for logging.
Defaults to zerolog.InfoLevel.
Output is a writer where logs in JSON format are written.
Defaults to os.Stderr.
RawEnabled is a flag to toggle this middleware on or off.
Defaults to true.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.