Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_PAGE_TEXT = "page" DEFAULT_SIZE_TEXT = "size" DEFAULT_PAGE = "1" DEFAULT_PAGE_SIZE = "10" DEFAULT_MIN_PAGESIZE = 4 DEFAULT_MAX_PAGESIZE = 50 )
View Source
const JWT_KEY = "JWT_PAYLOAD"
Variables ¶
This section is empty.
Functions ¶
func CreateJWTMiddleware ¶
func CreateJWTMiddleware() gin.HandlerFunc
func Default ¶ added in v0.0.3
func Default() gin.HandlerFunc
Default Create a new pagination middleware with default values
func GetJWTClaims ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.