StartHandlerWithContext is the same as StartHandler except sets the base context for the function. Handler implementation requires a single "Invoke()" function: func Invoke(context.Context, []byte) ([]byte, error) Deprecated: use lambda.StartWithOptions(handler, lambda.WithContext(ctx)) instead
(ctx context.Context, handler Handler)
| 96 | // |
| 97 | // Deprecated: use lambda.StartWithOptions(handler, lambda.WithContext(ctx)) instead |
| 98 | func StartHandlerWithContext(ctx context.Context, handler Handler) { |
| 99 | StartWithOptions(handler, WithContext(ctx)) |
| 100 | } |
| 101 | |
| 102 | func start(handler *handlerOptions) { |
| 103 | var keys []string |
nothing calls this directly
no test coverage detected
searching dependent graphs…