feed

package
v0.0.0-...-542fe02 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FeedResponse_StatusMsg_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}

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

Functions

This section is empty.

Types

type FeedRequest

type FeedRequest struct {
	LatestTime int64  `thrift:"latest_time,1" frugal:"1,default,i64" json:"latest_time"`
	Token      string `thrift:"token,2" frugal:"2,default,string" json:"token"`
	UserId     int64  `thrift:"user_id,3" frugal:"3,default,i64" json:"user_id"`
}
var FeedServiceFeedArgs_Req_DEFAULT *FeedRequest

func NewFeedRequest

func NewFeedRequest() *FeedRequest

func (*FeedRequest) BLength

func (p *FeedRequest) BLength() int

func (*FeedRequest) DeepEqual

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

func (*FeedRequest) FastRead

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

func (*FeedRequest) FastReadField1

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

func (*FeedRequest) FastReadField2

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

func (*FeedRequest) FastReadField3

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

func (*FeedRequest) FastWrite

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

for compatibility

func (*FeedRequest) FastWriteNocopy

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

func (*FeedRequest) Field1DeepEqual

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

func (*FeedRequest) Field2DeepEqual

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

func (*FeedRequest) Field3DeepEqual

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

func (*FeedRequest) GetLatestTime

func (p *FeedRequest) GetLatestTime() (v int64)

func (*FeedRequest) GetToken

func (p *FeedRequest) GetToken() (v string)

func (*FeedRequest) GetUserId

func (p *FeedRequest) GetUserId() (v int64)

func (*FeedRequest) InitDefault

func (p *FeedRequest) InitDefault()

func (*FeedRequest) Read

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

func (*FeedRequest) ReadField1

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

func (*FeedRequest) ReadField2

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

func (*FeedRequest) ReadField3

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

func (*FeedRequest) SetLatestTime

func (p *FeedRequest) SetLatestTime(val int64)

func (*FeedRequest) SetToken

func (p *FeedRequest) SetToken(val string)

func (*FeedRequest) SetUserId

func (p *FeedRequest) SetUserId(val int64)

func (*FeedRequest) String

func (p *FeedRequest) String() string

func (*FeedRequest) Write

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

type FeedResponse

type FeedResponse struct {
	StatusCode int32    `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  *string  `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
	VideoList  []*Video `thrift:"video_list,3" frugal:"3,default,list<Video>" json:"video_list"`
	NextTime   int64    `thrift:"next_time,4" frugal:"4,default,i64" json:"next_time"`
}
var FeedServiceFeedResult_Success_DEFAULT *FeedResponse

func NewFeedResponse

func NewFeedResponse() *FeedResponse

func (*FeedResponse) BLength

func (p *FeedResponse) BLength() int

func (*FeedResponse) DeepEqual

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

func (*FeedResponse) FastRead

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

func (*FeedResponse) FastReadField1

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

func (*FeedResponse) FastReadField2

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

func (*FeedResponse) FastReadField3

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

func (*FeedResponse) FastReadField4

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

func (*FeedResponse) FastWrite

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

for compatibility

func (*FeedResponse) FastWriteNocopy

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

func (*FeedResponse) Field1DeepEqual

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

func (*FeedResponse) Field2DeepEqual

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

func (*FeedResponse) Field3DeepEqual

func (p *FeedResponse) Field3DeepEqual(src []*Video) bool

func (*FeedResponse) Field4DeepEqual

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

func (*FeedResponse) GetNextTime

func (p *FeedResponse) GetNextTime() (v int64)

func (*FeedResponse) GetStatusCode

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

func (*FeedResponse) GetStatusMsg

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

func (*FeedResponse) GetVideoList

func (p *FeedResponse) GetVideoList() (v []*Video)

func (*FeedResponse) InitDefault

func (p *FeedResponse) InitDefault()

func (*FeedResponse) IsSetStatusMsg

func (p *FeedResponse) IsSetStatusMsg() bool

func (*FeedResponse) Read

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

func (*FeedResponse) ReadField1

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

func (*FeedResponse) ReadField2

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

func (*FeedResponse) ReadField3

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

func (*FeedResponse) ReadField4

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

func (*FeedResponse) SetNextTime

func (p *FeedResponse) SetNextTime(val int64)

func (*FeedResponse) SetStatusCode

func (p *FeedResponse) SetStatusCode(val int32)

func (*FeedResponse) SetStatusMsg

func (p *FeedResponse) SetStatusMsg(val *string)

func (*FeedResponse) SetVideoList

func (p *FeedResponse) SetVideoList(val []*Video)

func (*FeedResponse) String

func (p *FeedResponse) String() string

func (*FeedResponse) Write

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

type FeedService

type FeedService interface {
	Feed(ctx context.Context, req *FeedRequest) (r *FeedResponse, err error)
}

type FeedServiceClient

type FeedServiceClient struct {
	// contains filtered or unexported fields
}

func NewFeedServiceClient

func NewFeedServiceClient(c thrift.TClient) *FeedServiceClient

func NewFeedServiceClientProtocol

func NewFeedServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *FeedServiceClient

func (*FeedServiceClient) Client_

func (p *FeedServiceClient) Client_() thrift.TClient

func (*FeedServiceClient) Feed

func (p *FeedServiceClient) Feed(ctx context.Context, req *FeedRequest) (r *FeedResponse, err error)

type FeedServiceFeedArgs

type FeedServiceFeedArgs struct {
	Req *FeedRequest `thrift:"req,1,required" frugal:"1,required,FeedRequest" json:"req"`
}

func NewFeedServiceFeedArgs

func NewFeedServiceFeedArgs() *FeedServiceFeedArgs

func (*FeedServiceFeedArgs) BLength

func (p *FeedServiceFeedArgs) BLength() int

func (*FeedServiceFeedArgs) DeepEqual

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

func (*FeedServiceFeedArgs) FastRead

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

func (*FeedServiceFeedArgs) FastReadField1

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

func (*FeedServiceFeedArgs) FastWrite

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

for compatibility

func (*FeedServiceFeedArgs) FastWriteNocopy

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

func (*FeedServiceFeedArgs) Field1DeepEqual

func (p *FeedServiceFeedArgs) Field1DeepEqual(src *FeedRequest) bool

func (*FeedServiceFeedArgs) GetFirstArgument

func (p *FeedServiceFeedArgs) GetFirstArgument() interface{}

func (*FeedServiceFeedArgs) GetReq

func (p *FeedServiceFeedArgs) GetReq() (v *FeedRequest)

func (*FeedServiceFeedArgs) InitDefault

func (p *FeedServiceFeedArgs) InitDefault()

func (*FeedServiceFeedArgs) IsSetReq

func (p *FeedServiceFeedArgs) IsSetReq() bool

func (*FeedServiceFeedArgs) Read

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

func (*FeedServiceFeedArgs) ReadField1

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

func (*FeedServiceFeedArgs) SetReq

func (p *FeedServiceFeedArgs) SetReq(val *FeedRequest)

func (*FeedServiceFeedArgs) String

func (p *FeedServiceFeedArgs) String() string

func (*FeedServiceFeedArgs) Write

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

type FeedServiceFeedResult

type FeedServiceFeedResult struct {
	Success *FeedResponse `thrift:"success,0,optional" frugal:"0,optional,FeedResponse" json:"success,omitempty"`
}

func NewFeedServiceFeedResult

func NewFeedServiceFeedResult() *FeedServiceFeedResult

func (*FeedServiceFeedResult) BLength

func (p *FeedServiceFeedResult) BLength() int

func (*FeedServiceFeedResult) DeepEqual

func (*FeedServiceFeedResult) FastRead

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

func (*FeedServiceFeedResult) FastReadField0

func (p *FeedServiceFeedResult) FastReadField0(buf []byte) (int, error)

func (*FeedServiceFeedResult) FastWrite

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

for compatibility

func (*FeedServiceFeedResult) FastWriteNocopy

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

func (*FeedServiceFeedResult) Field0DeepEqual

func (p *FeedServiceFeedResult) Field0DeepEqual(src *FeedResponse) bool

func (*FeedServiceFeedResult) GetResult

func (p *FeedServiceFeedResult) GetResult() interface{}

func (*FeedServiceFeedResult) GetSuccess

func (p *FeedServiceFeedResult) GetSuccess() (v *FeedResponse)

func (*FeedServiceFeedResult) InitDefault

func (p *FeedServiceFeedResult) InitDefault()

func (*FeedServiceFeedResult) IsSetSuccess

func (p *FeedServiceFeedResult) IsSetSuccess() bool

func (*FeedServiceFeedResult) Read

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

func (*FeedServiceFeedResult) ReadField0

func (p *FeedServiceFeedResult) ReadField0(iprot thrift.TProtocol) error

func (*FeedServiceFeedResult) SetSuccess

func (p *FeedServiceFeedResult) SetSuccess(x interface{})

func (*FeedServiceFeedResult) String

func (p *FeedServiceFeedResult) String() string

func (*FeedServiceFeedResult) Write

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

type FeedServiceProcessor

type FeedServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewFeedServiceProcessor

func NewFeedServiceProcessor(handler FeedService) *FeedServiceProcessor

func (*FeedServiceProcessor) AddToProcessorMap

func (p *FeedServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*FeedServiceProcessor) GetProcessorFunction

func (p *FeedServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*FeedServiceProcessor) Process

func (p *FeedServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*FeedServiceProcessor) ProcessorMap

func (p *FeedServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

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

Directories

Path Synopsis
Code generated by Kitex v0.6.2.
Code generated by Kitex v0.6.2.

Jump to

Keyboard shortcuts

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