{"modulePath":"github.com/binarydud/pylon","version":"v0.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package pylon\n\n## Variables\n\n```go\nvar DefaultTextContentTypes = []string{\n\t`text/.*`,\n\t`application/json`,\n\t`application/.*\\+json`,\n\t`application/xml`,\n\t`application/.*\\+xml`,\n}\n```\noriginally from from [https://github.com/apex/go-apex/blob/415680d65fd80caf4e7da2b79594c11e96347a38/proxy/responsewriter.go](https://github.com/apex/go-apex/blob/415680d65fd80caf4e7da2b79594c11e96347a38/proxy/responsewriter.go)\n\n## Functions\n\n```go\nfunc ALBProxyEvent(handler http.Handler) func(ctx context.Context, event events.ALBTargetGroupRequest) (events.ALBTargetGroupResponse, error)\n```\nProxyEvent ...\n\n```go\nfunc GatewayProxyEvent(handler http.Handler) func(ctx context.Context, event events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)\n```\n\n```go\nfunc SetTextContentTypes(types []string) error\n```\n\n## Types\n\n```go\ntype ALBResponseWriter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (w *ALBResponseWriter) Header() http.Header\n```\n\n```go\nfunc (w *ALBResponseWriter) Write(bs []byte) (int, error)\n```\n\n```go\nfunc (w *ALBResponseWriter) WriteHeader(status int)\n```\n\n```go\ntype GatewayResponseWriter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (w *GatewayResponseWriter) Header() http.Header\n```\n\n```go\nfunc (w *GatewayResponseWriter) Write(bs []byte) (int, error)\n```\n\n```go\nfunc (w *GatewayResponseWriter) WriteHeader(status int)\n```\n\n```go\ntype PylonResponse struct {\n\tStatusCode        int                 `json:\"statusCode\"`\n\tHeaders           map[string]string   `json:\"headers\"`\n\tMultiValueHeaders map[string][]string `json:\"multiValueHeaders\"`\n\tBody              string              `json:\"body\"`\n\tIsBase64Encoded   bool                `json:\"isBase64Encoded\"`\n}\n```\n\n","path":"github.com/binarydud/pylon","name":"pylon","synopsis":"","isRedistributable":true}
