Versions in this module Expand all Collapse all v2 v2.0.0 Oct 31, 2024 Changes in this version + func AWSRequestToHTTPRequest(ctx context.Context, event Request) (*http.Request, error) + type HandlerFunc func(ctx context.Context, event Request) (Response, error) + func Handler(handler http.Handler, logger *slog.Logger) HandlerFunc + type ProxyResponseWriter struct + func NewProxyResponseWriter() *ProxyResponseWriter + func (r *ProxyResponseWriter) CloseNotify() <-chan bool + func (r *ProxyResponseWriter) GetLambdaResponse() (Response, error) + func (r *ProxyResponseWriter) Header() http.Header + func (r *ProxyResponseWriter) Write(body []byte) (int, error) + func (r *ProxyResponseWriter) WriteHeader(status int) + type Request struct + Body string + Headers map[string]string + IsBase64Encoded bool + QueryStringParameters map[string]string + RequestContext RequestContext + type RequestContext struct + type Response struct + Body string + Cookies []string + Headers map[string]string + IsBase64Encoded bool + MultiValueHeaders map[string][]string + StatusCode int Other modules containing this package github.com/navigacontentlab/panurge