Documentation
¶
Index ¶
- func ChangeTrackingExpression(builder expression.Builder, userId string) expression.Builder
- func FindUserRole(app *application.Application, domainId string, userId string) (*entities.UserRole, error)
- func FlattenCognitoUserAttributes(attributes []cognitoTypes.AttributeType) map[string]string
- func GatewayErrorResponse(code int, message string) *events.APIGatewayV2HTTPResponse
- func GatewayJsonResponse(code int, body interface{}) (*events.APIGatewayV2HTTPResponse, error)
- func GatewayValidationResponse(validationError error) *events.APIGatewayV2HTTPResponse
- func NowISO3601() string
- func ValidateRequest(req interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeTrackingExpression ¶
func ChangeTrackingExpression(builder expression.Builder, userId string) expression.Builder
func FindUserRole ¶
func FindUserRole(app *application.Application, domainId string, userId string) (*entities.UserRole, error)
func FlattenCognitoUserAttributes ¶
func FlattenCognitoUserAttributes(attributes []cognitoTypes.AttributeType) map[string]string
func GatewayErrorResponse ¶
func GatewayErrorResponse(code int, message string) *events.APIGatewayV2HTTPResponse
func GatewayJsonResponse ¶
func GatewayJsonResponse(code int, body interface{}) (*events.APIGatewayV2HTTPResponse, error)
func GatewayValidationResponse ¶
func GatewayValidationResponse(validationError error) *events.APIGatewayV2HTTPResponse
func NowISO3601 ¶
func NowISO3601() string
func ValidateRequest ¶
func ValidateRequest(req interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.