()
| 91 | } |
| 92 | |
| 93 | func ExampleWithEnableSIGTERM() { |
| 94 | lambda.StartWithOptions( |
| 95 | func(event interface{}) (interface{}, error) { |
| 96 | return event, nil |
| 97 | }, |
| 98 | lambda.WithEnableSIGTERM(func() { |
| 99 | log.Print("function container shutting down...") |
| 100 | }), |
| 101 | ) |
| 102 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…