Documentation
¶
Overview ¶
Code generated by goctl. DO NOT EDIT.
Index ¶
- type AgreeFriendReq
- type AgreeFriendResp
- type ApplyFriendReq
- type ApplyFriendResp
- type BlackUserReq
- type BlackUserResp
- type DeleteFriendReq
- type DeleteFriendResp
- type GetBlackListReq
- type GetBlackListResp
- type GetFriendApplyItem
- type GetFriendApplyListReq
- type GetFriendApplyListResp
- type GetFriendListReq
- type GetFriendListResp
- type GetSelfInfoReq
- type GetSelfInfoResp
- type GetUserByIdReq
- type GetUserByIdResp
- type GetUserByUsernameReq
- type GetUserByUsernameResp
- type IsUsernameExistReq
- type IsUsernameExistResp
- type LoginReq
- type LoginResp
- type ModifySelfInfoReq
- type ModifySelfInfoResp
- type RealtionUser
- type RefuseFriendReq
- type RefuseFriendResp
- type RegisterReq
- type RegisterResp
- type UnBlackUserReq
- type UnBlackUserResp
- type UserModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgreeFriendReq ¶
type AgreeFriendReq struct {
ApplyId string `json:"applyId"`
}
type AgreeFriendResp ¶
type AgreeFriendResp struct { }
type ApplyFriendReq ¶
type ApplyFriendResp ¶
type ApplyFriendResp struct { }
type BlackUserReq ¶
type BlackUserReq struct {
UserId string `json:"userId"`
}
type BlackUserResp ¶
type BlackUserResp struct { }
type DeleteFriendReq ¶
type DeleteFriendReq struct {
FriendId string `json:"friendId"`
}
type DeleteFriendResp ¶
type DeleteFriendResp struct { }
type GetBlackListReq ¶
type GetBlackListResp ¶
type GetBlackListResp struct {
BlackList []RealtionUser `json:"blackList"`
}
type GetFriendApplyItem ¶
type GetFriendApplyListReq ¶
type GetFriendApplyListResp ¶
type GetFriendApplyListResp struct {
ApplyList []GetFriendApplyItem `json:"applyList"`
}
type GetFriendListReq ¶
type GetFriendListReq struct { }
type GetFriendListResp ¶
type GetFriendListResp struct {
FriendList []RealtionUser `json:"friendList"`
}
type GetSelfInfoReq ¶
type GetSelfInfoReq struct { }
type GetSelfInfoResp ¶
type GetSelfInfoResp struct {
UserModel UserModel `json:"userModel"`
}
type GetUserByIdReq ¶
type GetUserByIdReq struct {
Id string `form:"id" binding:"required"`
}
type GetUserByIdResp ¶
type GetUserByIdResp struct {
UserModel UserModel `json:"userModel"`
}
type GetUserByUsernameReq ¶
type GetUserByUsernameReq struct {
Username string `form:"username" binding:"required"`
}
type GetUserByUsernameResp ¶
type GetUserByUsernameResp struct {
UserModel UserModel `json:"userModel"`
}
type IsUsernameExistReq ¶
type IsUsernameExistReq struct {
Username string `form:"username"`
}
type IsUsernameExistResp ¶
type IsUsernameExistResp struct {
Exist bool `json:"exist"`
}
type ModifySelfInfoReq ¶
type ModifySelfInfoResp ¶
type RealtionUser ¶
type RefuseFriendReq ¶
type RefuseFriendReq struct {
ApplyId string `json:"applyId"`
}
type RefuseFriendResp ¶
type RefuseFriendResp struct { }
type RegisterReq ¶
type RegisterResp ¶
type UnBlackUserReq ¶
type UnBlackUserReq struct {
UserId string `json:"userId"`
}
type UnBlackUserResp ¶
type UnBlackUserResp struct { }
type UserModel ¶
type UserModel struct { ID string `json:"id"` Username string `json:"username"` Nickname string `json:"nickname"` Sign string `json:"sign"` Avatar string `json:"avatar"` Province string `json:"province"` City string `json:"city"` District string `json:"district"` Birthday string `json:"birthday"` RegisterTime string `json:"registerTime"` IsMale bool `json:"isMale"` }
Click to show internal directories.
Click to hide internal directories.