Discover Packages
github.com/jassue/gin-wire
app
domain
package
Version:
v0.0.0-...-0025a43
Opens a new window with list of versions in this module.
Published: Oct 10, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type CustomClaims struct {
Key string `json:"key,omitempty"`
jwt.RegisteredClaims
}
CustomClaims 自定义 Claims
type JwtUser interface {
GetUid() string
}
type Media struct {
ID uint64 `json:"id"`
DiskType string `json:"-"`
SrcType int8 `json:"-"`
Src string `json:"src"`
Url string `json:"url"`
}
type TokenOutPut struct {
AccessToken string `json:"access_token"`
ExpiresIn int `json:"expires_in"`
}
type User struct {
ID uint64 `json:"id"`
Name string `json:"name"`
Mobile string `json:"mobile"`
Password string `json:"-"`
CreatedAt time .Time `json:"created_at"`
UpdatedAt time .Time `json:"updated_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.