Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FunctionHandler ¶
type FunctionHandler func(req events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
FunctionHandler - Handler for Event
type Handler ¶
Handler - type
func NewHandler ¶
func NewHandler(handlerFunc interface{}) Handler
NewHandler creates a base lambda handler from the given handler function. The returned Handler performs JSON serialization and deserialization, and delegates to the input handler function. The handler function parameter must satisfy the rules documented by Start. If handlerFunc is not a valid handler, the returned Handler simply reports the validation error.
Click to show internal directories.
Click to hide internal directories.