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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	Id         int64  `thrift:"id,1" frugal:"1,default,i64" json:"id"`
	User       *User  `thrift:"user,2" frugal:"2,default,User" json:"user"`
	Content    string `thrift:"content,3" frugal:"3,default,string" json:"content"`
	CreateDate string `thrift:"create_date,4" frugal:"4,default,string" json:"create_date"`
}

func NewComment

func NewComment() *Comment

func (*Comment) BLength

func (p *Comment) BLength() int

func (*Comment) DeepEqual

func (p *Comment) DeepEqual(ano *Comment) bool

func (*Comment) FastRead

func (p *Comment) FastRead(buf []byte) (int, error)

func (*Comment) FastReadField1

func (p *Comment) FastReadField1(buf []byte) (int, error)

func (*Comment) FastReadField2

func (p *Comment) FastReadField2(buf []byte) (int, error)

func (*Comment) FastReadField3

func (p *Comment) FastReadField3(buf []byte) (int, error)

func (*Comment) FastReadField4

func (p *Comment) FastReadField4(buf []byte) (int, error)

func (*Comment) FastWrite

func (p *Comment) FastWrite(buf []byte) int

for compatibility

func (*Comment) FastWriteNocopy

func (p *Comment) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Comment) Field1DeepEqual

func (p *Comment) Field1DeepEqual(src int64) bool

func (*Comment) Field2DeepEqual

func (p *Comment) Field2DeepEqual(src *User) bool

func (*Comment) Field3DeepEqual

func (p *Comment) Field3DeepEqual(src string) bool

func (*Comment) Field4DeepEqual

func (p *Comment) Field4DeepEqual(src string) bool

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

func (p *Comment) InitDefault()

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

func (p *Comment) SetContent(val string)

func (*Comment) SetCreateDate

func (p *Comment) SetCreateDate(val string)

func (*Comment) SetId

func (p *Comment) SetId(val int64)

func (*Comment) SetUser

func (p *Comment) SetUser(val *User)

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" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"`
}

func NewDouyinBaseResponse

func NewDouyinBaseResponse() *DouyinBaseResponse

func (*DouyinBaseResponse) BLength

func (p *DouyinBaseResponse) BLength() int

func (*DouyinBaseResponse) DeepEqual

func (p *DouyinBaseResponse) DeepEqual(ano *DouyinBaseResponse) bool

func (*DouyinBaseResponse) FastRead

func (p *DouyinBaseResponse) FastRead(buf []byte) (int, error)

func (*DouyinBaseResponse) FastReadField1

func (p *DouyinBaseResponse) FastReadField1(buf []byte) (int, error)

func (*DouyinBaseResponse) FastReadField2

func (p *DouyinBaseResponse) FastReadField2(buf []byte) (int, error)

func (*DouyinBaseResponse) FastWrite

func (p *DouyinBaseResponse) FastWrite(buf []byte) int

for compatibility

func (*DouyinBaseResponse) FastWriteNocopy

func (p *DouyinBaseResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*DouyinBaseResponse) Field1DeepEqual

func (p *DouyinBaseResponse) Field1DeepEqual(src int32) bool

func (*DouyinBaseResponse) Field2DeepEqual

func (p *DouyinBaseResponse) Field2DeepEqual(src string) bool

func (*DouyinBaseResponse) GetStatusCode

func (p *DouyinBaseResponse) GetStatusCode() (v int32)

func (*DouyinBaseResponse) GetStatusMsg

func (p *DouyinBaseResponse) GetStatusMsg() (v string)

func (*DouyinBaseResponse) InitDefault

func (p *DouyinBaseResponse) InitDefault()

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

func (p *DouyinBaseResponse) SetStatusCode(val int32)

func (*DouyinBaseResponse) SetStatusMsg

func (p *DouyinBaseResponse) SetStatusMsg(val string)

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" frugal:"1,default,i64" json:"id"`
	Name            string `thrift:"name,2" frugal:"2,default,string" json:"name"`
	FollowCount     int64  `thrift:"follow_count,3" frugal:"3,default,i64" json:"follow_count"`
	FollowerCount   int64  `thrift:"follower_count,4" frugal:"4,default,i64" json:"follower_count"`
	IsFollow        bool   `thrift:"is_follow,5" frugal:"5,default,bool" json:"is_follow"`
	Avatar          string `thrift:"avatar,6" frugal:"6,default,string" json:"avatar"`
	BackgroundImage string `thrift:"background_image,7" frugal:"7,default,string" json:"background_image"`
	Signature       string `thrift:"signature,8" frugal:"8,default,string" json:"signature"`
	TotalFavorited  int64  `thrift:"total_favorited,9" frugal:"9,default,i64" json:"total_favorited"`
	WorkCount       int64  `thrift:"work_count,10" frugal:"10,default,i64" json:"work_count"`
	FavoriteCount   int64  `thrift:"favorite_count,11" frugal:"11,default,i64" json:"favorite_count"`
	Message         string `thrift:"message,12" frugal:"12,default,string" json:"message"`
	MsgType         int64  `thrift:"msgType,13" frugal:"13,default,i64" json:"msgType"`
}

func NewFriendUser

func NewFriendUser() *FriendUser

func (*FriendUser) BLength

func (p *FriendUser) BLength() int

func (*FriendUser) DeepEqual

func (p *FriendUser) DeepEqual(ano *FriendUser) bool

func (*FriendUser) FastRead

func (p *FriendUser) FastRead(buf []byte) (int, error)

func (*FriendUser) FastReadField1

func (p *FriendUser) FastReadField1(buf []byte) (int, error)

func (*FriendUser) FastReadField10

func (p *FriendUser) FastReadField10(buf []byte) (int, error)

func (*FriendUser) FastReadField11

func (p *FriendUser) FastReadField11(buf []byte) (int, error)

func (*FriendUser) FastReadField12

func (p *FriendUser) FastReadField12(buf []byte) (int, error)

func (*FriendUser) FastReadField13

func (p *FriendUser) FastReadField13(buf []byte) (int, error)

func (*FriendUser) FastReadField2

func (p *FriendUser) FastReadField2(buf []byte) (int, error)

func (*FriendUser) FastReadField3

func (p *FriendUser) FastReadField3(buf []byte) (int, error)

func (*FriendUser) FastReadField4

func (p *FriendUser) FastReadField4(buf []byte) (int, error)

func (*FriendUser) FastReadField5

func (p *FriendUser) FastReadField5(buf []byte) (int, error)

func (*FriendUser) FastReadField6

func (p *FriendUser) FastReadField6(buf []byte) (int, error)

func (*FriendUser) FastReadField7

func (p *FriendUser) FastReadField7(buf []byte) (int, error)

func (*FriendUser) FastReadField8

func (p *FriendUser) FastReadField8(buf []byte) (int, error)

func (*FriendUser) FastReadField9

func (p *FriendUser) FastReadField9(buf []byte) (int, error)

func (*FriendUser) FastWrite

func (p *FriendUser) FastWrite(buf []byte) int

for compatibility

func (*FriendUser) FastWriteNocopy

func (p *FriendUser) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*FriendUser) Field10DeepEqual

func (p *FriendUser) Field10DeepEqual(src int64) bool

func (*FriendUser) Field11DeepEqual

func (p *FriendUser) Field11DeepEqual(src int64) bool

func (*FriendUser) Field12DeepEqual

func (p *FriendUser) Field12DeepEqual(src string) bool

func (*FriendUser) Field13DeepEqual

func (p *FriendUser) Field13DeepEqual(src int64) bool

func (*FriendUser) Field1DeepEqual

func (p *FriendUser) Field1DeepEqual(src int64) bool

func (*FriendUser) Field2DeepEqual

func (p *FriendUser) Field2DeepEqual(src string) bool

func (*FriendUser) Field3DeepEqual

func (p *FriendUser) Field3DeepEqual(src int64) bool

func (*FriendUser) Field4DeepEqual

func (p *FriendUser) Field4DeepEqual(src int64) bool

func (*FriendUser) Field5DeepEqual

func (p *FriendUser) Field5DeepEqual(src bool) bool

func (*FriendUser) Field6DeepEqual

func (p *FriendUser) Field6DeepEqual(src string) bool

func (*FriendUser) Field7DeepEqual

func (p *FriendUser) Field7DeepEqual(src string) bool

func (*FriendUser) Field8DeepEqual

func (p *FriendUser) Field8DeepEqual(src string) bool

func (*FriendUser) Field9DeepEqual

func (p *FriendUser) Field9DeepEqual(src int64) bool

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

func (p *FriendUser) InitDefault()

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

func (p *FriendUser) SetAvatar(val string)

func (*FriendUser) SetBackgroundImage

func (p *FriendUser) SetBackgroundImage(val string)

func (*FriendUser) SetFavoriteCount

func (p *FriendUser) SetFavoriteCount(val int64)

func (*FriendUser) SetFollowCount

func (p *FriendUser) SetFollowCount(val int64)

func (*FriendUser) SetFollowerCount

func (p *FriendUser) SetFollowerCount(val int64)

func (*FriendUser) SetId

func (p *FriendUser) SetId(val int64)

func (*FriendUser) SetIsFollow

func (p *FriendUser) SetIsFollow(val bool)

func (*FriendUser) SetMessage

func (p *FriendUser) SetMessage(val string)

func (*FriendUser) SetMsgType

func (p *FriendUser) SetMsgType(val int64)

func (*FriendUser) SetName

func (p *FriendUser) SetName(val string)

func (*FriendUser) SetSignature

func (p *FriendUser) SetSignature(val string)

func (*FriendUser) SetTotalFavorited

func (p *FriendUser) SetTotalFavorited(val int64)

func (*FriendUser) SetWorkCount

func (p *FriendUser) SetWorkCount(val int64)

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" frugal:"1,default,string" json:"message"`
	MsgType int64  `thrift:"msgType,2" frugal:"2,default,i64" json:"msgType"`
}

func NewLatestMsg

func NewLatestMsg() *LatestMsg

func (*LatestMsg) BLength

func (p *LatestMsg) BLength() int

func (*LatestMsg) DeepEqual

func (p *LatestMsg) DeepEqual(ano *LatestMsg) bool

func (*LatestMsg) FastRead

func (p *LatestMsg) FastRead(buf []byte) (int, error)

func (*LatestMsg) FastReadField1

func (p *LatestMsg) FastReadField1(buf []byte) (int, error)

func (*LatestMsg) FastReadField2

func (p *LatestMsg) FastReadField2(buf []byte) (int, error)

func (*LatestMsg) FastWrite

func (p *LatestMsg) FastWrite(buf []byte) int

for compatibility

func (*LatestMsg) FastWriteNocopy

func (p *LatestMsg) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LatestMsg) Field1DeepEqual

func (p *LatestMsg) Field1DeepEqual(src string) bool

func (*LatestMsg) Field2DeepEqual

func (p *LatestMsg) Field2DeepEqual(src int64) bool

func (*LatestMsg) GetMessage

func (p *LatestMsg) GetMessage() (v string)

func (*LatestMsg) GetMsgType

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

func (*LatestMsg) InitDefault

func (p *LatestMsg) InitDefault()

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

func (p *LatestMsg) SetMessage(val string)

func (*LatestMsg) SetMsgType

func (p *LatestMsg) SetMsgType(val int64)

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" frugal:"1,default,i64" json:"id"`
	ToUserId   int64  `thrift:"to_user_id,2" frugal:"2,default,i64" json:"to_user_id"`
	FromUserId int64  `thrift:"from_user_id,3" frugal:"3,default,i64" json:"from_user_id"`
	Content    string `thrift:"content,4" frugal:"4,default,string" json:"content"`
	CreateTime int64  `thrift:"create_time,5" frugal:"5,default,i64" json:"create_time"`
}

func NewMessage

func NewMessage() *Message

func (*Message) BLength

func (p *Message) BLength() int

func (*Message) DeepEqual

func (p *Message) DeepEqual(ano *Message) bool

func (*Message) FastRead

func (p *Message) FastRead(buf []byte) (int, error)

func (*Message) FastReadField1

func (p *Message) FastReadField1(buf []byte) (int, error)

func (*Message) FastReadField2

func (p *Message) FastReadField2(buf []byte) (int, error)

func (*Message) FastReadField3

func (p *Message) FastReadField3(buf []byte) (int, error)

func (*Message) FastReadField4

func (p *Message) FastReadField4(buf []byte) (int, error)

func (*Message) FastReadField5

func (p *Message) FastReadField5(buf []byte) (int, error)

func (*Message) FastWrite

func (p *Message) FastWrite(buf []byte) int

for compatibility

func (*Message) FastWriteNocopy

func (p *Message) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Message) Field1DeepEqual

func (p *Message) Field1DeepEqual(src int64) bool

func (*Message) Field2DeepEqual

func (p *Message) Field2DeepEqual(src int64) bool

func (*Message) Field3DeepEqual

func (p *Message) Field3DeepEqual(src int64) bool

func (*Message) Field4DeepEqual

func (p *Message) Field4DeepEqual(src string) bool

func (*Message) Field5DeepEqual

func (p *Message) Field5DeepEqual(src int64) bool

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

func (p *Message) InitDefault()

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

func (p *Message) SetContent(val string)

func (*Message) SetCreateTime

func (p *Message) SetCreateTime(val int64)

func (*Message) SetFromUserId

func (p *Message) SetFromUserId(val int64)

func (*Message) SetId

func (p *Message) SetId(val int64)

func (*Message) SetToUserId

func (p *Message) SetToUserId(val int64)

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" frugal:"1,default,i64" json:"follow_count"`
	FollowerCount int64 `thrift:"follower_count,2" frugal:"2,default,i64" json:"follower_count"`
	IsFollow      bool  `thrift:"is_follow,3" frugal:"3,default,bool" json:"is_follow"`
}

func NewSocialInfo

func NewSocialInfo() *SocialInfo

func (*SocialInfo) BLength

func (p *SocialInfo) BLength() int

func (*SocialInfo) DeepEqual

func (p *SocialInfo) DeepEqual(ano *SocialInfo) bool

func (*SocialInfo) FastRead

func (p *SocialInfo) FastRead(buf []byte) (int, error)

func (*SocialInfo) FastReadField1

func (p *SocialInfo) FastReadField1(buf []byte) (int, error)

func (*SocialInfo) FastReadField2

func (p *SocialInfo) FastReadField2(buf []byte) (int, error)

func (*SocialInfo) FastReadField3

func (p *SocialInfo) FastReadField3(buf []byte) (int, error)

func (*SocialInfo) FastWrite

func (p *SocialInfo) FastWrite(buf []byte) int

for compatibility

func (*SocialInfo) FastWriteNocopy

func (p *SocialInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SocialInfo) Field1DeepEqual

func (p *SocialInfo) Field1DeepEqual(src int64) bool

func (*SocialInfo) Field2DeepEqual

func (p *SocialInfo) Field2DeepEqual(src int64) bool

func (*SocialInfo) Field3DeepEqual

func (p *SocialInfo) Field3DeepEqual(src bool) bool

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

func (p *SocialInfo) InitDefault()

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

func (p *SocialInfo) SetFollowCount(val int64)

func (*SocialInfo) SetFollowerCount

func (p *SocialInfo) SetFollowerCount(val int64)

func (*SocialInfo) SetIsFollow

func (p *SocialInfo) SetIsFollow(val bool)

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" frugal:"1,default,i64" json:"id"`
	Name            string `thrift:"name,2" frugal:"2,default,string" json:"name"`
	FollowCount     int64  `thrift:"follow_count,3" frugal:"3,default,i64" json:"follow_count"`
	FollowerCount   int64  `thrift:"follower_count,4" frugal:"4,default,i64" json:"follower_count"`
	IsFollow        bool   `thrift:"is_follow,5" frugal:"5,default,bool" json:"is_follow"`
	Avatar          string `thrift:"avatar,6" frugal:"6,default,string" json:"avatar"`
	BackgroundImage string `thrift:"background_image,7" frugal:"7,default,string" json:"background_image"`
	Signature       string `thrift:"signature,8" frugal:"8,default,string" json:"signature"`
	TotalFavorited  int64  `thrift:"total_favorited,9" frugal:"9,default,i64" json:"total_favorited"`
	WorkCount       int64  `thrift:"work_count,10" frugal:"10,default,i64" json:"work_count"`
	FavoriteCount   int64  `thrift:"favorite_count,11" frugal:"11,default,i64" json:"favorite_count"`
}
var Comment_User_DEFAULT *User
var Video_Author_DEFAULT *User

func NewUser

func NewUser() *User

func (*User) BLength

func (p *User) BLength() int

func (*User) DeepEqual

func (p *User) DeepEqual(ano *User) bool

func (*User) FastRead

func (p *User) FastRead(buf []byte) (int, error)

func (*User) FastReadField1

func (p *User) FastReadField1(buf []byte) (int, error)

func (*User) FastReadField10

func (p *User) FastReadField10(buf []byte) (int, error)

func (*User) FastReadField11

func (p *User) FastReadField11(buf []byte) (int, error)

func (*User) FastReadField2

func (p *User) FastReadField2(buf []byte) (int, error)

func (*User) FastReadField3

func (p *User) FastReadField3(buf []byte) (int, error)

func (*User) FastReadField4

func (p *User) FastReadField4(buf []byte) (int, error)

func (*User) FastReadField5

func (p *User) FastReadField5(buf []byte) (int, error)

func (*User) FastReadField6

func (p *User) FastReadField6(buf []byte) (int, error)

func (*User) FastReadField7

func (p *User) FastReadField7(buf []byte) (int, error)

func (*User) FastReadField8

func (p *User) FastReadField8(buf []byte) (int, error)

func (*User) FastReadField9

func (p *User) FastReadField9(buf []byte) (int, error)

func (*User) FastWrite

func (p *User) FastWrite(buf []byte) int

for compatibility

func (*User) FastWriteNocopy

func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*User) Field10DeepEqual

func (p *User) Field10DeepEqual(src int64) bool

func (*User) Field11DeepEqual

func (p *User) Field11DeepEqual(src int64) bool

func (*User) Field1DeepEqual

func (p *User) Field1DeepEqual(src int64) bool

func (*User) Field2DeepEqual

func (p *User) Field2DeepEqual(src string) bool

func (*User) Field3DeepEqual

func (p *User) Field3DeepEqual(src int64) bool

func (*User) Field4DeepEqual

func (p *User) Field4DeepEqual(src int64) bool

func (*User) Field5DeepEqual

func (p *User) Field5DeepEqual(src bool) bool

func (*User) Field6DeepEqual

func (p *User) Field6DeepEqual(src string) bool

func (*User) Field7DeepEqual

func (p *User) Field7DeepEqual(src string) bool

func (*User) Field8DeepEqual

func (p *User) Field8DeepEqual(src string) bool

func (*User) Field9DeepEqual

func (p *User) Field9DeepEqual(src int64) bool

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

func (p *User) InitDefault()

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

func (p *User) SetAvatar(val string)

func (*User) SetBackgroundImage

func (p *User) SetBackgroundImage(val string)

func (*User) SetFavoriteCount

func (p *User) SetFavoriteCount(val int64)

func (*User) SetFollowCount

func (p *User) SetFollowCount(val int64)

func (*User) SetFollowerCount

func (p *User) SetFollowerCount(val int64)

func (*User) SetId

func (p *User) SetId(val int64)

func (*User) SetIsFollow

func (p *User) SetIsFollow(val bool)

func (*User) SetName

func (p *User) SetName(val string)

func (*User) SetSignature

func (p *User) SetSignature(val string)

func (*User) SetTotalFavorited

func (p *User) SetTotalFavorited(val int64)

func (*User) SetWorkCount

func (p *User) SetWorkCount(val int64)

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" frugal:"1,default,i64" json:"total_favorited"`
	WorkCount      int64 `thrift:"work_count,2" frugal:"2,default,i64" json:"work_count"`
	FavoriteCount  int64 `thrift:"favorite_count,3" frugal:"3,default,i64" json:"favorite_count"`
}

func NewUserInteractInfo

func NewUserInteractInfo() *UserInteractInfo

func (*UserInteractInfo) BLength

func (p *UserInteractInfo) BLength() int

func (*UserInteractInfo) DeepEqual

func (p *UserInteractInfo) DeepEqual(ano *UserInteractInfo) bool

func (*UserInteractInfo) FastRead

func (p *UserInteractInfo) FastRead(buf []byte) (int, error)

func (*UserInteractInfo) FastReadField1

func (p *UserInteractInfo) FastReadField1(buf []byte) (int, error)

func (*UserInteractInfo) FastReadField2

func (p *UserInteractInfo) FastReadField2(buf []byte) (int, error)

func (*UserInteractInfo) FastReadField3

func (p *UserInteractInfo) FastReadField3(buf []byte) (int, error)

func (*UserInteractInfo) FastWrite

func (p *UserInteractInfo) FastWrite(buf []byte) int

for compatibility

func (*UserInteractInfo) FastWriteNocopy

func (p *UserInteractInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*UserInteractInfo) Field1DeepEqual

func (p *UserInteractInfo) Field1DeepEqual(src int64) bool

func (*UserInteractInfo) Field2DeepEqual

func (p *UserInteractInfo) Field2DeepEqual(src int64) bool

func (*UserInteractInfo) Field3DeepEqual

func (p *UserInteractInfo) Field3DeepEqual(src int64) bool

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

func (p *UserInteractInfo) InitDefault()

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

func (p *UserInteractInfo) SetFavoriteCount(val int64)

func (*UserInteractInfo) SetTotalFavorited

func (p *UserInteractInfo) SetTotalFavorited(val int64)

func (*UserInteractInfo) SetWorkCount

func (p *UserInteractInfo) SetWorkCount(val int64)

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" frugal:"1,default,i64" json:"id"`
	Author        *User  `thrift:"author,2" frugal:"2,default,User" json:"author"`
	PlayUrl       string `thrift:"play_url,3" frugal:"3,default,string" json:"play_url"`
	CoverUrl      string `thrift:"cover_url,4" frugal:"4,default,string" json:"cover_url"`
	FavoriteCount int64  `thrift:"favorite_count,5" frugal:"5,default,i64" json:"favorite_count"`
	CommentCount  int64  `thrift:"comment_count,6" frugal:"6,default,i64" json:"comment_count"`
	IsFavorite    bool   `thrift:"is_favorite,7" frugal:"7,default,bool" json:"is_favorite"`
	Title         string `thrift:"title,8" frugal:"8,default,string" json:"title"`
}

func NewVideo

func NewVideo() *Video

func (*Video) BLength

func (p *Video) BLength() int

func (*Video) DeepEqual

func (p *Video) DeepEqual(ano *Video) bool

func (*Video) FastRead

func (p *Video) FastRead(buf []byte) (int, error)

func (*Video) FastReadField1

func (p *Video) FastReadField1(buf []byte) (int, error)

func (*Video) FastReadField2

func (p *Video) FastReadField2(buf []byte) (int, error)

func (*Video) FastReadField3

func (p *Video) FastReadField3(buf []byte) (int, error)

func (*Video) FastReadField4

func (p *Video) FastReadField4(buf []byte) (int, error)

func (*Video) FastReadField5

func (p *Video) FastReadField5(buf []byte) (int, error)

func (*Video) FastReadField6

func (p *Video) FastReadField6(buf []byte) (int, error)

func (*Video) FastReadField7

func (p *Video) FastReadField7(buf []byte) (int, error)

func (*Video) FastReadField8

func (p *Video) FastReadField8(buf []byte) (int, error)

func (*Video) FastWrite

func (p *Video) FastWrite(buf []byte) int

for compatibility

func (*Video) FastWriteNocopy

func (p *Video) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Video) Field1DeepEqual

func (p *Video) Field1DeepEqual(src int64) bool

func (*Video) Field2DeepEqual

func (p *Video) Field2DeepEqual(src *User) bool

func (*Video) Field3DeepEqual

func (p *Video) Field3DeepEqual(src string) bool

func (*Video) Field4DeepEqual

func (p *Video) Field4DeepEqual(src string) bool

func (*Video) Field5DeepEqual

func (p *Video) Field5DeepEqual(src int64) bool

func (*Video) Field6DeepEqual

func (p *Video) Field6DeepEqual(src int64) bool

func (*Video) Field7DeepEqual

func (p *Video) Field7DeepEqual(src bool) bool

func (*Video) Field8DeepEqual

func (p *Video) Field8DeepEqual(src string) bool

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

func (p *Video) InitDefault()

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

func (p *Video) SetAuthor(val *User)

func (*Video) SetCommentCount

func (p *Video) SetCommentCount(val int64)

func (*Video) SetCoverUrl

func (p *Video) SetCoverUrl(val string)

func (*Video) SetFavoriteCount

func (p *Video) SetFavoriteCount(val int64)

func (*Video) SetId

func (p *Video) SetId(val int64)

func (*Video) SetIsFavorite

func (p *Video) SetIsFavorite(val bool)

func (*Video) SetPlayUrl

func (p *Video) SetPlayUrl(val string)

func (*Video) SetTitle

func (p *Video) SetTitle(val string)

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" frugal:"1,default,i64" json:"favorite_count"`
	CommentCount  int64 `thrift:"comment_count,2" frugal:"2,default,i64" json:"comment_count"`
	IsFavorite    bool  `thrift:"is_favorite,3" frugal:"3,default,bool" json:"is_favorite"`
}

func NewVideoInteractInfo

func NewVideoInteractInfo() *VideoInteractInfo

func (*VideoInteractInfo) BLength

func (p *VideoInteractInfo) BLength() int

func (*VideoInteractInfo) DeepEqual

func (p *VideoInteractInfo) DeepEqual(ano *VideoInteractInfo) bool

func (*VideoInteractInfo) FastRead

func (p *VideoInteractInfo) FastRead(buf []byte) (int, error)

func (*VideoInteractInfo) FastReadField1

func (p *VideoInteractInfo) FastReadField1(buf []byte) (int, error)

func (*VideoInteractInfo) FastReadField2

func (p *VideoInteractInfo) FastReadField2(buf []byte) (int, error)

func (*VideoInteractInfo) FastReadField3

func (p *VideoInteractInfo) FastReadField3(buf []byte) (int, error)

func (*VideoInteractInfo) FastWrite

func (p *VideoInteractInfo) FastWrite(buf []byte) int

for compatibility

func (*VideoInteractInfo) FastWriteNocopy

func (p *VideoInteractInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*VideoInteractInfo) Field1DeepEqual

func (p *VideoInteractInfo) Field1DeepEqual(src int64) bool

func (*VideoInteractInfo) Field2DeepEqual

func (p *VideoInteractInfo) Field2DeepEqual(src int64) bool

func (*VideoInteractInfo) Field3DeepEqual

func (p *VideoInteractInfo) Field3DeepEqual(src bool) bool

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

func (p *VideoInteractInfo) InitDefault()

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

func (p *VideoInteractInfo) SetCommentCount(val int64)

func (*VideoInteractInfo) SetFavoriteCount

func (p *VideoInteractInfo) SetFavoriteCount(val int64)

func (*VideoInteractInfo) SetIsFavorite

func (p *VideoInteractInfo) SetIsFavorite(val bool)

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