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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Golang Gin Context.ClientIP isn't populated

tschirmer opened this issue · comments

Golang Gin Context.ClientIP() isn't populated, the context.Request.Headers["X-Forwarded-For"] is, but the conditions aren't correct to pass that information that gin.context.ClientIP() works.