You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
290 B

3 years ago
  1. package request
  2. import (
  3. "github.com/dgrijalva/jwt-go"
  4. uuid "github.com/satori/go.uuid"
  5. )
  6. // Custom claims structure
  7. type CustomClaims struct {
  8. UUID uuid.UUID
  9. ID uint
  10. Username string
  11. NickName string
  12. AuthorityId string
  13. BufferTime int64
  14. jwt.StandardClaims
  15. }