Documentation ¶
Index ¶
- type Comment
- func (p *Comment) GetContent() (v string)
- func (p *Comment) GetCreateDate() (v string)
- func (p *Comment) GetID() (v int64)
- func (p *Comment) GetUser() (v *User)
- func (p *Comment) IsSetUser() bool
- func (p *Comment) Read(iprot thrift.TProtocol) (err error)
- func (p *Comment) ReadField1(iprot thrift.TProtocol) error
- func (p *Comment) ReadField2(iprot thrift.TProtocol) error
- func (p *Comment) ReadField3(iprot thrift.TProtocol) error
- func (p *Comment) ReadField4(iprot thrift.TProtocol) error
- func (p *Comment) String() string
- func (p *Comment) Write(oprot thrift.TProtocol) (err error)
- type DouyinBaseResponse
- func (p *DouyinBaseResponse) GetStatusCode() (v int32)
- func (p *DouyinBaseResponse) GetStatusMsg() (v string)
- func (p *DouyinBaseResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *DouyinBaseResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *DouyinBaseResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *DouyinBaseResponse) String() string
- func (p *DouyinBaseResponse) Write(oprot thrift.TProtocol) (err error)
- type FriendUser
- func (p *FriendUser) GetAvatar() (v string)
- func (p *FriendUser) GetBackgroundImage() (v string)
- func (p *FriendUser) GetFavoriteCount() (v int64)
- func (p *FriendUser) GetFollowCount() (v int64)
- func (p *FriendUser) GetFollowerCount() (v int64)
- func (p *FriendUser) GetID() (v int64)
- func (p *FriendUser) GetIsFollow() (v bool)
- func (p *FriendUser) GetMessage() (v string)
- func (p *FriendUser) GetMsgType() (v int64)
- func (p *FriendUser) GetName() (v string)
- func (p *FriendUser) GetSignature() (v string)
- func (p *FriendUser) GetTotalFavorited() (v int64)
- func (p *FriendUser) GetWorkCount() (v int64)
- func (p *FriendUser) Read(iprot thrift.TProtocol) (err error)
- func (p *FriendUser) ReadField1(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField10(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField11(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField12(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField13(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField2(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField3(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField4(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField5(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField6(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField7(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField8(iprot thrift.TProtocol) error
- func (p *FriendUser) ReadField9(iprot thrift.TProtocol) error
- func (p *FriendUser) String() string
- func (p *FriendUser) Write(oprot thrift.TProtocol) (err error)
- type LatestMsg
- func (p *LatestMsg) GetMessage() (v string)
- func (p *LatestMsg) GetMsgType() (v int64)
- func (p *LatestMsg) Read(iprot thrift.TProtocol) (err error)
- func (p *LatestMsg) ReadField1(iprot thrift.TProtocol) error
- func (p *LatestMsg) ReadField2(iprot thrift.TProtocol) error
- func (p *LatestMsg) String() string
- func (p *LatestMsg) Write(oprot thrift.TProtocol) (err error)
- type Message
- func (p *Message) GetContent() (v string)
- func (p *Message) GetCreateTime() (v int64)
- func (p *Message) GetFromUserID() (v int64)
- func (p *Message) GetID() (v int64)
- func (p *Message) GetToUserID() (v int64)
- func (p *Message) Read(iprot thrift.TProtocol) (err error)
- func (p *Message) ReadField1(iprot thrift.TProtocol) error
- func (p *Message) ReadField2(iprot thrift.TProtocol) error
- func (p *Message) ReadField3(iprot thrift.TProtocol) error
- func (p *Message) ReadField4(iprot thrift.TProtocol) error
- func (p *Message) ReadField5(iprot thrift.TProtocol) error
- func (p *Message) String() string
- func (p *Message) Write(oprot thrift.TProtocol) (err error)
- type SocialInfo
- func (p *SocialInfo) GetFollowCount() (v int64)
- func (p *SocialInfo) GetFollowerCount() (v int64)
- func (p *SocialInfo) GetIsFollow() (v bool)
- func (p *SocialInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *SocialInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *SocialInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *SocialInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *SocialInfo) String() string
- func (p *SocialInfo) Write(oprot thrift.TProtocol) (err error)
- type User
- func (p *User) GetAvatar() (v string)
- func (p *User) GetBackgroundImage() (v string)
- func (p *User) GetFavoriteCount() (v int64)
- func (p *User) GetFollowCount() (v int64)
- func (p *User) GetFollowerCount() (v int64)
- func (p *User) GetID() (v int64)
- func (p *User) GetIsFollow() (v bool)
- func (p *User) GetName() (v string)
- func (p *User) GetSignature() (v string)
- func (p *User) GetTotalFavorited() (v int64)
- func (p *User) GetWorkCount() (v int64)
- func (p *User) Read(iprot thrift.TProtocol) (err error)
- func (p *User) ReadField1(iprot thrift.TProtocol) error
- func (p *User) ReadField10(iprot thrift.TProtocol) error
- func (p *User) ReadField11(iprot thrift.TProtocol) error
- func (p *User) ReadField2(iprot thrift.TProtocol) error
- func (p *User) ReadField3(iprot thrift.TProtocol) error
- func (p *User) ReadField4(iprot thrift.TProtocol) error
- func (p *User) ReadField5(iprot thrift.TProtocol) error
- func (p *User) ReadField6(iprot thrift.TProtocol) error
- func (p *User) ReadField7(iprot thrift.TProtocol) error
- func (p *User) ReadField8(iprot thrift.TProtocol) error
- func (p *User) ReadField9(iprot thrift.TProtocol) error
- func (p *User) String() string
- func (p *User) Write(oprot thrift.TProtocol) (err error)
- type UserInteractInfo
- func (p *UserInteractInfo) GetFavoriteCount() (v int64)
- func (p *UserInteractInfo) GetTotalFavorited() (v int64)
- func (p *UserInteractInfo) GetWorkCount() (v int64)
- func (p *UserInteractInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *UserInteractInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *UserInteractInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *UserInteractInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *UserInteractInfo) String() string
- func (p *UserInteractInfo) Write(oprot thrift.TProtocol) (err error)
- type Video
- func (p *Video) GetAuthor() (v *User)
- func (p *Video) GetCommentCount() (v int64)
- func (p *Video) GetCoverURL() (v string)
- func (p *Video) GetFavoriteCount() (v int64)
- func (p *Video) GetID() (v int64)
- func (p *Video) GetIsFavorite() (v bool)
- func (p *Video) GetPlayURL() (v string)
- func (p *Video) GetTitle() (v string)
- func (p *Video) IsSetAuthor() bool
- func (p *Video) Read(iprot thrift.TProtocol) (err error)
- func (p *Video) ReadField1(iprot thrift.TProtocol) error
- func (p *Video) ReadField2(iprot thrift.TProtocol) error
- func (p *Video) ReadField3(iprot thrift.TProtocol) error
- func (p *Video) ReadField4(iprot thrift.TProtocol) error
- func (p *Video) ReadField5(iprot thrift.TProtocol) error
- func (p *Video) ReadField6(iprot thrift.TProtocol) error
- func (p *Video) ReadField7(iprot thrift.TProtocol) error
- func (p *Video) ReadField8(iprot thrift.TProtocol) error
- func (p *Video) String() string
- func (p *Video) Write(oprot thrift.TProtocol) (err error)
- type VideoInteractInfo
- func (p *VideoInteractInfo) GetCommentCount() (v int64)
- func (p *VideoInteractInfo) GetFavoriteCount() (v int64)
- func (p *VideoInteractInfo) GetIsFavorite() (v bool)
- func (p *VideoInteractInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoInteractInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *VideoInteractInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *VideoInteractInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *VideoInteractInfo) String() string
- func (p *VideoInteractInfo) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct { ID int64 `thrift:"id,1" form:"id" json:"id" query:"id"` User *User `thrift:"user,2" form:"user" json:"user" query:"user"` Content string `thrift:"content,3" form:"content" json:"content" query:"content"` CreateDate string `thrift:"create_date,4" form:"create_date" json:"create_date" query:"create_date"` }
func NewComment ¶
func NewComment() *Comment
func (*Comment) GetContent ¶
func (*Comment) GetCreateDate ¶
type DouyinBaseResponse ¶
type DouyinBaseResponse struct { StatusCode int32 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg string `thrift:"status_msg,2" form:"status_msg" json:"status_msg" query:"status_msg"` }
func NewDouyinBaseResponse ¶
func NewDouyinBaseResponse() *DouyinBaseResponse
func (*DouyinBaseResponse) GetStatusCode ¶
func (p *DouyinBaseResponse) GetStatusCode() (v int32)
func (*DouyinBaseResponse) GetStatusMsg ¶
func (p *DouyinBaseResponse) GetStatusMsg() (v string)
func (*DouyinBaseResponse) Read ¶
func (p *DouyinBaseResponse) Read(iprot thrift.TProtocol) (err error)
func (*DouyinBaseResponse) ReadField1 ¶
func (p *DouyinBaseResponse) ReadField1(iprot thrift.TProtocol) error
func (*DouyinBaseResponse) ReadField2 ¶
func (p *DouyinBaseResponse) ReadField2(iprot thrift.TProtocol) error
func (*DouyinBaseResponse) String ¶
func (p *DouyinBaseResponse) String() string
type FriendUser ¶
type FriendUser struct { ID int64 `thrift:"id,1" form:"id" json:"id" query:"id"` Name string `thrift:"name,2" form:"name" json:"name" query:"name"` FollowCount int64 `thrift:"follow_count,3" form:"follow_count" json:"follow_count" query:"follow_count"` FollowerCount int64 `thrift:"follower_count,4" form:"follower_count" json:"follower_count" query:"follower_count"` IsFollow bool `thrift:"is_follow,5" form:"is_follow" json:"is_follow" query:"is_follow"` Avatar string `thrift:"avatar,6" form:"avatar" json:"avatar" query:"avatar"` BackgroundImage string `thrift:"background_image,7" form:"background_image" json:"background_image" query:"background_image"` Signature string `thrift:"signature,8" form:"signature" json:"signature" query:"signature"` TotalFavorited int64 `thrift:"total_favorited,9" form:"total_favorited" json:"total_favorited" query:"total_favorited"` WorkCount int64 `thrift:"work_count,10" form:"work_count" json:"work_count" query:"work_count"` FavoriteCount int64 `thrift:"favorite_count,11" form:"favorite_count" json:"favorite_count" query:"favorite_count"` Message string `thrift:"message,12" form:"message" json:"message" query:"message"` MsgType int64 `thrift:"msgType,13" form:"msgType" json:"msgType" query:"msgType"` }
func NewFriendUser ¶
func NewFriendUser() *FriendUser
func (*FriendUser) GetAvatar ¶
func (p *FriendUser) GetAvatar() (v string)
func (*FriendUser) GetBackgroundImage ¶
func (p *FriendUser) GetBackgroundImage() (v string)
func (*FriendUser) GetFavoriteCount ¶
func (p *FriendUser) GetFavoriteCount() (v int64)
func (*FriendUser) GetFollowCount ¶
func (p *FriendUser) GetFollowCount() (v int64)
func (*FriendUser) GetFollowerCount ¶
func (p *FriendUser) GetFollowerCount() (v int64)
func (*FriendUser) GetID ¶
func (p *FriendUser) GetID() (v int64)
func (*FriendUser) GetIsFollow ¶
func (p *FriendUser) GetIsFollow() (v bool)
func (*FriendUser) GetMessage ¶
func (p *FriendUser) GetMessage() (v string)
func (*FriendUser) GetMsgType ¶
func (p *FriendUser) GetMsgType() (v int64)
func (*FriendUser) GetName ¶
func (p *FriendUser) GetName() (v string)
func (*FriendUser) GetSignature ¶
func (p *FriendUser) GetSignature() (v string)
func (*FriendUser) GetTotalFavorited ¶
func (p *FriendUser) GetTotalFavorited() (v int64)
func (*FriendUser) GetWorkCount ¶
func (p *FriendUser) GetWorkCount() (v int64)
func (*FriendUser) ReadField1 ¶
func (p *FriendUser) ReadField1(iprot thrift.TProtocol) error
func (*FriendUser) ReadField10 ¶
func (p *FriendUser) ReadField10(iprot thrift.TProtocol) error
func (*FriendUser) ReadField11 ¶
func (p *FriendUser) ReadField11(iprot thrift.TProtocol) error
func (*FriendUser) ReadField12 ¶
func (p *FriendUser) ReadField12(iprot thrift.TProtocol) error
func (*FriendUser) ReadField13 ¶
func (p *FriendUser) ReadField13(iprot thrift.TProtocol) error
func (*FriendUser) ReadField2 ¶
func (p *FriendUser) ReadField2(iprot thrift.TProtocol) error
func (*FriendUser) ReadField3 ¶
func (p *FriendUser) ReadField3(iprot thrift.TProtocol) error
func (*FriendUser) ReadField4 ¶
func (p *FriendUser) ReadField4(iprot thrift.TProtocol) error
func (*FriendUser) ReadField5 ¶
func (p *FriendUser) ReadField5(iprot thrift.TProtocol) error
func (*FriendUser) ReadField6 ¶
func (p *FriendUser) ReadField6(iprot thrift.TProtocol) error
func (*FriendUser) ReadField7 ¶
func (p *FriendUser) ReadField7(iprot thrift.TProtocol) error
func (*FriendUser) ReadField8 ¶
func (p *FriendUser) ReadField8(iprot thrift.TProtocol) error
func (*FriendUser) ReadField9 ¶
func (p *FriendUser) ReadField9(iprot thrift.TProtocol) error
func (*FriendUser) String ¶
func (p *FriendUser) String() string
type LatestMsg ¶
type LatestMsg struct { Message string `thrift:"message,1" form:"message" json:"message" query:"message"` MsgType int64 `thrift:"msgType,2" form:"msgType" json:"msgType" query:"msgType"` }
func NewLatestMsg ¶
func NewLatestMsg() *LatestMsg
func (*LatestMsg) GetMessage ¶
func (*LatestMsg) GetMsgType ¶
type Message ¶
type Message struct { ID int64 `thrift:"id,1" form:"id" json:"id" query:"id"` ToUserID int64 `thrift:"to_user_id,2" form:"to_user_id" json:"to_user_id" query:"to_user_id"` FromUserID int64 `thrift:"from_user_id,3" form:"from_user_id" json:"from_user_id" query:"from_user_id"` Content string `thrift:"content,4" form:"content" json:"content" query:"content"` CreateTime int64 `thrift:"create_time,5" form:"create_time" json:"create_time" query:"create_time"` }
func NewMessage ¶
func NewMessage() *Message
func (*Message) GetContent ¶
func (*Message) GetCreateTime ¶
func (*Message) GetFromUserID ¶
func (*Message) GetToUserID ¶
type SocialInfo ¶
type SocialInfo struct { FollowCount int64 `thrift:"follow_count,1" form:"follow_count" json:"follow_count" query:"follow_count"` FollowerCount int64 `thrift:"follower_count,2" form:"follower_count" json:"follower_count" query:"follower_count"` IsFollow bool `thrift:"is_follow,3" form:"is_follow" json:"is_follow" query:"is_follow"` }
func NewSocialInfo ¶
func NewSocialInfo() *SocialInfo
func (*SocialInfo) GetFollowCount ¶
func (p *SocialInfo) GetFollowCount() (v int64)
func (*SocialInfo) GetFollowerCount ¶
func (p *SocialInfo) GetFollowerCount() (v int64)
func (*SocialInfo) GetIsFollow ¶
func (p *SocialInfo) GetIsFollow() (v bool)
func (*SocialInfo) ReadField1 ¶
func (p *SocialInfo) ReadField1(iprot thrift.TProtocol) error
func (*SocialInfo) ReadField2 ¶
func (p *SocialInfo) ReadField2(iprot thrift.TProtocol) error
func (*SocialInfo) ReadField3 ¶
func (p *SocialInfo) ReadField3(iprot thrift.TProtocol) error
func (*SocialInfo) String ¶
func (p *SocialInfo) String() string
type User ¶
type User struct { ID int64 `thrift:"id,1" form:"id" json:"id" query:"id"` Name string `thrift:"name,2" form:"name" json:"name" query:"name"` FollowCount int64 `thrift:"follow_count,3" form:"follow_count" json:"follow_count" query:"follow_count"` FollowerCount int64 `thrift:"follower_count,4" form:"follower_count" json:"follower_count" query:"follower_count"` IsFollow bool `thrift:"is_follow,5" form:"is_follow" json:"is_follow" query:"is_follow"` Avatar string `thrift:"avatar,6" form:"avatar" json:"avatar" query:"avatar"` BackgroundImage string `thrift:"background_image,7" form:"background_image" json:"background_image" query:"background_image"` Signature string `thrift:"signature,8" form:"signature" json:"signature" query:"signature"` TotalFavorited int64 `thrift:"total_favorited,9" form:"total_favorited" json:"total_favorited" query:"total_favorited"` WorkCount int64 `thrift:"work_count,10" form:"work_count" json:"work_count" query:"work_count"` FavoriteCount int64 `thrift:"favorite_count,11" form:"favorite_count" json:"favorite_count" query:"favorite_count"` }
var Comment_User_DEFAULT *User
var Video_Author_DEFAULT *User
func (*User) GetBackgroundImage ¶
func (*User) GetFavoriteCount ¶
func (*User) GetFollowCount ¶
func (*User) GetFollowerCount ¶
func (*User) GetIsFollow ¶
func (*User) GetSignature ¶
func (*User) GetTotalFavorited ¶
func (*User) GetWorkCount ¶
type UserInteractInfo ¶
type UserInteractInfo struct { TotalFavorited int64 `thrift:"total_favorited,1" form:"total_favorited" json:"total_favorited" query:"total_favorited"` WorkCount int64 `thrift:"work_count,2" form:"work_count" json:"work_count" query:"work_count"` FavoriteCount int64 `thrift:"favorite_count,3" form:"favorite_count" json:"favorite_count" query:"favorite_count"` }
func NewUserInteractInfo ¶
func NewUserInteractInfo() *UserInteractInfo
func (*UserInteractInfo) GetFavoriteCount ¶
func (p *UserInteractInfo) GetFavoriteCount() (v int64)
func (*UserInteractInfo) GetTotalFavorited ¶
func (p *UserInteractInfo) GetTotalFavorited() (v int64)
func (*UserInteractInfo) GetWorkCount ¶
func (p *UserInteractInfo) GetWorkCount() (v int64)
func (*UserInteractInfo) ReadField1 ¶
func (p *UserInteractInfo) ReadField1(iprot thrift.TProtocol) error
func (*UserInteractInfo) ReadField2 ¶
func (p *UserInteractInfo) ReadField2(iprot thrift.TProtocol) error
func (*UserInteractInfo) ReadField3 ¶
func (p *UserInteractInfo) ReadField3(iprot thrift.TProtocol) error
func (*UserInteractInfo) String ¶
func (p *UserInteractInfo) String() string
type Video ¶
type Video struct { ID int64 `thrift:"id,1" form:"id" json:"id" query:"id"` Author *User `thrift:"author,2" form:"author" json:"author" query:"author"` PlayURL string `thrift:"play_url,3" form:"play_url" json:"play_url" query:"play_url"` CoverURL string `thrift:"cover_url,4" form:"cover_url" json:"cover_url" query:"cover_url"` FavoriteCount int64 `thrift:"favorite_count,5" form:"favorite_count" json:"favorite_count" query:"favorite_count"` CommentCount int64 `thrift:"comment_count,6" form:"comment_count" json:"comment_count" query:"comment_count"` IsFavorite bool `thrift:"is_favorite,7" form:"is_favorite" json:"is_favorite" query:"is_favorite"` Title string `thrift:"title,8" form:"title" json:"title" query:"title"` }
func (*Video) GetCommentCount ¶
func (*Video) GetCoverURL ¶
func (*Video) GetFavoriteCount ¶
func (*Video) GetIsFavorite ¶
func (*Video) GetPlayURL ¶
func (*Video) IsSetAuthor ¶
type VideoInteractInfo ¶
type VideoInteractInfo struct { FavoriteCount int64 `thrift:"favorite_count,1" form:"favorite_count" json:"favorite_count" query:"favorite_count"` CommentCount int64 `thrift:"comment_count,2" form:"comment_count" json:"comment_count" query:"comment_count"` IsFavorite bool `thrift:"is_favorite,3" form:"is_favorite" json:"is_favorite" query:"is_favorite"` }
func NewVideoInteractInfo ¶
func NewVideoInteractInfo() *VideoInteractInfo
func (*VideoInteractInfo) GetCommentCount ¶
func (p *VideoInteractInfo) GetCommentCount() (v int64)
func (*VideoInteractInfo) GetFavoriteCount ¶
func (p *VideoInteractInfo) GetFavoriteCount() (v int64)
func (*VideoInteractInfo) GetIsFavorite ¶
func (p *VideoInteractInfo) GetIsFavorite() (v bool)
func (*VideoInteractInfo) Read ¶
func (p *VideoInteractInfo) Read(iprot thrift.TProtocol) (err error)
func (*VideoInteractInfo) ReadField1 ¶
func (p *VideoInteractInfo) ReadField1(iprot thrift.TProtocol) error
func (*VideoInteractInfo) ReadField2 ¶
func (p *VideoInteractInfo) ReadField2(iprot thrift.TProtocol) error
func (*VideoInteractInfo) ReadField3 ¶
func (p *VideoInteractInfo) ReadField3(iprot thrift.TProtocol) error
func (*VideoInteractInfo) String ¶
func (p *VideoInteractInfo) String() string
Click to show internal directories.
Click to hide internal directories.