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

Function StartHandler

lambda/entry.go:66–68  ·  view source on GitHub ↗

StartHandler takes in a Handler wrapper interface which can be implemented either by a custom function or a struct. Handler implementation requires a single "Invoke()" function: func Invoke(context.Context, []byte) ([]byte, error) Deprecated: use lambda.Start(handler) instead

(handler Handler)

Source from the content-addressed store, hash-verified

64//
65// Deprecated: use lambda.Start(handler) instead
66func StartHandler(handler Handler) {
67 StartWithOptions(handler)
68}
69
70// StartWithOptions is the same as Start after the application of any handler options specified
71func StartWithOptions(handler interface{}, options ...Option) {

Callers 1

mainFunction · 0.92

Calls 1

StartWithOptionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…