The Go programming language has always had rich support for building REST APIs. This includes an excellent standard library (net/http) along with many popular packages such as gorilla mux, Gin, negroni, echo, fiber etc.
Thanks to the AWS Lambda Go runtime, you can use Go to build AWS Lambda functions. This blog post will demonstrate how to use the AWS Lambda Go API Proxy to run existing Go frameworks based APIs in a serverless way with AWS Lambda and Amazon API Gateway.
Here is a gist on how it works at a high level:
- The API Gateway request is accepted by the Lambda function handler.
- The function handler proxies the request to the adapter implementation corresponding to the framework.
- Finally, the API Gateway proxy response is returned to the client.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.