feed

package
v0.0.0-...-18974b4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FeedRequest_LatestTime_DEFAULT string
View Source
var FeedRequest_UserId_DEFAULT int64
View Source
var FeedResponse_NextTime_DEFAULT int64
View Source
var FeedResponse_StatusMsg_DEFAULT string
View Source
var FeedResponse_VideoList_DEFAULT []*VideoInfo
View Source
var KitexUnusedProtection = struct{}{}

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

View Source
var VideoInfo_Author_DEFAULT *user.UserInfo

Functions

This section is empty.

Types

type FeedRequest

type FeedRequest struct {
	LatestTime *string `thrift:"latest_time,1,optional" frugal:"1,optional,string" json:"latest_time,omitempty"`
	UserId     *int64  `thrift:"user_id,2,optional" frugal:"2,optional,i64" json:"user_id,omitempty"`
}
var FeedServiceGetVideoListArgs_Request_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) 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 *string) bool

func (*FeedRequest) Field2DeepEqual

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

func (*FeedRequest) GetLatestTime

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

func (*FeedRequest) GetUserId

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

func (*FeedRequest) InitDefault

func (p *FeedRequest) InitDefault()

func (*FeedRequest) IsSetLatestTime

func (p *FeedRequest) IsSetLatestTime() bool

func (*FeedRequest) IsSetUserId

func (p *FeedRequest) IsSetUserId() bool

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

func (p *FeedRequest) SetLatestTime(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 int64        `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"`
	StatusMsg  *string      `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
	NextTime   *int64       `thrift:"next_time,3,optional" frugal:"3,optional,i64" json:"next_time,omitempty"`
	VideoList  []*VideoInfo `thrift:"video_list,4,optional" frugal:"4,optional,list<VideoInfo>" json:"video_list,omitempty"`
}
var FeedServiceGetVideoListByIdResult_Success_DEFAULT *FeedResponse
var FeedServiceGetVideoListResult_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 int64) bool

func (*FeedResponse) Field2DeepEqual

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

func (*FeedResponse) Field3DeepEqual

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

func (*FeedResponse) Field4DeepEqual

func (p *FeedResponse) Field4DeepEqual(src []*VideoInfo) bool

func (*FeedResponse) GetNextTime

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

func (*FeedResponse) GetStatusCode

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

func (*FeedResponse) GetStatusMsg

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

func (*FeedResponse) GetVideoList

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

func (*FeedResponse) InitDefault

func (p *FeedResponse) InitDefault()

func (*FeedResponse) IsSetNextTime

func (p *FeedResponse) IsSetNextTime() bool

func (*FeedResponse) IsSetStatusMsg

func (p *FeedResponse) IsSetStatusMsg() bool

func (*FeedResponse) IsSetVideoList

func (p *FeedResponse) IsSetVideoList() 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 int64)

func (*FeedResponse) SetStatusMsg

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

func (*FeedResponse) SetVideoList

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

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 {
	GetVideoList(ctx context.Context, request *FeedRequest) (r *FeedResponse, err error)

	GetVideoListById(ctx context.Context, request *GetByIDRequest) (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) GetVideoList

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

func (*FeedServiceClient) GetVideoListById

func (p *FeedServiceClient) GetVideoListById(ctx context.Context, request *GetByIDRequest) (r *FeedResponse, err error)

type FeedServiceGetVideoListArgs

type FeedServiceGetVideoListArgs struct {
	Request *FeedRequest `thrift:"request,1" frugal:"1,default,FeedRequest" json:"request"`
}

func NewFeedServiceGetVideoListArgs

func NewFeedServiceGetVideoListArgs() *FeedServiceGetVideoListArgs

func (*FeedServiceGetVideoListArgs) BLength

func (p *FeedServiceGetVideoListArgs) BLength() int

func (*FeedServiceGetVideoListArgs) DeepEqual

func (*FeedServiceGetVideoListArgs) FastRead

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

func (*FeedServiceGetVideoListArgs) FastReadField1

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

func (*FeedServiceGetVideoListArgs) FastWrite

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

for compatibility

func (*FeedServiceGetVideoListArgs) FastWriteNocopy

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

func (*FeedServiceGetVideoListArgs) Field1DeepEqual

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

func (*FeedServiceGetVideoListArgs) GetFirstArgument

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

func (*FeedServiceGetVideoListArgs) GetRequest

func (p *FeedServiceGetVideoListArgs) GetRequest() (v *FeedRequest)

func (*FeedServiceGetVideoListArgs) InitDefault

func (p *FeedServiceGetVideoListArgs) InitDefault()

func (*FeedServiceGetVideoListArgs) IsSetRequest

func (p *FeedServiceGetVideoListArgs) IsSetRequest() bool

func (*FeedServiceGetVideoListArgs) Read

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

func (*FeedServiceGetVideoListArgs) ReadField1

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

func (*FeedServiceGetVideoListArgs) SetRequest

func (p *FeedServiceGetVideoListArgs) SetRequest(val *FeedRequest)

func (*FeedServiceGetVideoListArgs) String

func (p *FeedServiceGetVideoListArgs) String() string

func (*FeedServiceGetVideoListArgs) Write

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

type FeedServiceGetVideoListByIdArgs

type FeedServiceGetVideoListByIdArgs struct {
	Request *GetByIDRequest `thrift:"request,1" frugal:"1,default,GetByIDRequest" json:"request"`
}

func NewFeedServiceGetVideoListByIdArgs

func NewFeedServiceGetVideoListByIdArgs() *FeedServiceGetVideoListByIdArgs

func (*FeedServiceGetVideoListByIdArgs) BLength

func (p *FeedServiceGetVideoListByIdArgs) BLength() int

func (*FeedServiceGetVideoListByIdArgs) DeepEqual

func (*FeedServiceGetVideoListByIdArgs) FastRead

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

func (*FeedServiceGetVideoListByIdArgs) FastReadField1

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

func (*FeedServiceGetVideoListByIdArgs) FastWrite

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

for compatibility

func (*FeedServiceGetVideoListByIdArgs) FastWriteNocopy

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

func (*FeedServiceGetVideoListByIdArgs) Field1DeepEqual

func (p *FeedServiceGetVideoListByIdArgs) Field1DeepEqual(src *GetByIDRequest) bool

func (*FeedServiceGetVideoListByIdArgs) GetFirstArgument

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

func (*FeedServiceGetVideoListByIdArgs) GetRequest

func (p *FeedServiceGetVideoListByIdArgs) GetRequest() (v *GetByIDRequest)

func (*FeedServiceGetVideoListByIdArgs) InitDefault

func (p *FeedServiceGetVideoListByIdArgs) InitDefault()

func (*FeedServiceGetVideoListByIdArgs) IsSetRequest

func (p *FeedServiceGetVideoListByIdArgs) IsSetRequest() bool

func (*FeedServiceGetVideoListByIdArgs) Read

func (*FeedServiceGetVideoListByIdArgs) ReadField1

func (*FeedServiceGetVideoListByIdArgs) SetRequest

func (p *FeedServiceGetVideoListByIdArgs) SetRequest(val *GetByIDRequest)

func (*FeedServiceGetVideoListByIdArgs) String

func (*FeedServiceGetVideoListByIdArgs) Write

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

type FeedServiceGetVideoListByIdResult

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

func NewFeedServiceGetVideoListByIdResult

func NewFeedServiceGetVideoListByIdResult() *FeedServiceGetVideoListByIdResult

func (*FeedServiceGetVideoListByIdResult) BLength

func (*FeedServiceGetVideoListByIdResult) DeepEqual

func (*FeedServiceGetVideoListByIdResult) FastRead

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

func (*FeedServiceGetVideoListByIdResult) FastReadField0

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

func (*FeedServiceGetVideoListByIdResult) FastWrite

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

for compatibility

func (*FeedServiceGetVideoListByIdResult) FastWriteNocopy

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

func (*FeedServiceGetVideoListByIdResult) Field0DeepEqual

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

func (*FeedServiceGetVideoListByIdResult) GetResult

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

func (*FeedServiceGetVideoListByIdResult) GetSuccess

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

func (*FeedServiceGetVideoListByIdResult) InitDefault

func (p *FeedServiceGetVideoListByIdResult) InitDefault()

func (*FeedServiceGetVideoListByIdResult) IsSetSuccess

func (p *FeedServiceGetVideoListByIdResult) IsSetSuccess() bool

func (*FeedServiceGetVideoListByIdResult) Read

func (*FeedServiceGetVideoListByIdResult) ReadField0

func (*FeedServiceGetVideoListByIdResult) SetSuccess

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

func (*FeedServiceGetVideoListByIdResult) String

func (*FeedServiceGetVideoListByIdResult) Write

type FeedServiceGetVideoListResult

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

func NewFeedServiceGetVideoListResult

func NewFeedServiceGetVideoListResult() *FeedServiceGetVideoListResult

func (*FeedServiceGetVideoListResult) BLength

func (p *FeedServiceGetVideoListResult) BLength() int

func (*FeedServiceGetVideoListResult) DeepEqual

func (*FeedServiceGetVideoListResult) FastRead

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

func (*FeedServiceGetVideoListResult) FastReadField0

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

func (*FeedServiceGetVideoListResult) FastWrite

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

for compatibility

func (*FeedServiceGetVideoListResult) FastWriteNocopy

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

func (*FeedServiceGetVideoListResult) Field0DeepEqual

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

func (*FeedServiceGetVideoListResult) GetResult

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

func (*FeedServiceGetVideoListResult) GetSuccess

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

func (*FeedServiceGetVideoListResult) InitDefault

func (p *FeedServiceGetVideoListResult) InitDefault()

func (*FeedServiceGetVideoListResult) IsSetSuccess

func (p *FeedServiceGetVideoListResult) IsSetSuccess() bool

func (*FeedServiceGetVideoListResult) Read

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

func (*FeedServiceGetVideoListResult) ReadField0

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

func (*FeedServiceGetVideoListResult) SetSuccess

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

func (*FeedServiceGetVideoListResult) String

func (*FeedServiceGetVideoListResult) Write

func (p *FeedServiceGetVideoListResult) 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 GetByIDRequest

type GetByIDRequest struct {
	QueryId int64 `thrift:"query_id,1,required" frugal:"1,required,i64" json:"query_id"`
	UserId  int64 `thrift:"user_id,2,required" frugal:"2,required,i64" json:"user_id"`
}
var FeedServiceGetVideoListByIdArgs_Request_DEFAULT *GetByIDRequest

func NewGetByIDRequest

func NewGetByIDRequest() *GetByIDRequest

func (*GetByIDRequest) BLength

func (p *GetByIDRequest) BLength() int

func (*GetByIDRequest) DeepEqual

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

func (*GetByIDRequest) FastRead

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

func (*GetByIDRequest) FastReadField1

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

func (*GetByIDRequest) FastReadField2

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

func (*GetByIDRequest) FastWrite

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

for compatibility

func (*GetByIDRequest) FastWriteNocopy

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

func (*GetByIDRequest) Field1DeepEqual

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

func (*GetByIDRequest) Field2DeepEqual

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

func (*GetByIDRequest) GetQueryId

func (p *GetByIDRequest) GetQueryId() (v int64)

func (*GetByIDRequest) GetUserId

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

func (*GetByIDRequest) InitDefault

func (p *GetByIDRequest) InitDefault()

func (*GetByIDRequest) Read

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

func (*GetByIDRequest) ReadField1

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

func (*GetByIDRequest) ReadField2

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

func (*GetByIDRequest) SetQueryId

func (p *GetByIDRequest) SetQueryId(val int64)

func (*GetByIDRequest) SetUserId

func (p *GetByIDRequest) SetUserId(val int64)

func (*GetByIDRequest) String

func (p *GetByIDRequest) String() string

func (*GetByIDRequest) Write

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

type VideoInfo

type VideoInfo struct {
	Id            int64          `thrift:"id,1" frugal:"1,default,i64" json:"id"`
	Author        *user.UserInfo `thrift:"author,2" frugal:"2,default,user.UserInfo" 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 NewVideoInfo

func NewVideoInfo() *VideoInfo

func (*VideoInfo) BLength

func (p *VideoInfo) BLength() int

func (*VideoInfo) DeepEqual

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

func (*VideoInfo) FastRead

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

func (*VideoInfo) FastReadField1

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

func (*VideoInfo) FastReadField2

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

func (*VideoInfo) FastReadField3

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

func (*VideoInfo) FastReadField4

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

func (*VideoInfo) FastReadField5

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

func (*VideoInfo) FastReadField6

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

func (*VideoInfo) FastReadField7

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

func (*VideoInfo) FastReadField8

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

func (*VideoInfo) FastWrite

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

for compatibility

func (*VideoInfo) FastWriteNocopy

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

func (*VideoInfo) Field1DeepEqual

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

func (*VideoInfo) Field2DeepEqual

func (p *VideoInfo) Field2DeepEqual(src *user.UserInfo) bool

func (*VideoInfo) Field3DeepEqual

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

func (*VideoInfo) Field4DeepEqual

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

func (*VideoInfo) Field5DeepEqual

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

func (*VideoInfo) Field6DeepEqual

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

func (*VideoInfo) Field7DeepEqual

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

func (*VideoInfo) Field8DeepEqual

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

func (*VideoInfo) GetAuthor

func (p *VideoInfo) GetAuthor() (v *user.UserInfo)

func (*VideoInfo) GetCommentCount

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

func (*VideoInfo) GetCoverUrl

func (p *VideoInfo) GetCoverUrl() (v string)

func (*VideoInfo) GetFavoriteCount

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

func (*VideoInfo) GetId

func (p *VideoInfo) GetId() (v int64)

func (*VideoInfo) GetIsFavorite

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

func (*VideoInfo) GetPlayUrl

func (p *VideoInfo) GetPlayUrl() (v string)

func (*VideoInfo) GetTitle

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

func (*VideoInfo) InitDefault

func (p *VideoInfo) InitDefault()

func (*VideoInfo) IsSetAuthor

func (p *VideoInfo) IsSetAuthor() bool

func (*VideoInfo) Read

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

func (*VideoInfo) ReadField1

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

func (*VideoInfo) ReadField2

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

func (*VideoInfo) ReadField3

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

func (*VideoInfo) ReadField4

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

func (*VideoInfo) ReadField5

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

func (*VideoInfo) ReadField6

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

func (*VideoInfo) ReadField7

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

func (*VideoInfo) ReadField8

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

func (*VideoInfo) SetAuthor

func (p *VideoInfo) SetAuthor(val *user.UserInfo)

func (*VideoInfo) SetCommentCount

func (p *VideoInfo) SetCommentCount(val int64)

func (*VideoInfo) SetCoverUrl

func (p *VideoInfo) SetCoverUrl(val string)

func (*VideoInfo) SetFavoriteCount

func (p *VideoInfo) SetFavoriteCount(val int64)

func (*VideoInfo) SetId

func (p *VideoInfo) SetId(val int64)

func (*VideoInfo) SetIsFavorite

func (p *VideoInfo) SetIsFavorite(val bool)

func (*VideoInfo) SetPlayUrl

func (p *VideoInfo) SetPlayUrl(val string)

func (*VideoInfo) SetTitle

func (p *VideoInfo) SetTitle(val string)

func (*VideoInfo) String

func (p *VideoInfo) String() string

func (*VideoInfo) Write

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

Directories

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

Jump to

Keyboard shortcuts

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