Skip to content

build-on-aws/golang-apis-on-aws-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Run Go REST APIs as AWS Lambda functions using the AWS Lambda Go API Proxy

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.

How does the AWS Lambda Go API Proxy work

Here is a gist on how it works at a high level:

  1. The API Gateway request is accepted by the Lambda function handler.
  2. The function handler proxies the request to the adapter implementation corresponding to the framework.
  3. Finally, the API Gateway proxy response is returned to the client.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages