# Functions

GatewayTimeout returns a dafault Gateway Timeout (504) response.
GetAPIGatewayContextFromContext retrieve APIGatewayProxyRequestContext from context.Context.
GetAPIGatewayV2ContextFromContext retrieve APIGatewayProxyRequestContext from context.Context.
GetRuntimeContextFromContext retrieve Lambda Runtime Context from context.Context.
GetRuntimeContextFromContext retrieve Lambda Runtime Context from context.Context.
GetRuntimeContextFromContextV2 retrieve Lambda Runtime Context from context.Context.
GetStageVarsFromContext retrieve stage variables from context.
GetStageVarsFromContextV2 retrieve stage variables from context.
GetALBTargetGroupRequestFromContext retrieve ALBTargetGroupt from context.Context.
NewLoggedError generates a new error and logs it to stdout.
NewProxyResponseWriter returns a new ProxyResponseWriter object.
NewProxyResponseWriter returns a new ProxyResponseWriter object.
NewProxyResponseWriter returns a new ProxyResponseWriter object.
NewSwitchableAPIGatewayRequestV1 creates a new SwitchableAPIGatewayRequest from APIGatewayProxyRequest.
NewSwitchableAPIGatewayRequestV2 creates a new SwitchableAPIGatewayRequest from APIGatewayV2HTTPRequest.
NewSwitchableAPIGatewayResponseV1 creates a new SwitchableAPIGatewayResponse from APIGatewayProxyResponse.
NewSwitchableAPIGatewayResponseV2 creates a new SwitchableAPIGatewayResponse from APIGatewayV2HTTPResponse.

# Constants

ALBContextHeader is the custom header key used to store the ALB ELB context.
APIGwContextHeader is the custom header key used to store the API Gateway context.
APIGwStageVarsHeader is the custom header key used to store the API Gateway stage variables.
CustomHostVariable is the name of the environment variable that contains the custom hostname for the request.

# Structs

ProxyResponseWriter implements http.ResponseWriter and adds the method necessary to return an events.APIGatewayProxyResponse object.
ProxyResponseWriter implements http.ResponseWriter and adds the method necessary to return an events.ALBTargetGroupResponse object.
ProxyResponseWriterV2 implements http.ResponseWriter and adds the method necessary to return an events.APIGatewayProxyResponse object.
RequestAccessor objects give access to custom API Gateway properties in the request.
RequestAccessorALB objects give access to custom ALB Target Group properties in the request.
RequestAccessorV2 objects give access to custom API Gateway properties in the request.
SwitchableAPIGatewayResponse is a container for an APIGatewayProxyResponse or an APIGatewayV2HTTPResponse object which handles serialization and deserialization and switching between the entities based on the presence of fields in the source JSON, multiValueQueryStringParameters for APIGatewayProxyResponse and rawQueryString for APIGatewayV2HTTPResponse.