mw

package
v0.0.0-...-998df39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIGWv2

func NewAPIGWv2(h APIGWv2Handler) lambda.Handler

NewAPIGWv2 wraps the given APIGWv2Handler, unmarshals incoming requests and translates the given handler's response into an APIGatewayV2HTTPResponse

func NewLogger

func NewLogger(h lambda.Handler) lambda.Handler

NewLogger wraps the given lambda.Handler an puts a logger in its context

Types

type APIGWv2Handler

APIGWv2Handler is an alias for a func that handles an API Gateway v2 request

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL