Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateToken ¶ added in v1.3.0
GenerateToken is only used for testing purpose!!
func GetTenantID ¶ added in v1.3.0
func ParsePaginationQuery ¶
func ParsePaginationQuery(c *gin.Context) (dto.CommonQuery, error)
func ToPaginationResult ¶ added in v1.3.0
func ToPaginationResult(results interface{}, resultLength, cnt, skip, limit int) dto.PaginationResult
Types ¶
type TokenClaims ¶ added in v1.3.0
type TokenClaims struct { jwt.StandardClaims TenantID string }
Click to show internal directories.
Click to hide internal directories.