Documentation ¶
Index ¶
- func Comment(data *interaction.Comment) *api.Comment
- func CommentList(list []*interaction.Comment) []*api.Comment
- func FriendList(list []*follow.FriendUser) []*api.FriendUser
- func MessageList(list []*chat.Message) []*api.Message
- func SendFailResponse(c *app.RequestContext, err error)
- func SendResponse(c *app.RequestContext, data interface{})
- func User(data *user.User) *api.User
- func UserList(list []*follow.User) []*api.User
- func VideoList(list []*video.Video) []*api.Video
- func VideoListFavorited(list []*interaction.Video) []*api.Video
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommentList ¶
func CommentList(list []*interaction.Comment) []*api.Comment
func FriendList ¶
func FriendList(list []*follow.FriendUser) []*api.FriendUser
func SendFailResponse ¶
func SendFailResponse(c *app.RequestContext, err error)
func SendResponse ¶
func SendResponse(c *app.RequestContext, data interface{})
func VideoListFavorited ¶
func VideoListFavorited(list []*interaction.Video) []*api.Video
Types ¶
Click to show internal directories.
Click to hide internal directories.