Versions in this module Expand all Collapse all v0 v0.0.1 Jul 24, 2020 Changes in this version + const APIGwContextHeader + const CustomHostVariable + const DefaultServerAddress + func GatewayTimeout() events.APIGatewayResponse + func GetAPIGatewayContextFromContext(ctx context.Context) (events.APIGatewayRequestContext, bool) + func GetRuntimeContextFromContext(ctx context.Context) (*functioncontext.FunctionContext, bool) + func NewLoggedError(format string, a ...interface{}) error + type ProxyResponseWriter struct + func NewProxyResponseWriter() *ProxyResponseWriter + func (r *ProxyResponseWriter) Flush() + func (r *ProxyResponseWriter) GetProxyResponse() (events.APIGatewayResponse, 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) EventToRequest(req events.APIGatewayRequest) (*http.Request, error) + func (r *RequestAccessor) EventToRequestWithContext(ctx context.Context, req events.APIGatewayRequest) (*http.Request, error) + func (r *RequestAccessor) GetAPIGatewayContext(req *http.Request) (events.APIGatewayRequestContext, error) + func (r *RequestAccessor) ProxyEventToHTTPRequest(req events.APIGatewayRequest) (*http.Request, error) + func (r *RequestAccessor) StripBasePath(basePath string) string