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.
Added the ability to customize the hostname for the request with the GO_API_HOST environment variable. The variable should contain both a protocol and host. For example http://my-custom-host.com
Issue #, if available: #13
Description of changes:
Added env variable check while creating http request
Added tests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Added the ability to customize the hostname for the request with the
GO_API_HOST
environment variable. The variable should contain both a protocol and host. For examplehttp://my-custom-host.com
Issue #, if available: #13
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.