Documentation ¶
Index ¶
- func Authenticator(c *gin.Context, LoginType int) (interface{}, error)
- func AuthenticatorOAuth(c *gin.Context) (interface{}, error)
- func Cors() gin.HandlerFunc
- func GetLang() string
- func InitLang()
- func JwtAuth(LoginType int) *jwt.GinJWTMiddleware
- func JwtPrepare(c *gin.Context)
- func LoginResponse(c *gin.Context, code int, token string, expire time.Time)
- func PermCheck(c *gin.Context)
- func SetLangVer() gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticatorOAuth ¶
func Cors ¶
func Cors() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.