WithDisallowUnknownFields sets the DisallowUnknownFields option on the underlying json decoder
(disallowUnknownFields bool)
| 76 | |
| 77 | // WithDisallowUnknownFields sets the DisallowUnknownFields option on the underlying json decoder |
| 78 | func WithDisallowUnknownFields(disallowUnknownFields bool) Option { |
| 79 | return Option(func(h *handlerOptions) { |
| 80 | h.jsonRequestDisallowUnknownFields = disallowUnknownFields |
| 81 | }) |
| 82 | } |
| 83 | |
| 84 | // WithEnableSIGTERM enables SIGTERM behavior within the Lambda platform on container spindown. |
| 85 | // SIGKILL will occur ~500ms after SIGTERM. |
searching dependent graphs…