engine/types/encipher.go

17 lines
411 B
Go
Raw Normal View History

2024-02-11 01:31:01 +08:00
package types
type CertFileBytes struct {
Private []byte
Public []byte
}
type JwtClaims struct {
2024-02-29 22:14:56 +08:00
ID uint `json:"id"`
Identity string `json:"identity"`
Extend map[string]string `json:"extend"`
2024-06-28 11:29:46 +08:00
Client string `json:"client"`
2024-02-29 22:14:56 +08:00
Owner any `json:"owner"`
Role string `json:"role"`
ExpiresAt int64 `json:"exp"`
2024-02-11 01:31:01 +08:00
}