Documentation ¶
Index ¶
- func MapErrorToAPIGatewayProxyResponse(customError common_errors.GenericApplicationError) events.APIGatewayProxyResponse
- func MapResponseToAPIGatewayProxyResponse(httpStatus int, body interface{}) events.APIGatewayProxyResponse
- func MapResponseToAPIGatewayProxyResponseWithHeaders(httpStatus int, body interface{}, headers map[string]string) events.APIGatewayProxyResponse
- func MergeResponsesIntoAttributeValueMap(tableNames []string, items []types.ItemResponse) map[string]types.AttributeValue
- type JwtHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapErrorToAPIGatewayProxyResponse ¶
func MapErrorToAPIGatewayProxyResponse(customError common_errors.GenericApplicationError) events.APIGatewayProxyResponse
func MapResponseToAPIGatewayProxyResponse ¶
func MapResponseToAPIGatewayProxyResponse(httpStatus int, body interface{}) events.APIGatewayProxyResponse
func MapResponseToAPIGatewayProxyResponseWithHeaders ¶
func MapResponseToAPIGatewayProxyResponseWithHeaders(httpStatus int, body interface{}, headers map[string]string) events.APIGatewayProxyResponse
func MergeResponsesIntoAttributeValueMap ¶
func MergeResponsesIntoAttributeValueMap(tableNames []string, items []types.ItemResponse) map[string]types.AttributeValue
Types ¶
type JwtHelper ¶ added in v1.2.1
type JwtHelper interface { GenerateJwtToken(claims jwt.Claims) (string, common_errors.GenericApplicationError) ValidateJwtToken(jwtToken string) (jwt.Claims, common_errors.GenericApplicationError) }
func NewJwtHelper ¶ added in v1.2.1
Click to show internal directories.
Click to hide internal directories.