Documentation ¶
Index ¶
- func Created(content map[string]string) (events.APIGatewayProxyResponse, error)
- func InternalServerError(err error) (events.APIGatewayProxyResponse, error)
- func NotFound(content map[string]string) (events.APIGatewayProxyResponse, error)
- func RespondWith(content map[string]string, httpStatus int) events.APIGatewayProxyResponse
- func Success(content map[string]string) (events.APIGatewayProxyResponse, error)
- func ValidationError(err error) (events.APIGatewayProxyResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InternalServerError ¶
func InternalServerError(err error) (events.APIGatewayProxyResponse, error)
func RespondWith ¶
func RespondWith(content map[string]string, httpStatus int) events.APIGatewayProxyResponse
func ValidationError ¶
func ValidationError(err error) (events.APIGatewayProxyResponse, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.