Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserInfo ¶
type UserInfo struct { ID uint `json:"id"` // ID Username string `json:"username"` // 用户名 Nickname string `json:"nickname"` // 昵称 Avatar string `json:"avatar"` // 头像 }
UserInfo 用户信息
func GetUserInfo ¶ added in v0.0.4
GetUserInfo 获取用户信息
func TokenVerify ¶ added in v0.0.4
TokenVerify token验证
Click to show internal directories.
Click to hide internal directories.