Documentation ¶
Index ¶
- Variables
- type FavoriteService
- type FavoriteServiceClient
- func NewFavoriteServiceClient(c thrift.TClient) *FavoriteServiceClient
- func NewFavoriteServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *FavoriteServiceClient
- func NewFavoriteServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *FavoriteServiceClient
- type FavoriteServiceGetLikeListArgs
- func (p *FavoriteServiceGetLikeListArgs) BLength() int
- func (p *FavoriteServiceGetLikeListArgs) DeepEqual(ano *FavoriteServiceGetLikeListArgs) bool
- func (p *FavoriteServiceGetLikeListArgs) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceGetLikeListArgs) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteServiceGetLikeListArgs) FastWrite(buf []byte) int
- func (p *FavoriteServiceGetLikeListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceGetLikeListArgs) Field1DeepEqual(src *LikeListRequest) bool
- func (p *FavoriteServiceGetLikeListArgs) GetFirstArgument() interface{}
- func (p *FavoriteServiceGetLikeListArgs) GetRequest() (v *LikeListRequest)
- func (p *FavoriteServiceGetLikeListArgs) InitDefault()
- func (p *FavoriteServiceGetLikeListArgs) IsSetRequest() bool
- func (p *FavoriteServiceGetLikeListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceGetLikeListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteServiceGetLikeListArgs) SetRequest(val *LikeListRequest)
- func (p *FavoriteServiceGetLikeListArgs) String() string
- func (p *FavoriteServiceGetLikeListArgs) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceGetLikeListResult
- func (p *FavoriteServiceGetLikeListResult) BLength() int
- func (p *FavoriteServiceGetLikeListResult) DeepEqual(ano *FavoriteServiceGetLikeListResult) bool
- func (p *FavoriteServiceGetLikeListResult) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceGetLikeListResult) FastReadField0(buf []byte) (int, error)
- func (p *FavoriteServiceGetLikeListResult) FastWrite(buf []byte) int
- func (p *FavoriteServiceGetLikeListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceGetLikeListResult) Field0DeepEqual(src *LikeListResponse) bool
- func (p *FavoriteServiceGetLikeListResult) GetResult() interface{}
- func (p *FavoriteServiceGetLikeListResult) GetSuccess() (v *LikeListResponse)
- func (p *FavoriteServiceGetLikeListResult) InitDefault()
- func (p *FavoriteServiceGetLikeListResult) IsSetSuccess() bool
- func (p *FavoriteServiceGetLikeListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceGetLikeListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FavoriteServiceGetLikeListResult) SetSuccess(x interface{})
- func (p *FavoriteServiceGetLikeListResult) String() string
- func (p *FavoriteServiceGetLikeListResult) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceLikeActionArgs
- func (p *FavoriteServiceLikeActionArgs) BLength() int
- func (p *FavoriteServiceLikeActionArgs) DeepEqual(ano *FavoriteServiceLikeActionArgs) bool
- func (p *FavoriteServiceLikeActionArgs) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceLikeActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteServiceLikeActionArgs) FastWrite(buf []byte) int
- func (p *FavoriteServiceLikeActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceLikeActionArgs) Field1DeepEqual(src *LikeRequest) bool
- func (p *FavoriteServiceLikeActionArgs) GetFirstArgument() interface{}
- func (p *FavoriteServiceLikeActionArgs) GetRequest() (v *LikeRequest)
- func (p *FavoriteServiceLikeActionArgs) InitDefault()
- func (p *FavoriteServiceLikeActionArgs) IsSetRequest() bool
- func (p *FavoriteServiceLikeActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceLikeActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteServiceLikeActionArgs) SetRequest(val *LikeRequest)
- func (p *FavoriteServiceLikeActionArgs) String() string
- func (p *FavoriteServiceLikeActionArgs) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceLikeActionResult
- func (p *FavoriteServiceLikeActionResult) BLength() int
- func (p *FavoriteServiceLikeActionResult) DeepEqual(ano *FavoriteServiceLikeActionResult) bool
- func (p *FavoriteServiceLikeActionResult) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceLikeActionResult) FastReadField0(buf []byte) (int, error)
- func (p *FavoriteServiceLikeActionResult) FastWrite(buf []byte) int
- func (p *FavoriteServiceLikeActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceLikeActionResult) Field0DeepEqual(src *LikeResponse) bool
- func (p *FavoriteServiceLikeActionResult) GetResult() interface{}
- func (p *FavoriteServiceLikeActionResult) GetSuccess() (v *LikeResponse)
- func (p *FavoriteServiceLikeActionResult) InitDefault()
- func (p *FavoriteServiceLikeActionResult) IsSetSuccess() bool
- func (p *FavoriteServiceLikeActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceLikeActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FavoriteServiceLikeActionResult) SetSuccess(x interface{})
- func (p *FavoriteServiceLikeActionResult) String() string
- func (p *FavoriteServiceLikeActionResult) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceProcessor
- func (p *FavoriteServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *FavoriteServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *FavoriteServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *FavoriteServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type LikeListRequest
- func (p *LikeListRequest) BLength() int
- func (p *LikeListRequest) DeepEqual(ano *LikeListRequest) bool
- func (p *LikeListRequest) FastRead(buf []byte) (int, error)
- func (p *LikeListRequest) FastReadField1(buf []byte) (int, error)
- func (p *LikeListRequest) FastReadField2(buf []byte) (int, error)
- func (p *LikeListRequest) FastWrite(buf []byte) int
- func (p *LikeListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *LikeListRequest) Field1DeepEqual(src int64) bool
- func (p *LikeListRequest) Field2DeepEqual(src int64) bool
- func (p *LikeListRequest) GetQueryId() (v int64)
- func (p *LikeListRequest) GetUserId() (v int64)
- func (p *LikeListRequest) InitDefault()
- func (p *LikeListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *LikeListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *LikeListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *LikeListRequest) SetQueryId(val int64)
- func (p *LikeListRequest) SetUserId(val int64)
- func (p *LikeListRequest) String() string
- func (p *LikeListRequest) Write(oprot thrift.TProtocol) (err error)
- type LikeListResponse
- func (p *LikeListResponse) BLength() int
- func (p *LikeListResponse) DeepEqual(ano *LikeListResponse) bool
- func (p *LikeListResponse) FastRead(buf []byte) (int, error)
- func (p *LikeListResponse) FastReadField1(buf []byte) (int, error)
- func (p *LikeListResponse) FastReadField2(buf []byte) (int, error)
- func (p *LikeListResponse) FastReadField4(buf []byte) (int, error)
- func (p *LikeListResponse) FastWrite(buf []byte) int
- func (p *LikeListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *LikeListResponse) Field1DeepEqual(src int64) bool
- func (p *LikeListResponse) Field2DeepEqual(src *string) bool
- func (p *LikeListResponse) Field4DeepEqual(src []*feed.VideoInfo) bool
- func (p *LikeListResponse) GetStatusCode() (v int64)
- func (p *LikeListResponse) GetStatusMsg() (v string)
- func (p *LikeListResponse) GetVideoList() (v []*feed.VideoInfo)
- func (p *LikeListResponse) InitDefault()
- func (p *LikeListResponse) IsSetStatusMsg() bool
- func (p *LikeListResponse) IsSetVideoList() bool
- func (p *LikeListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *LikeListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *LikeListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *LikeListResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *LikeListResponse) SetStatusCode(val int64)
- func (p *LikeListResponse) SetStatusMsg(val *string)
- func (p *LikeListResponse) SetVideoList(val []*feed.VideoInfo)
- func (p *LikeListResponse) String() string
- func (p *LikeListResponse) Write(oprot thrift.TProtocol) (err error)
- type LikeRequest
- func (p *LikeRequest) BLength() int
- func (p *LikeRequest) DeepEqual(ano *LikeRequest) bool
- func (p *LikeRequest) FastRead(buf []byte) (int, error)
- func (p *LikeRequest) FastReadField1(buf []byte) (int, error)
- func (p *LikeRequest) FastReadField2(buf []byte) (int, error)
- func (p *LikeRequest) FastReadField3(buf []byte) (int, error)
- func (p *LikeRequest) FastWrite(buf []byte) int
- func (p *LikeRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *LikeRequest) Field1DeepEqual(src int64) bool
- func (p *LikeRequest) Field2DeepEqual(src int64) bool
- func (p *LikeRequest) Field3DeepEqual(src bool) bool
- func (p *LikeRequest) GetActionType() (v bool)
- func (p *LikeRequest) GetUserId() (v int64)
- func (p *LikeRequest) GetVideoId() (v int64)
- func (p *LikeRequest) InitDefault()
- func (p *LikeRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *LikeRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *LikeRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *LikeRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *LikeRequest) SetActionType(val bool)
- func (p *LikeRequest) SetUserId(val int64)
- func (p *LikeRequest) SetVideoId(val int64)
- func (p *LikeRequest) String() string
- func (p *LikeRequest) Write(oprot thrift.TProtocol) (err error)
- type LikeResponse
- func (p *LikeResponse) BLength() int
- func (p *LikeResponse) DeepEqual(ano *LikeResponse) bool
- func (p *LikeResponse) FastRead(buf []byte) (int, error)
- func (p *LikeResponse) FastReadField1(buf []byte) (int, error)
- func (p *LikeResponse) FastReadField2(buf []byte) (int, error)
- func (p *LikeResponse) FastWrite(buf []byte) int
- func (p *LikeResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *LikeResponse) Field1DeepEqual(src int64) bool
- func (p *LikeResponse) Field2DeepEqual(src string) bool
- func (p *LikeResponse) GetStatusCode() (v int64)
- func (p *LikeResponse) GetStatusMsg() (v string)
- func (p *LikeResponse) InitDefault()
- func (p *LikeResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *LikeResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *LikeResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *LikeResponse) SetStatusCode(val int64)
- func (p *LikeResponse) SetStatusMsg(val string)
- func (p *LikeResponse) String() string
- func (p *LikeResponse) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var LikeListResponse_StatusMsg_DEFAULT string
View Source
var LikeListResponse_VideoList_DEFAULT []*feed.VideoInfo
Functions ¶
This section is empty.
Types ¶
type FavoriteService ¶
type FavoriteService interface { LikeAction(ctx context.Context, request *LikeRequest) (r *LikeResponse, err error) GetLikeList(ctx context.Context, request *LikeListRequest) (r *LikeListResponse, err error) }
type FavoriteServiceClient ¶
type FavoriteServiceClient struct {
// contains filtered or unexported fields
}
func NewFavoriteServiceClient ¶
func NewFavoriteServiceClient(c thrift.TClient) *FavoriteServiceClient
func NewFavoriteServiceClientFactory ¶
func NewFavoriteServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *FavoriteServiceClient
func NewFavoriteServiceClientProtocol ¶
func NewFavoriteServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *FavoriteServiceClient
func (*FavoriteServiceClient) Client_ ¶
func (p *FavoriteServiceClient) Client_() thrift.TClient
func (*FavoriteServiceClient) GetLikeList ¶
func (p *FavoriteServiceClient) GetLikeList(ctx context.Context, request *LikeListRequest) (r *LikeListResponse, err error)
func (*FavoriteServiceClient) LikeAction ¶
func (p *FavoriteServiceClient) LikeAction(ctx context.Context, request *LikeRequest) (r *LikeResponse, err error)
type FavoriteServiceGetLikeListArgs ¶
type FavoriteServiceGetLikeListArgs struct {
Request *LikeListRequest `thrift:"request,1" frugal:"1,default,LikeListRequest" json:"request"`
}
func NewFavoriteServiceGetLikeListArgs ¶
func NewFavoriteServiceGetLikeListArgs() *FavoriteServiceGetLikeListArgs
func (*FavoriteServiceGetLikeListArgs) BLength ¶
func (p *FavoriteServiceGetLikeListArgs) BLength() int
func (*FavoriteServiceGetLikeListArgs) DeepEqual ¶
func (p *FavoriteServiceGetLikeListArgs) DeepEqual(ano *FavoriteServiceGetLikeListArgs) bool
func (*FavoriteServiceGetLikeListArgs) FastRead ¶
func (p *FavoriteServiceGetLikeListArgs) FastRead(buf []byte) (int, error)
func (*FavoriteServiceGetLikeListArgs) FastReadField1 ¶
func (p *FavoriteServiceGetLikeListArgs) FastReadField1(buf []byte) (int, error)
func (*FavoriteServiceGetLikeListArgs) FastWrite ¶
func (p *FavoriteServiceGetLikeListArgs) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceGetLikeListArgs) FastWriteNocopy ¶
func (p *FavoriteServiceGetLikeListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceGetLikeListArgs) Field1DeepEqual ¶
func (p *FavoriteServiceGetLikeListArgs) Field1DeepEqual(src *LikeListRequest) bool
func (*FavoriteServiceGetLikeListArgs) GetFirstArgument ¶
func (p *FavoriteServiceGetLikeListArgs) GetFirstArgument() interface{}
func (*FavoriteServiceGetLikeListArgs) GetRequest ¶
func (p *FavoriteServiceGetLikeListArgs) GetRequest() (v *LikeListRequest)
func (*FavoriteServiceGetLikeListArgs) InitDefault ¶
func (p *FavoriteServiceGetLikeListArgs) InitDefault()
func (*FavoriteServiceGetLikeListArgs) IsSetRequest ¶
func (p *FavoriteServiceGetLikeListArgs) IsSetRequest() bool
func (*FavoriteServiceGetLikeListArgs) Read ¶
func (p *FavoriteServiceGetLikeListArgs) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceGetLikeListArgs) ReadField1 ¶
func (p *FavoriteServiceGetLikeListArgs) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteServiceGetLikeListArgs) SetRequest ¶
func (p *FavoriteServiceGetLikeListArgs) SetRequest(val *LikeListRequest)
func (*FavoriteServiceGetLikeListArgs) String ¶
func (p *FavoriteServiceGetLikeListArgs) String() string
type FavoriteServiceGetLikeListResult ¶
type FavoriteServiceGetLikeListResult struct {
Success *LikeListResponse `thrift:"success,0,optional" frugal:"0,optional,LikeListResponse" json:"success,omitempty"`
}
func NewFavoriteServiceGetLikeListResult ¶
func NewFavoriteServiceGetLikeListResult() *FavoriteServiceGetLikeListResult
func (*FavoriteServiceGetLikeListResult) BLength ¶
func (p *FavoriteServiceGetLikeListResult) BLength() int
func (*FavoriteServiceGetLikeListResult) DeepEqual ¶
func (p *FavoriteServiceGetLikeListResult) DeepEqual(ano *FavoriteServiceGetLikeListResult) bool
func (*FavoriteServiceGetLikeListResult) FastRead ¶
func (p *FavoriteServiceGetLikeListResult) FastRead(buf []byte) (int, error)
func (*FavoriteServiceGetLikeListResult) FastReadField0 ¶
func (p *FavoriteServiceGetLikeListResult) FastReadField0(buf []byte) (int, error)
func (*FavoriteServiceGetLikeListResult) FastWrite ¶
func (p *FavoriteServiceGetLikeListResult) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceGetLikeListResult) FastWriteNocopy ¶
func (p *FavoriteServiceGetLikeListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceGetLikeListResult) Field0DeepEqual ¶
func (p *FavoriteServiceGetLikeListResult) Field0DeepEqual(src *LikeListResponse) bool
func (*FavoriteServiceGetLikeListResult) GetResult ¶
func (p *FavoriteServiceGetLikeListResult) GetResult() interface{}
func (*FavoriteServiceGetLikeListResult) GetSuccess ¶
func (p *FavoriteServiceGetLikeListResult) GetSuccess() (v *LikeListResponse)
func (*FavoriteServiceGetLikeListResult) InitDefault ¶
func (p *FavoriteServiceGetLikeListResult) InitDefault()
func (*FavoriteServiceGetLikeListResult) IsSetSuccess ¶
func (p *FavoriteServiceGetLikeListResult) IsSetSuccess() bool
func (*FavoriteServiceGetLikeListResult) Read ¶
func (p *FavoriteServiceGetLikeListResult) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceGetLikeListResult) ReadField0 ¶
func (p *FavoriteServiceGetLikeListResult) ReadField0(iprot thrift.TProtocol) error
func (*FavoriteServiceGetLikeListResult) SetSuccess ¶
func (p *FavoriteServiceGetLikeListResult) SetSuccess(x interface{})
func (*FavoriteServiceGetLikeListResult) String ¶
func (p *FavoriteServiceGetLikeListResult) String() string
type FavoriteServiceLikeActionArgs ¶
type FavoriteServiceLikeActionArgs struct {
Request *LikeRequest `thrift:"request,1" frugal:"1,default,LikeRequest" json:"request"`
}
func NewFavoriteServiceLikeActionArgs ¶
func NewFavoriteServiceLikeActionArgs() *FavoriteServiceLikeActionArgs
func (*FavoriteServiceLikeActionArgs) BLength ¶
func (p *FavoriteServiceLikeActionArgs) BLength() int
func (*FavoriteServiceLikeActionArgs) DeepEqual ¶
func (p *FavoriteServiceLikeActionArgs) DeepEqual(ano *FavoriteServiceLikeActionArgs) bool
func (*FavoriteServiceLikeActionArgs) FastRead ¶
func (p *FavoriteServiceLikeActionArgs) FastRead(buf []byte) (int, error)
func (*FavoriteServiceLikeActionArgs) FastReadField1 ¶
func (p *FavoriteServiceLikeActionArgs) FastReadField1(buf []byte) (int, error)
func (*FavoriteServiceLikeActionArgs) FastWrite ¶
func (p *FavoriteServiceLikeActionArgs) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceLikeActionArgs) FastWriteNocopy ¶
func (p *FavoriteServiceLikeActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceLikeActionArgs) Field1DeepEqual ¶
func (p *FavoriteServiceLikeActionArgs) Field1DeepEqual(src *LikeRequest) bool
func (*FavoriteServiceLikeActionArgs) GetFirstArgument ¶
func (p *FavoriteServiceLikeActionArgs) GetFirstArgument() interface{}
func (*FavoriteServiceLikeActionArgs) GetRequest ¶
func (p *FavoriteServiceLikeActionArgs) GetRequest() (v *LikeRequest)
func (*FavoriteServiceLikeActionArgs) InitDefault ¶
func (p *FavoriteServiceLikeActionArgs) InitDefault()
func (*FavoriteServiceLikeActionArgs) IsSetRequest ¶
func (p *FavoriteServiceLikeActionArgs) IsSetRequest() bool
func (*FavoriteServiceLikeActionArgs) Read ¶
func (p *FavoriteServiceLikeActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceLikeActionArgs) ReadField1 ¶
func (p *FavoriteServiceLikeActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteServiceLikeActionArgs) SetRequest ¶
func (p *FavoriteServiceLikeActionArgs) SetRequest(val *LikeRequest)
func (*FavoriteServiceLikeActionArgs) String ¶
func (p *FavoriteServiceLikeActionArgs) String() string
type FavoriteServiceLikeActionResult ¶
type FavoriteServiceLikeActionResult struct {
Success *LikeResponse `thrift:"success,0,optional" frugal:"0,optional,LikeResponse" json:"success,omitempty"`
}
func NewFavoriteServiceLikeActionResult ¶
func NewFavoriteServiceLikeActionResult() *FavoriteServiceLikeActionResult
func (*FavoriteServiceLikeActionResult) BLength ¶
func (p *FavoriteServiceLikeActionResult) BLength() int
func (*FavoriteServiceLikeActionResult) DeepEqual ¶
func (p *FavoriteServiceLikeActionResult) DeepEqual(ano *FavoriteServiceLikeActionResult) bool
func (*FavoriteServiceLikeActionResult) FastRead ¶
func (p *FavoriteServiceLikeActionResult) FastRead(buf []byte) (int, error)
func (*FavoriteServiceLikeActionResult) FastReadField0 ¶
func (p *FavoriteServiceLikeActionResult) FastReadField0(buf []byte) (int, error)
func (*FavoriteServiceLikeActionResult) FastWrite ¶
func (p *FavoriteServiceLikeActionResult) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceLikeActionResult) FastWriteNocopy ¶
func (p *FavoriteServiceLikeActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceLikeActionResult) Field0DeepEqual ¶
func (p *FavoriteServiceLikeActionResult) Field0DeepEqual(src *LikeResponse) bool
func (*FavoriteServiceLikeActionResult) GetResult ¶
func (p *FavoriteServiceLikeActionResult) GetResult() interface{}
func (*FavoriteServiceLikeActionResult) GetSuccess ¶
func (p *FavoriteServiceLikeActionResult) GetSuccess() (v *LikeResponse)
func (*FavoriteServiceLikeActionResult) InitDefault ¶
func (p *FavoriteServiceLikeActionResult) InitDefault()
func (*FavoriteServiceLikeActionResult) IsSetSuccess ¶
func (p *FavoriteServiceLikeActionResult) IsSetSuccess() bool
func (*FavoriteServiceLikeActionResult) Read ¶
func (p *FavoriteServiceLikeActionResult) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceLikeActionResult) ReadField0 ¶
func (p *FavoriteServiceLikeActionResult) ReadField0(iprot thrift.TProtocol) error
func (*FavoriteServiceLikeActionResult) SetSuccess ¶
func (p *FavoriteServiceLikeActionResult) SetSuccess(x interface{})
func (*FavoriteServiceLikeActionResult) String ¶
func (p *FavoriteServiceLikeActionResult) String() string
type FavoriteServiceProcessor ¶
type FavoriteServiceProcessor struct {
// contains filtered or unexported fields
}
func NewFavoriteServiceProcessor ¶
func NewFavoriteServiceProcessor(handler FavoriteService) *FavoriteServiceProcessor
func (*FavoriteServiceProcessor) AddToProcessorMap ¶
func (p *FavoriteServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*FavoriteServiceProcessor) GetProcessorFunction ¶
func (p *FavoriteServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*FavoriteServiceProcessor) Process ¶
func (p *FavoriteServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*FavoriteServiceProcessor) ProcessorMap ¶
func (p *FavoriteServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type LikeListRequest ¶
type LikeListRequest struct { UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"` QueryId int64 `thrift:"query_id,2" frugal:"2,default,i64" json:"query_id"` }
var FavoriteServiceGetLikeListArgs_Request_DEFAULT *LikeListRequest
func NewLikeListRequest ¶
func NewLikeListRequest() *LikeListRequest
func (*LikeListRequest) BLength ¶
func (p *LikeListRequest) BLength() int
func (*LikeListRequest) DeepEqual ¶
func (p *LikeListRequest) DeepEqual(ano *LikeListRequest) bool
func (*LikeListRequest) FastReadField1 ¶
func (p *LikeListRequest) FastReadField1(buf []byte) (int, error)
func (*LikeListRequest) FastReadField2 ¶
func (p *LikeListRequest) FastReadField2(buf []byte) (int, error)
func (*LikeListRequest) FastWrite ¶
func (p *LikeListRequest) FastWrite(buf []byte) int
for compatibility
func (*LikeListRequest) FastWriteNocopy ¶
func (p *LikeListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*LikeListRequest) Field1DeepEqual ¶
func (p *LikeListRequest) Field1DeepEqual(src int64) bool
func (*LikeListRequest) Field2DeepEqual ¶
func (p *LikeListRequest) Field2DeepEqual(src int64) bool
func (*LikeListRequest) GetQueryId ¶
func (p *LikeListRequest) GetQueryId() (v int64)
func (*LikeListRequest) GetUserId ¶
func (p *LikeListRequest) GetUserId() (v int64)
func (*LikeListRequest) InitDefault ¶
func (p *LikeListRequest) InitDefault()
func (*LikeListRequest) ReadField1 ¶
func (p *LikeListRequest) ReadField1(iprot thrift.TProtocol) error
func (*LikeListRequest) ReadField2 ¶
func (p *LikeListRequest) ReadField2(iprot thrift.TProtocol) error
func (*LikeListRequest) SetQueryId ¶
func (p *LikeListRequest) SetQueryId(val int64)
func (*LikeListRequest) SetUserId ¶
func (p *LikeListRequest) SetUserId(val int64)
func (*LikeListRequest) String ¶
func (p *LikeListRequest) String() string
type LikeListResponse ¶
type LikeListResponse 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"` VideoList []*feed.VideoInfo `thrift:"video_list,4,optional" frugal:"4,optional,list<feed.VideoInfo>" json:"video_list,omitempty"` }
var FavoriteServiceGetLikeListResult_Success_DEFAULT *LikeListResponse
func NewLikeListResponse ¶
func NewLikeListResponse() *LikeListResponse
func (*LikeListResponse) BLength ¶
func (p *LikeListResponse) BLength() int
func (*LikeListResponse) DeepEqual ¶
func (p *LikeListResponse) DeepEqual(ano *LikeListResponse) bool
func (*LikeListResponse) FastReadField1 ¶
func (p *LikeListResponse) FastReadField1(buf []byte) (int, error)
func (*LikeListResponse) FastReadField2 ¶
func (p *LikeListResponse) FastReadField2(buf []byte) (int, error)
func (*LikeListResponse) FastReadField4 ¶
func (p *LikeListResponse) FastReadField4(buf []byte) (int, error)
func (*LikeListResponse) FastWrite ¶
func (p *LikeListResponse) FastWrite(buf []byte) int
for compatibility
func (*LikeListResponse) FastWriteNocopy ¶
func (p *LikeListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*LikeListResponse) Field1DeepEqual ¶
func (p *LikeListResponse) Field1DeepEqual(src int64) bool
func (*LikeListResponse) Field2DeepEqual ¶
func (p *LikeListResponse) Field2DeepEqual(src *string) bool
func (*LikeListResponse) Field4DeepEqual ¶
func (p *LikeListResponse) Field4DeepEqual(src []*feed.VideoInfo) bool
func (*LikeListResponse) GetStatusCode ¶
func (p *LikeListResponse) GetStatusCode() (v int64)
func (*LikeListResponse) GetStatusMsg ¶
func (p *LikeListResponse) GetStatusMsg() (v string)
func (*LikeListResponse) GetVideoList ¶
func (p *LikeListResponse) GetVideoList() (v []*feed.VideoInfo)
func (*LikeListResponse) InitDefault ¶
func (p *LikeListResponse) InitDefault()
func (*LikeListResponse) IsSetStatusMsg ¶
func (p *LikeListResponse) IsSetStatusMsg() bool
func (*LikeListResponse) IsSetVideoList ¶
func (p *LikeListResponse) IsSetVideoList() bool
func (*LikeListResponse) ReadField1 ¶
func (p *LikeListResponse) ReadField1(iprot thrift.TProtocol) error
func (*LikeListResponse) ReadField2 ¶
func (p *LikeListResponse) ReadField2(iprot thrift.TProtocol) error
func (*LikeListResponse) ReadField4 ¶
func (p *LikeListResponse) ReadField4(iprot thrift.TProtocol) error
func (*LikeListResponse) SetStatusCode ¶
func (p *LikeListResponse) SetStatusCode(val int64)
func (*LikeListResponse) SetStatusMsg ¶
func (p *LikeListResponse) SetStatusMsg(val *string)
func (*LikeListResponse) SetVideoList ¶
func (p *LikeListResponse) SetVideoList(val []*feed.VideoInfo)
func (*LikeListResponse) String ¶
func (p *LikeListResponse) String() string
type LikeRequest ¶
type LikeRequest struct { UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"` VideoId int64 `thrift:"video_id,2" frugal:"2,default,i64" json:"video_id"` ActionType bool `thrift:"action_type,3" frugal:"3,default,bool" json:"action_type"` }
var FavoriteServiceLikeActionArgs_Request_DEFAULT *LikeRequest
func NewLikeRequest ¶
func NewLikeRequest() *LikeRequest
func (*LikeRequest) BLength ¶
func (p *LikeRequest) BLength() int
func (*LikeRequest) DeepEqual ¶
func (p *LikeRequest) DeepEqual(ano *LikeRequest) bool
func (*LikeRequest) FastReadField1 ¶
func (p *LikeRequest) FastReadField1(buf []byte) (int, error)
func (*LikeRequest) FastReadField2 ¶
func (p *LikeRequest) FastReadField2(buf []byte) (int, error)
func (*LikeRequest) FastReadField3 ¶
func (p *LikeRequest) FastReadField3(buf []byte) (int, error)
func (*LikeRequest) FastWriteNocopy ¶
func (p *LikeRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*LikeRequest) Field1DeepEqual ¶
func (p *LikeRequest) Field1DeepEqual(src int64) bool
func (*LikeRequest) Field2DeepEqual ¶
func (p *LikeRequest) Field2DeepEqual(src int64) bool
func (*LikeRequest) Field3DeepEqual ¶
func (p *LikeRequest) Field3DeepEqual(src bool) bool
func (*LikeRequest) GetActionType ¶
func (p *LikeRequest) GetActionType() (v bool)
func (*LikeRequest) GetUserId ¶
func (p *LikeRequest) GetUserId() (v int64)
func (*LikeRequest) GetVideoId ¶
func (p *LikeRequest) GetVideoId() (v int64)
func (*LikeRequest) InitDefault ¶
func (p *LikeRequest) InitDefault()
func (*LikeRequest) ReadField1 ¶
func (p *LikeRequest) ReadField1(iprot thrift.TProtocol) error
func (*LikeRequest) ReadField2 ¶
func (p *LikeRequest) ReadField2(iprot thrift.TProtocol) error
func (*LikeRequest) ReadField3 ¶
func (p *LikeRequest) ReadField3(iprot thrift.TProtocol) error
func (*LikeRequest) SetActionType ¶
func (p *LikeRequest) SetActionType(val bool)
func (*LikeRequest) SetUserId ¶
func (p *LikeRequest) SetUserId(val int64)
func (*LikeRequest) SetVideoId ¶
func (p *LikeRequest) SetVideoId(val int64)
func (*LikeRequest) String ¶
func (p *LikeRequest) String() string
type LikeResponse ¶
type LikeResponse struct { StatusCode int64 `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"` StatusMsg string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"` }
var FavoriteServiceLikeActionResult_Success_DEFAULT *LikeResponse
func NewLikeResponse ¶
func NewLikeResponse() *LikeResponse
func (*LikeResponse) BLength ¶
func (p *LikeResponse) BLength() int
func (*LikeResponse) DeepEqual ¶
func (p *LikeResponse) DeepEqual(ano *LikeResponse) bool
func (*LikeResponse) FastReadField1 ¶
func (p *LikeResponse) FastReadField1(buf []byte) (int, error)
func (*LikeResponse) FastReadField2 ¶
func (p *LikeResponse) FastReadField2(buf []byte) (int, error)
func (*LikeResponse) FastWriteNocopy ¶
func (p *LikeResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*LikeResponse) Field1DeepEqual ¶
func (p *LikeResponse) Field1DeepEqual(src int64) bool
func (*LikeResponse) Field2DeepEqual ¶
func (p *LikeResponse) Field2DeepEqual(src string) bool
func (*LikeResponse) GetStatusCode ¶
func (p *LikeResponse) GetStatusCode() (v int64)
func (*LikeResponse) GetStatusMsg ¶
func (p *LikeResponse) GetStatusMsg() (v string)
func (*LikeResponse) InitDefault ¶
func (p *LikeResponse) InitDefault()
func (*LikeResponse) ReadField1 ¶
func (p *LikeResponse) ReadField1(iprot thrift.TProtocol) error
func (*LikeResponse) ReadField2 ¶
func (p *LikeResponse) ReadField2(iprot thrift.TProtocol) error
func (*LikeResponse) SetStatusCode ¶
func (p *LikeResponse) SetStatusCode(val int64)
func (*LikeResponse) SetStatusMsg ¶
func (p *LikeResponse) SetStatusMsg(val string)
func (*LikeResponse) String ¶
func (p *LikeResponse) String() string
Click to show internal directories.
Click to hide internal directories.