File tree 1 file changed +6
-6
lines changed 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,18 @@ import (
9
9
"os"
10
10
)
11
11
12
- // Start takes a handler, and talks to and internal Lambda endpoint to pass Invoke requests to the handler. If a
13
- // handler does not match one of the supported types, the lambda package will respond to new invokes served by in
14
- // internal endpoint with an appropriate error message. Start blocks, and does not return after being called.
12
+ // Start takes a handler and talks to an internal Lambda endpoint to pass requests to the handler. If the
13
+ // handler does not match one of the supported types an appropriate error message will be returned to the caller.
14
+ // Start blocks, and does not return after being called.
15
15
//
16
16
// Rules:
17
17
//
18
18
// * handler must be a function
19
19
// * handler may take between 0 and two arguments.
20
- // * if there are two arguments, the first argument must implement "context.Context".
20
+ // * if there are two arguments, the first argument must satisfy the "context.Context" interface .
21
21
// * handler may return between 0 and two arguments.
22
- // * if there are two return values, the second argument must implement " error" .
23
- // * if there is one return value it must implement " error" .
22
+ // * if there are two return values, the second argument must be an error.
23
+ // * if there is one return value it must be an error.
24
24
//
25
25
// Valid function signatures:
26
26
//
You can’t perform that action at this time.
0 commit comments