MCPcopy
hub / github.com/aws/aws-lambda-go / Start

Function Start

lambda/entry.go:47–49  ·  view source on GitHub ↗

Start takes a handler and talks to an internal Lambda endpoint to pass requests to the handler. If the handler does not match one of the supported types an appropriate error message will be returned to the caller. Start blocks, and does not return after being called. Rules: - handler must be a fun

(handler interface{})

Source from the content-addressed store, hash-verified

45//
46// Note: If "TOut" is both JSON serializable and implements io.Reader, JSON serialization takes precedence.
47func Start(handler interface{}) {
48 StartWithOptions(handler)
49}
50
51// StartWithContext is the same as Start except sets the base context for the function.
52//

Callers 15

ExampleFunction · 0.92
ExampleFunction · 0.92
Example_ioReaderFunction · 0.92
mainFunction · 0.92
mainFunction · 0.92
ExampleNewLoggerFunction · 0.92
ExampleNewLogHandlerFunction · 0.92
ExampleWithFunctionARNFunction · 0.92
ExampleFromContextFunction · 0.92
mainFunction · 0.92
mainFunction · 0.92

Calls 1

StartWithOptionsFunction · 0.85

Tested by 15

ExampleFunction · 0.74
ExampleFunction · 0.74
Example_ioReaderFunction · 0.74
ExampleNewLoggerFunction · 0.74
ExampleNewLogHandlerFunction · 0.74
ExampleWithFunctionARNFunction · 0.74
ExampleFromContextFunction · 0.74
ExampleS3EventFunction · 0.74
ExampleSimpleEmailEventFunction · 0.74
ExampleKinesisEventFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…