MCPcopy Index your code
hub / github.com/aws/aws-lambda-go / Start

Function Start

lambdaurl/http_handler.go:163–165  ·  view source on GitHub ↗

Start wraps a http.Handler and calls lambda.StartHandlerFunc Only supports: - Lambda Function URLs configured with `InvokeMode: RESPONSE_STREAM` - Lambda Functions using the `provided` or `provided.al2` runtimes. - Lambda Functions using the `go1.x` runtime when compiled with `-tags lambda.norpc`

(handler http.Handler, options ...lambda.Option)

Source from the content-addressed store, hash-verified

161// - Lambda Functions using the `provided` or `provided.al2` runtimes.
162// - Lambda Functions using the `go1.x` runtime when compiled with `-tags lambda.norpc`
163func Start(handler http.Handler, options ...lambda.Option) {
164 lambda.StartHandlerFunc(Wrap(handler), options...)
165}

Callers 2

mainFunction · 0.92
mainFunction · 0.92

Calls 2

StartHandlerFuncFunction · 0.92
WrapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…