Categorygithub.com/apex/gateway/v2
modulepackage
2.0.0
Repository: https://github.com/apex/gateway.git
Documentation: pkg.go.dev

# Functions

ListenAndServe is a drop-in replacement for http.ListenAndServe for use within AWS Lambda.
NewGateway creates a gateway using the provided http.Handler enabling use in existing aws-lambda-go projects.
NewRequest returns a new http.Request from the given Lambda event.
NewResponse returns a new response writer to capture http output.
RequestContext returns the APIGatewayV2HTTPRequestContext value stored in ctx.

# Structs

Gateway wrap a http handler to enable use as a lambda.Handler.
ResponseWriter implements the http.ResponseWriter interface in order to support the API Gateway Lambda HTTP "protocol".