Documentation
¶
Index ¶
- func Fail(ctx *gin.Context, message string)
- func FailAuth(ctx *gin.Context, message string)
- func FailNotFound(ctx *gin.Context)
- func Success(ctx *gin.Context, data interface{})
- func SuccessAuth(ctx *gin.Context, token string, data interface{})
- func SuccessOk(ctx *gin.Context, message string)
- type DatingList
- type DatingPost
- type DatingUser
- type DatingUserAvatar
- type DatingUserJoin
- type FeedbackPost
- type GetDatingListPost
- type GetDatingPost
- type InfoPost
- type JwtInfo
- type LoginPost
- type QuitDatingPost
- type Response
- type UerTimePost
- type UserInfo
- type UserInfoPost
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailNotFound ¶
func SuccessAuth ¶
Types ¶
type DatingList ¶
type DatingList struct {
Id uint `db:"id" json:"id"`
Status int8 `db:"status" json:"status"`
AddTime int64 `db:"add_time" json:"-"`
AddTimeStr string `json:"add_time"`
UtId uint `db:"ut_id" json:"ut_id"`
CreateUserId uint `db:"create_user_id" json:"create_user_id"`
AvatarUrl []string `json:"avatar_url"`
}
type DatingPost ¶
type DatingUser ¶
type DatingUserAvatar ¶
type DatingUserJoin ¶
type FeedbackPost ¶
type FeedbackPost struct {
Desc string `json:"desc"`
}
type GetDatingListPost ¶
type GetDatingPost ¶
type GetDatingPost struct {
Id uint `json:"id"`
}
type JwtInfo ¶
type JwtInfo struct {
jwt.RegisteredClaims
}
type QuitDatingPost ¶
type UerTimePost ¶
type UserInfoPost ¶
Click to show internal directories.
Click to hide internal directories.