Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorResponse ¶
func ErrorResponse(err error) (events.APIGatewayProxyResponse, error)
Types ¶
type APIGatewayLambdaHandler ¶
type APIGatewayLambdaHandler func(ctx context.Context, request events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
func CorsMiddleware ¶
func CorsMiddleware(handler APIGatewayLambdaHandler) APIGatewayLambdaHandler
Click to show internal directories.
Click to hide internal directories.