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

Function ExampleWithDisallowUnknownFields

lambda/example_test.go:84–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84func ExampleWithDisallowUnknownFields() {
85 lambda.StartWithOptions(
86 func(event interface{}) (interface{}, error) {
87 return event, nil
88 },
89 lambda.WithDisallowUnknownFields(true),
90 )
91}
92
93func ExampleWithEnableSIGTERM() {
94 lambda.StartWithOptions(

Callers

nothing calls this directly

Calls 2

StartWithOptionsFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…