Categorygithub.com/Finatext/lambdaurl-buffered
modulepackage
0.1.0
Repository: https://github.com/finatext/lambdaurl-buffered.git
Documentation: pkg.go.dev

# README

lambdaurl-buffered

lambdaurl converts an http.Handler into a Lambda request handler. It supports Lambda Function URLs configured with buffered response mode.

Lambda functions with

e := echo.New()
e.GET("/hc", HealthCheck)

// lambda from github.com/aws/aws-lambda-go/lambda
lambda.Start(lambdaurl.Wrap(e))

License

This project is a redistribution with modifications of code from: https://github.com/aws/aws-lambda-go/blob/main/lambdaurl/http_handler.go

# Functions

RequestFromContext returns the *events.LambdaFunctionURLRequest from a context.
No description provided by the author
Wrap converts an http.Handler into a Lambda request handler.

# Structs

RequestConvertionError is returned when the conversion of the Lambda request to an http.Request fails.
WriteResponseError is returned when writing the response fails.