Documentation ¶
Index ¶
Constants ¶
View Source
const ( Jwt_Alg = "HS256" Jwt_Type = "JWT" Jwt_Admin = "JWT_API_ADMIN_KOVEY" Jwt_Alg_Sha256 = "sha256" )
Variables ¶
View Source
var Err_Token_Expired = errors.New("token expired")
View Source
var Err_Token_Format_Invalid = errors.New("token format error")
View Source
var Err_Token_Iat_Invalid = errors.New("token iat invalid")
View Source
var Err_Token_Sign_Invalid = errors.New("token sign error")
Functions ¶
func HmacSha256 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.