Versions in this module Expand all Collapse all v0 v0.3.0 May 6, 2019 Changes in this version + func GetAPIGatewayContextFromContext(ctx context.Context) (events.APIGatewayProxyRequestContext, bool) + func GetRuntimeContextFromContext(ctx context.Context) (*lambdacontext.LambdaContext, bool) + func GetStageVarsFromContext(ctx context.Context) (map[string]string, bool) type RequestAccessor + func (r *RequestAccessor) EventToRequest(req events.APIGatewayProxyRequest) (*http.Request, error) + func (r *RequestAccessor) EventToRequestWithContext(ctx context.Context, req events.APIGatewayProxyRequest) (*http.Request, error) v0.2.0 Dec 20, 2018 Changes in this version + const APIGwContextHeader + const APIGwStageVarsHeader + const CustomHostVariable + const DefaultServerAddress + func GatewayTimeout() events.APIGatewayProxyResponse + func NewLoggedError(format string, a ...interface{}) error + type ProxyResponseWriter struct + func NewProxyResponseWriter() *ProxyResponseWriter + func (r *ProxyResponseWriter) GetProxyResponse() (events.APIGatewayProxyResponse, error) + func (r *ProxyResponseWriter) Header() http.Header + func (r *ProxyResponseWriter) Write(body []byte) (int, error) + func (r *ProxyResponseWriter) WriteHeader(status int) + type RequestAccessor struct + func (r *RequestAccessor) GetAPIGatewayContext(req *http.Request) (events.APIGatewayProxyRequestContext, error) + func (r *RequestAccessor) GetAPIGatewayStageVars(req *http.Request) (map[string]string, error) + func (r *RequestAccessor) ProxyEventToHTTPRequest(req events.APIGatewayProxyRequest) (*http.Request, error) + func (r *RequestAccessor) StripBasePath(basePath string) string