From a2302d26b7e32e522534415d464e45ae61c59bd4 Mon Sep 17 00:00:00 2001 From: Bryan Moffatt Date: Wed, 12 Apr 2023 11:52:47 -0700 Subject: [PATCH] Add a note about lambda.norpc to the godoc of LambdaFunctionURLStreamingResponse --- events/lambda_function_urls.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/events/lambda_function_urls.go b/events/lambda_function_urls.go index bef9869d..52a48e83 100644 --- a/events/lambda_function_urls.go +++ b/events/lambda_function_urls.go @@ -82,6 +82,8 @@ type LambdaFunctionURLResponse struct { // Body: strings.NewReader("Hello World!"), // }, nil // }) +// +// Note: This response type requires compiling with `-tags lambda.norpc`, or choosing the `provided` or `provided.al2` runtime. type LambdaFunctionURLStreamingResponse struct { prelude *bytes.Buffer