lifadev / archive_aws-lambda-go-shim

Author your AWS Lambda functions in Go, effectively.
https://github.com/eawsy/aws-lambda-go-shim
Apache License 2.0
789 stars 66 forks source link

Hosting dynamic golang web application in lambda #31

Closed dtenenba closed 7 years ago

dtenenba commented 7 years ago

So how would you host a dynamic web application written in golang, in AWS Lambda? Could this be done with existing golang web frameworks? See this analagous project for python.

A first step would be the ability to return content types other than JSON (html, images, etc). Is that possible?

fsenart commented 7 years ago

Hi @dtenenba,

Your wish is my command :smiley:

You can use eawsy/aws-lambda-go-net and API Gateway Proxy mode with any golang web framework.