helpers

package
v0.0.0-...-12bf87c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL