Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion lambda/entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ import (
// handler does not match one of the supported types an appropriate error message will be returned to the caller.
// Start blocks, and does not return after being called.
//
// Rules:
// The handler may be a value that implements the Handler interface, in which case its Invoke method
// is called with the raw request payload and its return value is sent as the raw response:
//
// func (h MyHandler) Invoke(ctx context.Context, payload []byte) ([]byte, error)
//
// Otherwise, the handler must be a function that follows these rules:
//
// - handler must be a function
// - handler may take between 0 and two arguments.
Expand Down
Loading