awslabs / aws-lambda-go-api-proxy

lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway.
Apache License 2.0
1.03k stars 198 forks source link

Add support for ApiGateway V2 version for the gorilla/mux adapter #105

Closed jgert closed 2 years ago

jgert commented 2 years ago

Issue #, if available:

Description of changes: Gorilla/mux adapter only supports API Gateway V1 Payloads. This PR adds an adapter v2 alongside the v1 version without breaking anything.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

aubelsb2 commented 2 years ago

I also made an attempt at this on https://github.com/awslabs/aws-lambda-go-api-proxy/pull/109