Documentation
¶
Overview ¶
Package middleware contains middlewares for lambda.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithRecovery ¶
WithRecovery recovers from panics and log the error.
Types ¶
type Recovery ¶
type Recovery struct {
// contains filtered or unexported fields
}
Recovery is a middleware that will recover from panics and logs the error.
func (Recovery) Serve ¶
func (m Recovery) Serve(b *alexa.ResponseBuilder, r *alexa.RequestEnvelope)
Serve serves the request.
Click to show internal directories.
Click to hide internal directories.