README ¶ golang-modules/jwtlib Golang Jason Web Token Module Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func GetData(tokenString string) ([]byte, error) func GetExpireTime(tokenString string) (float64, error) func New(data interface{}, expireSec int64) (string, error) func RefreshExpireTime(tokenString string, expireSec int64) (string, error) type Claims Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetData ¶ func GetData(tokenString string) ([]byte, error) func GetExpireTime ¶ func GetExpireTime(tokenString string) (float64, error) func New ¶ func New(data interface{}, expireSec int64) (string, error) func RefreshExpireTime ¶ func RefreshExpireTime(tokenString string, expireSec int64) (string, error) Types ¶ type Claims ¶ type Claims struct { Payload interface{} `json:"payload,omitempty"` jwt.StandardClaims } Source Files ¶ View all Source files jwtlib.go Click to show internal directories. Click to hide internal directories.