Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Log ¶
func Log(r events.APIGatewayProxyRequest)
Log prints critical request data to Cloud Watch in a human-readable format.
func Response ¶
func Response(code int, v ...interface{}) (events.APIGatewayProxyResponse, error)
Response returns an API Gateway Proxy Response with a nil error to provide detailed status codes and response bodies. While a status code must be provided, further arguments are recognized with reflection but not required.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.