Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
Wraps `lambda.Start`, but instead of taking `events.APIGatewayV2HTTPRequest` the function takes `http.Request`.
func WrapFunction ¶
func WrapFunction(f func(ctx context.Context, w http.ResponseWriter, r *http.Request)) func(ctx context.Context, request events.APIGatewayV2HTTPRequest) (events.APIGatewayV2HTTPResponse, error)
Wrap a lambda handler function. It will make the function input `http.ResponseWriter` and `http.Request` instead of `events.APIGatewayV2HTTPRequest`. You might be better off using lambdahttp.Start instead, which uses this function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.