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
Types ¶
type APIGWv2Handler ¶
type APIGWv2Handler func( context.Context, events.APIGatewayV2HTTPRequest, ) (*events.APIGatewayV2HTTPResponse, error)
APIGWv2Handler is an alias for a func that handles an API Gateway v2 request
Click to show internal directories.
Click to hide internal directories.