Documentation
¶
Overview ¶
Package lambdaadapter serves a standard http.Handler behind a Lambda Function URL in BUFFERED invoke mode (PRD 9.2). The official lambdaurl package supports only RESPONSE_STREAM, and R3 was verified buffered, so this ~100-line adapter keeps the design and avoids a third-party proxy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler converts a Function URL event into an http.Request, runs next, and converts the recorded response back into a Function URL response.
func (*Handler) Invoke ¶
func (h *Handler) Invoke(ctx context.Context, event events.LambdaFunctionURLRequest) (events.LambdaFunctionURLResponse, error)
Invoke is the Lambda handler signature for Function URL events.
Click to show internal directories.
Click to hide internal directories.