Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONTime ¶
JSONTime format json time field by myself
func (JSONTime) MarshalJSON ¶
MarshalJSON on JSONTime format Time field with %Y-%m-%d %H:%M:%S
func (*JSONTime) UnmarshalJSON ¶
type Route ¶
type Route struct { // Name string Method string Pattern string MiddleWare gin.HandlersChain HandlerFunc gin.HandlerFunc }
type UniversialAuthUser ¶
type UniversialAuthUser struct { Id int64 `json:"id,omitempty"` SocialId string `json:"socialId,omitempty"` Password string `json:"-"` Name string `json:"name,omitempty"` RoleId int64 `json:"roleId,omitempty"` Email string `json:"email,omitempty"` Introduction string `json:"introduction,omitempty"` Avatar string `json:"avatar,omitempty"` CreateTime time.Time `json:"-"` AccessKey string `json:"accessKey,omitempty"` SecretKey string `json:"secretKey,omitempty"` Status int `json:"status,omitempty"` *jwt.StandardClaims }
Click to show internal directories.
Click to hide internal directories.