response

package
v0.0.0-...-966fd63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	StatusCode int    `json:"status_code"`
	StatusMsg  string `json:"status_msg"`
}

type CommentAction

type CommentAction struct {
	Base
	Comment *comment.Comment `json:"comment"`
}

type CommentList

type CommentList struct {
	Base
	CommentList []*comment.Comment `json:"comment_list"`
}

type FavoriteAction

type FavoriteAction struct {
	Base
}

type FavoriteList

type FavoriteList struct {
	Base
	VideoList []*video.Video `json:"video_list"`
}

type Feed

type Feed struct {
	Base
	NextTime  int64          `json:"next_time"`
	VideoList []*video.Video `json:"video_list"`
}

type FollowList

type FollowList struct {
	Base
	UserList []*user.User `json:"user_list"`
}

type FollowerList

type FollowerList struct {
	Base
	UserList []*user.User `json:"user_list"`
}

type FriendList

type FriendList struct {
	Base
	UserList []*relation.FriendUser `json:"user_list"`
}

type Login

type Login struct {
	Base
	UserID int64  `json:"user_id"`
	Token  string `json:"token"`
}

type MessageAction

type MessageAction struct {
	Base
}

type MessageChat

type MessageChat struct {
	Base
	MessageList []*message.Message `json:"message_list"`
}

type PublishAction

type PublishAction struct {
	Base
}

type PublishList

type PublishList struct {
	Base
	VideoList []*video.Video `json:"video_list"`
}

type Register

type Register struct {
	Base
	UserID int64  `json:"user_id"`
	Token  string `json:"token"`
}

type RelationAction

type RelationAction struct {
	Base
}

type UserInfo

type UserInfo struct {
	Base
	User *user.User `json:"user"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL