16 lines
367 B
Go
16 lines
367 B
Go
|
package types
|
||
|
|
||
|
type CertFileBytes struct {
|
||
|
Private []byte
|
||
|
Public []byte
|
||
|
}
|
||
|
|
||
|
type JwtClaims struct {
|
||
|
ID uint `json:"id"`
|
||
|
Identity string `json:"identity"`
|
||
|
Extend map[string]string `json:"extend"`
|
||
|
Client string `json:"client"`
|
||
|
Role string `json:"role"`
|
||
|
ExpiresAt int64 `json:"exp"`
|
||
|
}
|