base

package
v0.0.0-...-55e1567 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

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 (p *Comment) GetContent() (v string)

func (*Comment) GetCreateDate

func (p *Comment) GetCreateDate() (v string)

func (*Comment) GetID

func (p *Comment) GetID() (v int64)

func (*Comment) GetUser

func (p *Comment) GetUser() (v *User)

func (*Comment) IsSetUser

func (p *Comment) IsSetUser() bool

func (*Comment) Read

func (p *Comment) Read(iprot thrift.TProtocol) (err error)

func (*Comment) ReadField1

func (p *Comment) ReadField1(iprot thrift.TProtocol) error

func (*Comment) ReadField2

func (p *Comment) ReadField2(iprot thrift.TProtocol) error

func (*Comment) ReadField3

func (p *Comment) ReadField3(iprot thrift.TProtocol) error

func (*Comment) ReadField4

func (p *Comment) ReadField4(iprot thrift.TProtocol) error

func (*Comment) String

func (p *Comment) String() string

func (*Comment) Write

func (p *Comment) Write(oprot thrift.TProtocol) (err error)

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

func (*DouyinBaseResponse) Write

func (p *DouyinBaseResponse) Write(oprot thrift.TProtocol) (err error)

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) Read

func (p *FriendUser) Read(iprot thrift.TProtocol) (err error)

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

func (*FriendUser) Write

func (p *FriendUser) Write(oprot thrift.TProtocol) (err error)

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 (p *LatestMsg) GetMessage() (v string)

func (*LatestMsg) GetMsgType

func (p *LatestMsg) GetMsgType() (v int64)

func (*LatestMsg) Read

func (p *LatestMsg) Read(iprot thrift.TProtocol) (err error)

func (*LatestMsg) ReadField1

func (p *LatestMsg) ReadField1(iprot thrift.TProtocol) error

func (*LatestMsg) ReadField2

func (p *LatestMsg) ReadField2(iprot thrift.TProtocol) error

func (*LatestMsg) String

func (p *LatestMsg) String() string

func (*LatestMsg) Write

func (p *LatestMsg) Write(oprot thrift.TProtocol) (err error)

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 (p *Message) GetContent() (v string)

func (*Message) GetCreateTime

func (p *Message) GetCreateTime() (v int64)

func (*Message) GetFromUserID

func (p *Message) GetFromUserID() (v int64)

func (*Message) GetID

func (p *Message) GetID() (v int64)

func (*Message) GetToUserID

func (p *Message) GetToUserID() (v int64)

func (*Message) Read

func (p *Message) Read(iprot thrift.TProtocol) (err error)

func (*Message) ReadField1

func (p *Message) ReadField1(iprot thrift.TProtocol) error

func (*Message) ReadField2

func (p *Message) ReadField2(iprot thrift.TProtocol) error

func (*Message) ReadField3

func (p *Message) ReadField3(iprot thrift.TProtocol) error

func (*Message) ReadField4

func (p *Message) ReadField4(iprot thrift.TProtocol) error

func (*Message) ReadField5

func (p *Message) ReadField5(iprot thrift.TProtocol) error

func (*Message) String

func (p *Message) String() string

func (*Message) Write

func (p *Message) Write(oprot thrift.TProtocol) (err error)

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) Read

func (p *SocialInfo) Read(iprot thrift.TProtocol) (err error)

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

func (*SocialInfo) Write

func (p *SocialInfo) Write(oprot thrift.TProtocol) (err error)

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 NewUser

func NewUser() *User

func (*User) GetAvatar

func (p *User) GetAvatar() (v string)

func (*User) GetBackgroundImage

func (p *User) GetBackgroundImage() (v string)

func (*User) GetFavoriteCount

func (p *User) GetFavoriteCount() (v int64)

func (*User) GetFollowCount

func (p *User) GetFollowCount() (v int64)

func (*User) GetFollowerCount

func (p *User) GetFollowerCount() (v int64)

func (*User) GetID

func (p *User) GetID() (v int64)

func (*User) GetIsFollow

func (p *User) GetIsFollow() (v bool)

func (*User) GetName

func (p *User) GetName() (v string)

func (*User) GetSignature

func (p *User) GetSignature() (v string)

func (*User) GetTotalFavorited

func (p *User) GetTotalFavorited() (v int64)

func (*User) GetWorkCount

func (p *User) GetWorkCount() (v int64)

func (*User) Read

func (p *User) Read(iprot thrift.TProtocol) (err error)

func (*User) ReadField1

func (p *User) ReadField1(iprot thrift.TProtocol) error

func (*User) ReadField10

func (p *User) ReadField10(iprot thrift.TProtocol) error

func (*User) ReadField11

func (p *User) ReadField11(iprot thrift.TProtocol) error

func (*User) ReadField2

func (p *User) ReadField2(iprot thrift.TProtocol) error

func (*User) ReadField3

func (p *User) ReadField3(iprot thrift.TProtocol) error

func (*User) ReadField4

func (p *User) ReadField4(iprot thrift.TProtocol) error

func (*User) ReadField5

func (p *User) ReadField5(iprot thrift.TProtocol) error

func (*User) ReadField6

func (p *User) ReadField6(iprot thrift.TProtocol) error

func (*User) ReadField7

func (p *User) ReadField7(iprot thrift.TProtocol) error

func (*User) ReadField8

func (p *User) ReadField8(iprot thrift.TProtocol) error

func (*User) ReadField9

func (p *User) ReadField9(iprot thrift.TProtocol) error

func (*User) String

func (p *User) String() string

func (*User) Write

func (p *User) Write(oprot thrift.TProtocol) (err error)

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) Read

func (p *UserInteractInfo) Read(iprot thrift.TProtocol) (err error)

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

func (*UserInteractInfo) Write

func (p *UserInteractInfo) Write(oprot thrift.TProtocol) (err error)

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 NewVideo

func NewVideo() *Video

func (*Video) GetAuthor

func (p *Video) GetAuthor() (v *User)

func (*Video) GetCommentCount

func (p *Video) GetCommentCount() (v int64)

func (*Video) GetCoverURL

func (p *Video) GetCoverURL() (v string)

func (*Video) GetFavoriteCount

func (p *Video) GetFavoriteCount() (v int64)

func (*Video) GetID

func (p *Video) GetID() (v int64)

func (*Video) GetIsFavorite

func (p *Video) GetIsFavorite() (v bool)

func (*Video) GetPlayURL

func (p *Video) GetPlayURL() (v string)

func (*Video) GetTitle

func (p *Video) GetTitle() (v string)

func (*Video) IsSetAuthor

func (p *Video) IsSetAuthor() bool

func (*Video) Read

func (p *Video) Read(iprot thrift.TProtocol) (err error)

func (*Video) ReadField1

func (p *Video) ReadField1(iprot thrift.TProtocol) error

func (*Video) ReadField2

func (p *Video) ReadField2(iprot thrift.TProtocol) error

func (*Video) ReadField3

func (p *Video) ReadField3(iprot thrift.TProtocol) error

func (*Video) ReadField4

func (p *Video) ReadField4(iprot thrift.TProtocol) error

func (*Video) ReadField5

func (p *Video) ReadField5(iprot thrift.TProtocol) error

func (*Video) ReadField6

func (p *Video) ReadField6(iprot thrift.TProtocol) error

func (*Video) ReadField7

func (p *Video) ReadField7(iprot thrift.TProtocol) error

func (*Video) ReadField8

func (p *Video) ReadField8(iprot thrift.TProtocol) error

func (*Video) String

func (p *Video) String() string

func (*Video) Write

func (p *Video) Write(oprot thrift.TProtocol) (err error)

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

func (*VideoInteractInfo) Write

func (p *VideoInteractInfo) Write(oprot thrift.TProtocol) (err error)

Jump to

Keyboard shortcuts

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