modulepackage
1.0.2
Repository: https://github.com/jjeffery/apigatewayproxy.git
Documentation: pkg.go.dev
# README
apigatewayproxy

Package apigatwayproxy
provides a way to process AWS API Gateway Proxy requests using a standard http.Handler
.
This makes it simple to build a program that operates as a HTTP server when running outside an AWS Lambda container, and runs as an AWS Lambda when running inside an AWS Lambda container.
Read the package documentation for more information.
Licence
MIT
# Functions
IsLambda returns true if the current process is operating in an AWS Lambda container.
Request returns a pointer to the API Gateway proxy request, or nil if the current context is not associated with an API Gateway proxy lambda.
Start starts handling AWS Lambda API Gateway proxy requests by passing each request to the HTTP hander function.
# Variables
RequestReceived is called when a request is received from Lambda.
SendingResponse is called just prior to returning the response to Lambda.
ShouldEncodeBody is called to determine if the body should be base64-encoded.