package
Version:
v0.0.0-...-2ebb6ce
Opens a new window with list of versions in this module.
Published: Sep 18, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package middleware for lambda requests
Package middleware for lambda requests
func WithRecovery(h alexa.Handler, lable log.Loggable) alexa.Handler
WithRecovery recovers from panics and log the error.
func WithRequestStats(h alexa.Handler, sable stats.Statable) alexa.Handler
WithRequestStats adds counter and timing stats to intent requests.
Recovery is a middleware that will recover from panics and logs the error.
func (m Recovery) Serve(b *alexa.ResponseBuilder, r *alexa.RequestEnvelope)
Serve serves the request.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.