MCPcopy
hub / github.com/aws/aws-lambda-go / Invoke

Method Invoke

lambda/handler.go:21–21  ·  view source on GitHub ↗
(ctx context.Context, payload []byte)

Source from the content-addressed store, hash-verified

19
20type Handler interface {
21 Invoke(ctx context.Context, payload []byte) ([]byte, error)
22}
23
24type handlerOptions struct {

Callers 6

TestInvalidHandlersFunction · 0.95
TestInvalidJsonInputFunction · 0.95
TestHandlerTraceFunction · 0.95
reflectHandlerFunction · 0.65
InvokeMethod · 0.65
TestInvokesFunction · 0.65

Implementers 3

Functionlambda/rpc_function.go
staticHandlerlambda/handler_test.go
handlerlambda/testdata/echo_handler.go

Calls

no outgoing calls

Tested by 4

TestInvalidHandlersFunction · 0.76
TestInvalidJsonInputFunction · 0.76
TestHandlerTraceFunction · 0.76
TestInvokesFunction · 0.52