Documentation
¶
Index ¶
- func CommentErr(c *app.RequestContext, err error)
- func CommentListErr(c *app.RequestContext, err error)
- func CommentListOk(c *app.RequestContext, err error, commentList []*comment.Comment)
- func CommentOk(c *app.RequestContext, err error, comment *comment.Comment)
- func FavoriteErr(c *app.RequestContext, err error)
- func FavoriteListErr(c *app.RequestContext, err error)
- func FavoriteListOk(c *app.RequestContext, err error, VideoList []*video.Video)
- func FavoriteOk(c *app.RequestContext, err error)
- func FeedErr(c *app.RequestContext, err error)
- func FeedOK(c *app.RequestContext, err error, videos []*video.Video, nextTime int64)
- func FollowListErr(c *app.RequestContext, err error)
- func FollowListOk(c *app.RequestContext, err error, UserList []*user.User)
- func FollowerListErr(c *app.RequestContext, err error)
- func FollowerListOk(c *app.RequestContext, err error, UserList []*user.User)
- func FriendListErr(c *app.RequestContext, err error)
- func FriendListOk(c *app.RequestContext, err error, UserList []*relation.FriendUser)
- func LoginErr(c *app.RequestContext, err error)
- func LoginOK(c *app.RequestContext, err error, userid int64, token string)
- func MessageChatErr(c *app.RequestContext, err error)
- func MessageChatOk(c *app.RequestContext, err error, MessageList []*message.Message)
- func MessageErr(c *app.RequestContext, err error)
- func MessageOk(c *app.RequestContext, err error)
- func PublishErr(c *app.RequestContext, err error)
- func PublishListErr(c *app.RequestContext, err error)
- func PublishListOK(c *app.RequestContext, err error, list []*video.Video)
- func PublishOk(c *app.RequestContext, err error)
- func RegisterErr(c *app.RequestContext, err error)
- func RegisterOK(c *app.RequestContext, err error, userid int64, token string)
- func RelationErr(c *app.RequestContext, err error)
- func RelationOk(c *app.RequestContext, err error)
- func ResponseWithError(ctx context.Context, c *app.RequestContext, request int, s string)
- func UserInfoErr(c *app.RequestContext, err error)
- func UserInfoOK(c *app.RequestContext, err error, user *user.User)
- type CommentListResponse
- type CommentResponse
- type FavoriteListResponse
- type FavoriteResponse
- type FeedResponse
- type FollowListResponse
- type FollowerListResponse
- type FriendListResponse
- type LoginResponse
- type MessageChatResponse
- type MessageResponse
- type PublishListResponse
- type PublishResponse
- type RegisterResponse
- type RelationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommentListOk ¶
func CommentListOk(c *app.RequestContext, err error, commentList []*comment.Comment)
CommentListOk 返回正确信息
func CommentOk ¶
func CommentOk(c *app.RequestContext, err error, comment *comment.Comment)
CommentOk 返回正确信息
func FavoriteListErr ¶
func FavoriteListErr(c *app.RequestContext, err error)
FavoriteListErr 返回错误信息
func FavoriteListOk ¶
func FavoriteListOk(c *app.RequestContext, err error, VideoList []*video.Video)
FavoriteListOk 返回正确信息
func FollowListOk ¶
func FollowListOk(c *app.RequestContext, err error, UserList []*user.User)
FollowListOk 返回正确信息
func FollowerListErr ¶
func FollowerListErr(c *app.RequestContext, err error)
FollowerListErr 返回错误信息
func FollowerListOk ¶
func FollowerListOk(c *app.RequestContext, err error, UserList []*user.User)
FollowerListOk 返回正确信息
func FriendListOk ¶
func FriendListOk(c *app.RequestContext, err error, UserList []*relation.FriendUser)
FriendListOk 返回正确信息
func LoginOK ¶
func LoginOK(c *app.RequestContext, err error, userid int64, token string)
LoginOK 返回正确信息
func MessageChatOk ¶
func MessageChatOk(c *app.RequestContext, err error, MessageList []*message.Message)
MessageChatOk 返回正确信息
func PublishListOK ¶
func PublishListOK(c *app.RequestContext, err error, list []*video.Video)
PublishListOK 返回正确信息
func RegisterOK ¶
func RegisterOK(c *app.RequestContext, err error, userid int64, token string)
RegisterOK 返回正确信息
func ResponseWithError ¶
func UserInfoOK ¶
func UserInfoOK(c *app.RequestContext, err error, user *user.User)
UserInfoOK 返回正确信息
Types ¶
type CommentListResponse ¶
type CommentResponse ¶
type FavoriteListResponse ¶
type FavoriteResponse ¶
type FavoriteResponse struct {
// contains filtered or unexported fields
}
type FeedResponse ¶
type FollowListResponse ¶
type FollowerListResponse ¶
type FriendListResponse ¶
type FriendListResponse struct { UserList []*relation.FriendUser `json:"user_list"` // contains filtered or unexported fields }
type LoginResponse ¶
type MessageChatResponse ¶
type MessageResponse ¶
type MessageResponse struct {
// contains filtered or unexported fields
}
type PublishListResponse ¶
type PublishResponse ¶
type PublishResponse struct {
// contains filtered or unexported fields
}
type RegisterResponse ¶
type RelationResponse ¶
type RelationResponse struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.