Documentation ¶
Index ¶
- Variables
- type FeedRequest
- func (p *FeedRequest) BLength() int
- func (p *FeedRequest) DeepEqual(ano *FeedRequest) bool
- func (p *FeedRequest) FastRead(buf []byte) (int, error)
- func (p *FeedRequest) FastReadField1(buf []byte) (int, error)
- func (p *FeedRequest) FastReadField2(buf []byte) (int, error)
- func (p *FeedRequest) FastWrite(buf []byte) int
- func (p *FeedRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FeedRequest) Field1DeepEqual(src *string) bool
- func (p *FeedRequest) Field2DeepEqual(src *int64) bool
- func (p *FeedRequest) GetLatestTime() (v string)
- func (p *FeedRequest) GetUserId() (v int64)
- func (p *FeedRequest) InitDefault()
- func (p *FeedRequest) IsSetLatestTime() bool
- func (p *FeedRequest) IsSetUserId() bool
- func (p *FeedRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FeedRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *FeedRequest) SetLatestTime(val *string)
- func (p *FeedRequest) SetUserId(val *int64)
- func (p *FeedRequest) String() string
- func (p *FeedRequest) Write(oprot thrift.TProtocol) (err error)
- type FeedResponse
- func (p *FeedResponse) BLength() int
- func (p *FeedResponse) DeepEqual(ano *FeedResponse) bool
- func (p *FeedResponse) FastRead(buf []byte) (int, error)
- func (p *FeedResponse) FastReadField1(buf []byte) (int, error)
- func (p *FeedResponse) FastReadField2(buf []byte) (int, error)
- func (p *FeedResponse) FastReadField3(buf []byte) (int, error)
- func (p *FeedResponse) FastReadField4(buf []byte) (int, error)
- func (p *FeedResponse) FastWrite(buf []byte) int
- func (p *FeedResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FeedResponse) Field1DeepEqual(src int64) bool
- func (p *FeedResponse) Field2DeepEqual(src *string) bool
- func (p *FeedResponse) Field3DeepEqual(src *int64) bool
- func (p *FeedResponse) Field4DeepEqual(src []*VideoInfo) bool
- func (p *FeedResponse) GetNextTime() (v int64)
- func (p *FeedResponse) GetStatusCode() (v int64)
- func (p *FeedResponse) GetStatusMsg() (v string)
- func (p *FeedResponse) GetVideoList() (v []*VideoInfo)
- func (p *FeedResponse) InitDefault()
- func (p *FeedResponse) IsSetNextTime() bool
- func (p *FeedResponse) IsSetStatusMsg() bool
- func (p *FeedResponse) IsSetVideoList() bool
- func (p *FeedResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FeedResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *FeedResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *FeedResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *FeedResponse) SetNextTime(val *int64)
- func (p *FeedResponse) SetStatusCode(val int64)
- func (p *FeedResponse) SetStatusMsg(val *string)
- func (p *FeedResponse) SetVideoList(val []*VideoInfo)
- func (p *FeedResponse) String() string
- func (p *FeedResponse) Write(oprot thrift.TProtocol) (err error)
- type FeedService
- type FeedServiceClient
- type FeedServiceGetVideoListArgs
- func (p *FeedServiceGetVideoListArgs) BLength() int
- func (p *FeedServiceGetVideoListArgs) DeepEqual(ano *FeedServiceGetVideoListArgs) bool
- func (p *FeedServiceGetVideoListArgs) FastRead(buf []byte) (int, error)
- func (p *FeedServiceGetVideoListArgs) FastReadField1(buf []byte) (int, error)
- func (p *FeedServiceGetVideoListArgs) FastWrite(buf []byte) int
- func (p *FeedServiceGetVideoListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FeedServiceGetVideoListArgs) Field1DeepEqual(src *FeedRequest) bool
- func (p *FeedServiceGetVideoListArgs) GetFirstArgument() interface{}
- func (p *FeedServiceGetVideoListArgs) GetRequest() (v *FeedRequest)
- func (p *FeedServiceGetVideoListArgs) InitDefault()
- func (p *FeedServiceGetVideoListArgs) IsSetRequest() bool
- func (p *FeedServiceGetVideoListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedServiceGetVideoListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FeedServiceGetVideoListArgs) SetRequest(val *FeedRequest)
- func (p *FeedServiceGetVideoListArgs) String() string
- func (p *FeedServiceGetVideoListArgs) Write(oprot thrift.TProtocol) (err error)
- type FeedServiceGetVideoListByIdArgs
- func (p *FeedServiceGetVideoListByIdArgs) BLength() int
- func (p *FeedServiceGetVideoListByIdArgs) DeepEqual(ano *FeedServiceGetVideoListByIdArgs) bool
- func (p *FeedServiceGetVideoListByIdArgs) FastRead(buf []byte) (int, error)
- func (p *FeedServiceGetVideoListByIdArgs) FastReadField1(buf []byte) (int, error)
- func (p *FeedServiceGetVideoListByIdArgs) FastWrite(buf []byte) int
- func (p *FeedServiceGetVideoListByIdArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FeedServiceGetVideoListByIdArgs) Field1DeepEqual(src *GetByIDRequest) bool
- func (p *FeedServiceGetVideoListByIdArgs) GetFirstArgument() interface{}
- func (p *FeedServiceGetVideoListByIdArgs) GetRequest() (v *GetByIDRequest)
- func (p *FeedServiceGetVideoListByIdArgs) InitDefault()
- func (p *FeedServiceGetVideoListByIdArgs) IsSetRequest() bool
- func (p *FeedServiceGetVideoListByIdArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedServiceGetVideoListByIdArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FeedServiceGetVideoListByIdArgs) SetRequest(val *GetByIDRequest)
- func (p *FeedServiceGetVideoListByIdArgs) String() string
- func (p *FeedServiceGetVideoListByIdArgs) Write(oprot thrift.TProtocol) (err error)
- type FeedServiceGetVideoListByIdResult
- func (p *FeedServiceGetVideoListByIdResult) BLength() int
- func (p *FeedServiceGetVideoListByIdResult) DeepEqual(ano *FeedServiceGetVideoListByIdResult) bool
- func (p *FeedServiceGetVideoListByIdResult) FastRead(buf []byte) (int, error)
- func (p *FeedServiceGetVideoListByIdResult) FastReadField0(buf []byte) (int, error)
- func (p *FeedServiceGetVideoListByIdResult) FastWrite(buf []byte) int
- func (p *FeedServiceGetVideoListByIdResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FeedServiceGetVideoListByIdResult) Field0DeepEqual(src *FeedResponse) bool
- func (p *FeedServiceGetVideoListByIdResult) GetResult() interface{}
- func (p *FeedServiceGetVideoListByIdResult) GetSuccess() (v *FeedResponse)
- func (p *FeedServiceGetVideoListByIdResult) InitDefault()
- func (p *FeedServiceGetVideoListByIdResult) IsSetSuccess() bool
- func (p *FeedServiceGetVideoListByIdResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedServiceGetVideoListByIdResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FeedServiceGetVideoListByIdResult) SetSuccess(x interface{})
- func (p *FeedServiceGetVideoListByIdResult) String() string
- func (p *FeedServiceGetVideoListByIdResult) Write(oprot thrift.TProtocol) (err error)
- type FeedServiceGetVideoListResult
- func (p *FeedServiceGetVideoListResult) BLength() int
- func (p *FeedServiceGetVideoListResult) DeepEqual(ano *FeedServiceGetVideoListResult) bool
- func (p *FeedServiceGetVideoListResult) FastRead(buf []byte) (int, error)
- func (p *FeedServiceGetVideoListResult) FastReadField0(buf []byte) (int, error)
- func (p *FeedServiceGetVideoListResult) FastWrite(buf []byte) int
- func (p *FeedServiceGetVideoListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FeedServiceGetVideoListResult) Field0DeepEqual(src *FeedResponse) bool
- func (p *FeedServiceGetVideoListResult) GetResult() interface{}
- func (p *FeedServiceGetVideoListResult) GetSuccess() (v *FeedResponse)
- func (p *FeedServiceGetVideoListResult) InitDefault()
- func (p *FeedServiceGetVideoListResult) IsSetSuccess() bool
- func (p *FeedServiceGetVideoListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedServiceGetVideoListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FeedServiceGetVideoListResult) SetSuccess(x interface{})
- func (p *FeedServiceGetVideoListResult) String() string
- func (p *FeedServiceGetVideoListResult) Write(oprot thrift.TProtocol) (err error)
- type FeedServiceProcessor
- func (p *FeedServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *FeedServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *FeedServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *FeedServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type GetByIDRequest
- func (p *GetByIDRequest) BLength() int
- func (p *GetByIDRequest) DeepEqual(ano *GetByIDRequest) bool
- func (p *GetByIDRequest) FastRead(buf []byte) (int, error)
- func (p *GetByIDRequest) FastReadField1(buf []byte) (int, error)
- func (p *GetByIDRequest) FastReadField2(buf []byte) (int, error)
- func (p *GetByIDRequest) FastWrite(buf []byte) int
- func (p *GetByIDRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetByIDRequest) Field1DeepEqual(src int64) bool
- func (p *GetByIDRequest) Field2DeepEqual(src int64) bool
- func (p *GetByIDRequest) GetQueryId() (v int64)
- func (p *GetByIDRequest) GetUserId() (v int64)
- func (p *GetByIDRequest) InitDefault()
- func (p *GetByIDRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetByIDRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *GetByIDRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *GetByIDRequest) SetQueryId(val int64)
- func (p *GetByIDRequest) SetUserId(val int64)
- func (p *GetByIDRequest) String() string
- func (p *GetByIDRequest) Write(oprot thrift.TProtocol) (err error)
- type VideoInfo
- func (p *VideoInfo) BLength() int
- func (p *VideoInfo) DeepEqual(ano *VideoInfo) bool
- func (p *VideoInfo) FastRead(buf []byte) (int, error)
- func (p *VideoInfo) FastReadField1(buf []byte) (int, error)
- func (p *VideoInfo) FastReadField2(buf []byte) (int, error)
- func (p *VideoInfo) FastReadField3(buf []byte) (int, error)
- func (p *VideoInfo) FastReadField4(buf []byte) (int, error)
- func (p *VideoInfo) FastReadField5(buf []byte) (int, error)
- func (p *VideoInfo) FastReadField6(buf []byte) (int, error)
- func (p *VideoInfo) FastReadField7(buf []byte) (int, error)
- func (p *VideoInfo) FastReadField8(buf []byte) (int, error)
- func (p *VideoInfo) FastWrite(buf []byte) int
- func (p *VideoInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoInfo) Field1DeepEqual(src int64) bool
- func (p *VideoInfo) Field2DeepEqual(src *user.UserInfo) bool
- func (p *VideoInfo) Field3DeepEqual(src string) bool
- func (p *VideoInfo) Field4DeepEqual(src string) bool
- func (p *VideoInfo) Field5DeepEqual(src int64) bool
- func (p *VideoInfo) Field6DeepEqual(src int64) bool
- func (p *VideoInfo) Field7DeepEqual(src bool) bool
- func (p *VideoInfo) Field8DeepEqual(src string) bool
- func (p *VideoInfo) GetAuthor() (v *user.UserInfo)
- func (p *VideoInfo) GetCommentCount() (v int64)
- func (p *VideoInfo) GetCoverUrl() (v string)
- func (p *VideoInfo) GetFavoriteCount() (v int64)
- func (p *VideoInfo) GetId() (v int64)
- func (p *VideoInfo) GetIsFavorite() (v bool)
- func (p *VideoInfo) GetPlayUrl() (v string)
- func (p *VideoInfo) GetTitle() (v string)
- func (p *VideoInfo) InitDefault()
- func (p *VideoInfo) IsSetAuthor() bool
- func (p *VideoInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField4(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField5(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField6(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField7(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField8(iprot thrift.TProtocol) error
- func (p *VideoInfo) SetAuthor(val *user.UserInfo)
- func (p *VideoInfo) SetCommentCount(val int64)
- func (p *VideoInfo) SetCoverUrl(val string)
- func (p *VideoInfo) SetFavoriteCount(val int64)
- func (p *VideoInfo) SetId(val int64)
- func (p *VideoInfo) SetIsFavorite(val bool)
- func (p *VideoInfo) SetPlayUrl(val string)
- func (p *VideoInfo) SetTitle(val string)
- func (p *VideoInfo) String() string
- func (p *VideoInfo) Write(oprot thrift.TProtocol) (err error)
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) FastReadField1 ¶
func (p *FeedRequest) FastReadField1(buf []byte) (int, error)
func (*FeedRequest) FastReadField2 ¶
func (p *FeedRequest) FastReadField2(buf []byte) (int, error)
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) 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
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) 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) 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) 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
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 NewFeedServiceClientFactory ¶
func NewFeedServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *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 (p *FeedServiceGetVideoListArgs) DeepEqual(ano *FeedServiceGetVideoListArgs) bool
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
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 (p *FeedServiceGetVideoListByIdArgs) DeepEqual(ano *FeedServiceGetVideoListByIdArgs) bool
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 (p *FeedServiceGetVideoListByIdArgs) Read(iprot thrift.TProtocol) (err error)
func (*FeedServiceGetVideoListByIdArgs) ReadField1 ¶
func (p *FeedServiceGetVideoListByIdArgs) ReadField1(iprot thrift.TProtocol) error
func (*FeedServiceGetVideoListByIdArgs) SetRequest ¶
func (p *FeedServiceGetVideoListByIdArgs) SetRequest(val *GetByIDRequest)
func (*FeedServiceGetVideoListByIdArgs) String ¶
func (p *FeedServiceGetVideoListByIdArgs) String() string
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 (p *FeedServiceGetVideoListByIdResult) BLength() int
func (*FeedServiceGetVideoListByIdResult) DeepEqual ¶
func (p *FeedServiceGetVideoListByIdResult) DeepEqual(ano *FeedServiceGetVideoListByIdResult) bool
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 (p *FeedServiceGetVideoListByIdResult) Read(iprot thrift.TProtocol) (err error)
func (*FeedServiceGetVideoListByIdResult) ReadField0 ¶
func (p *FeedServiceGetVideoListByIdResult) ReadField0(iprot thrift.TProtocol) error
func (*FeedServiceGetVideoListByIdResult) SetSuccess ¶
func (p *FeedServiceGetVideoListByIdResult) SetSuccess(x interface{})
func (*FeedServiceGetVideoListByIdResult) String ¶
func (p *FeedServiceGetVideoListByIdResult) String() string
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 (p *FeedServiceGetVideoListResult) DeepEqual(ano *FeedServiceGetVideoListResult) bool
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 (p *FeedServiceGetVideoListResult) String() string
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) 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) 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
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) FastWriteNocopy ¶
func (p *VideoInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*VideoInfo) Field1DeepEqual ¶
func (*VideoInfo) Field3DeepEqual ¶
func (*VideoInfo) Field4DeepEqual ¶
func (*VideoInfo) Field5DeepEqual ¶
func (*VideoInfo) Field6DeepEqual ¶
func (*VideoInfo) Field7DeepEqual ¶
func (*VideoInfo) Field8DeepEqual ¶
func (*VideoInfo) GetCommentCount ¶
func (*VideoInfo) GetCoverUrl ¶
func (*VideoInfo) GetFavoriteCount ¶
func (*VideoInfo) GetIsFavorite ¶
func (*VideoInfo) GetPlayUrl ¶
func (*VideoInfo) InitDefault ¶
func (p *VideoInfo) InitDefault()
func (*VideoInfo) IsSetAuthor ¶
func (*VideoInfo) SetCommentCount ¶
func (*VideoInfo) SetCoverUrl ¶
func (*VideoInfo) SetFavoriteCount ¶
func (*VideoInfo) SetIsFavorite ¶
func (*VideoInfo) SetPlayUrl ¶
Click to show internal directories.
Click to hide internal directories.