jwt.go 204 B

12345678910111213141516
  1. package request
  2. import (
  3. "github.com/golang-jwt/jwt/v4"
  4. )
  5. type CustomClaims struct {
  6. BaseClaims
  7. BufferTime int64
  8. jwt.RegisteredClaims
  9. }
  10. type BaseClaims struct {
  11. LoginID string
  12. SessionID uint
  13. }