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

Function start

lambda/entry.go:102–116  ·  view source on GitHub ↗
(handler *handlerOptions)

Source from the content-addressed store, hash-verified

100}
101
102func start(handler *handlerOptions) {
103 var keys []string
104 for _, start := range startFunctions {
105 config := os.Getenv(start.env)
106 if config != "" {
107 // in normal operation, the start function never returns
108 // if it does, exit!, this triggers a restart of the lambda function
109 err := start.f(config, handler)
110 logFatalf("%v", err)
111 }
112 keys = append(keys, start.env)
113 }
114 logFatalf("expected AWS Lambda environment variables %s are not defined", keys)
115
116}

Callers 2

StartHandlerFuncFunction · 0.85
StartWithOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…