Versions in this module Expand all Collapse all v1 v1.0.1 Dec 28, 2023 Changes in this version + func ALBRequestFromContext(ctx context.Context) (events.ALBTargetGroupRequest, bool) + func APIGatewayV1RequestFromContext(ctx context.Context) (events.APIGatewayProxyRequest, bool) + func APIGatewayV2RequestFromContext(ctx context.Context) (events.APIGatewayV2HTTPRequest, bool) + func ListenAndServe(handler http.Handler, opts *Options) + func New(handler http.Handler, opts *Options) lambda.Handler + func RequestDebugDumpHandler(w http.ResponseWriter, r *http.Request) + type Options struct + BinaryContentTypes []string + DebugLog bool + RequestType RequestType + UseProxyPath bool + type RequestDebugDump struct + ALBRequest *events.ALBTargetGroupRequest + APIGatewayV1Request *events.APIGatewayProxyRequest + APIGatewayV2Request *events.APIGatewayV2HTTPRequest + Body string + Form map[string][]string + Header map[string][]string + Host string + Method string + RemoteAddr string + RequestURI string + URL struct{ ... } + func NewRequestDebugDump(r *http.Request) (*RequestDebugDump, error) + type RequestType int + const RequestTypeALB + const RequestTypeAPIGatewayV1 + const RequestTypeAPIGatewayV2 + const RequestTypeAuto