Skip to content

Commit 81d63bd

Browse files
authored
Add a note about lambda.norpc to the godoc of LambdaFunctionURLStreamingResponse (#501)
1 parent a660c21 commit 81d63bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

events/lambda_function_urls.go

+2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ type LambdaFunctionURLResponse struct {
8282
// Body: strings.NewReader("<html><body>Hello World!</body></html>"),
8383
// }, nil
8484
// })
85+
//
86+
// Note: This response type requires compiling with `-tags lambda.norpc`, or choosing the `provided` or `provided.al2` runtime.
8587
type LambdaFunctionURLStreamingResponse struct {
8688
prelude *bytes.Buffer
8789

0 commit comments

Comments
 (0)