Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
func HandleError(c *gin.Context, err customerrors.BaseErrorInterface)
HandleError handles the given error and sends a JSON response with the error details.
func ParsePaginationParams ¶
func ParsePaginationParams(c *gin.Context) (*types.Pagination, error)
func ValidateToken ¶
func ValidateToken(tokenString string) (*types.UserClaims, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.