Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authorize ¶
func Authorize() gin.HandlerFunc
Types ¶
type Authority ¶
type Authority struct { PrivateKey *rsa.PrivateKey PublicKey *rsa.PublicKey }
func NewIdentify ¶
type CustomClaims ¶
type CustomClaims struct { *jwt.StandardClaims TokenType string CustomerInfo }
type CustomerInfo ¶
Click to show internal directories.
Click to hide internal directories.