Documentation ¶
Index ¶
- Variables
- type FavoriteActionRequest
- func (p *FavoriteActionRequest) BLength() int
- func (p *FavoriteActionRequest) DeepEqual(ano *FavoriteActionRequest) bool
- func (p *FavoriteActionRequest) FastRead(buf []byte) (int, error)
- func (p *FavoriteActionRequest) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteActionRequest) FastReadField2(buf []byte) (int, error)
- func (p *FavoriteActionRequest) FastReadField3(buf []byte) (int, error)
- func (p *FavoriteActionRequest) FastWrite(buf []byte) int
- func (p *FavoriteActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteActionRequest) Field1DeepEqual(src int64) bool
- func (p *FavoriteActionRequest) Field2DeepEqual(src int64) bool
- func (p *FavoriteActionRequest) Field3DeepEqual(src int32) bool
- func (p *FavoriteActionRequest) GetActionType() (v int32)
- func (p *FavoriteActionRequest) GetUserId() (v int64)
- func (p *FavoriteActionRequest) GetVideoId() (v int64)
- func (p *FavoriteActionRequest) InitDefault()
- func (p *FavoriteActionRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteActionRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteActionRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *FavoriteActionRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *FavoriteActionRequest) SetActionType(val int32)
- func (p *FavoriteActionRequest) SetUserId(val int64)
- func (p *FavoriteActionRequest) SetVideoId(val int64)
- func (p *FavoriteActionRequest) String() string
- func (p *FavoriteActionRequest) Write(oprot thrift.TProtocol) (err error)
- type FavoriteActionResponse
- func (p *FavoriteActionResponse) BLength() int
- func (p *FavoriteActionResponse) DeepEqual(ano *FavoriteActionResponse) bool
- func (p *FavoriteActionResponse) FastRead(buf []byte) (int, error)
- func (p *FavoriteActionResponse) FastWrite(buf []byte) int
- func (p *FavoriteActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteActionResponse) InitDefault()
- func (p *FavoriteActionResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteActionResponse) String() string
- func (p *FavoriteActionResponse) Write(oprot thrift.TProtocol) (err error)
- type FavoriteListRequest
- func (p *FavoriteListRequest) BLength() int
- func (p *FavoriteListRequest) DeepEqual(ano *FavoriteListRequest) bool
- func (p *FavoriteListRequest) FastRead(buf []byte) (int, error)
- func (p *FavoriteListRequest) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteListRequest) FastReadField2(buf []byte) (int, error)
- func (p *FavoriteListRequest) FastWrite(buf []byte) int
- func (p *FavoriteListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteListRequest) Field1DeepEqual(src int64) bool
- func (p *FavoriteListRequest) Field2DeepEqual(src int64) bool
- func (p *FavoriteListRequest) GetUserId() (v int64)
- func (p *FavoriteListRequest) GetUserViewId() (v int64)
- func (p *FavoriteListRequest) InitDefault()
- func (p *FavoriteListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *FavoriteListRequest) SetUserId(val int64)
- func (p *FavoriteListRequest) SetUserViewId(val int64)
- func (p *FavoriteListRequest) String() string
- func (p *FavoriteListRequest) Write(oprot thrift.TProtocol) (err error)
- type FavoriteListResponse
- func (p *FavoriteListResponse) BLength() int
- func (p *FavoriteListResponse) DeepEqual(ano *FavoriteListResponse) bool
- func (p *FavoriteListResponse) FastRead(buf []byte) (int, error)
- func (p *FavoriteListResponse) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteListResponse) FastWrite(buf []byte) int
- func (p *FavoriteListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteListResponse) Field1DeepEqual(src []*rpcmodel.Video) bool
- func (p *FavoriteListResponse) GetVideoList() (v []*rpcmodel.Video)
- func (p *FavoriteListResponse) InitDefault()
- func (p *FavoriteListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteListResponse) SetVideoList(val []*rpcmodel.Video)
- func (p *FavoriteListResponse) String() string
- func (p *FavoriteListResponse) Write(oprot thrift.TProtocol) (err error)
- 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
- func (p *FavoriteServiceClient) Client_() thrift.TClient
- func (p *FavoriteServiceClient) FavoriteAction(ctx context.Context, req *FavoriteActionRequest) (r *FavoriteActionResponse, err error)
- func (p *FavoriteServiceClient) FavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error)
- type FavoriteServiceFavoriteActionArgs
- func (p *FavoriteServiceFavoriteActionArgs) BLength() int
- func (p *FavoriteServiceFavoriteActionArgs) DeepEqual(ano *FavoriteServiceFavoriteActionArgs) bool
- func (p *FavoriteServiceFavoriteActionArgs) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteActionArgs) FastWrite(buf []byte) int
- func (p *FavoriteServiceFavoriteActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceFavoriteActionArgs) Field1DeepEqual(src *FavoriteActionRequest) bool
- func (p *FavoriteServiceFavoriteActionArgs) GetFirstArgument() interface{}
- func (p *FavoriteServiceFavoriteActionArgs) GetReq() (v *FavoriteActionRequest)
- func (p *FavoriteServiceFavoriteActionArgs) InitDefault()
- func (p *FavoriteServiceFavoriteActionArgs) IsSetReq() bool
- func (p *FavoriteServiceFavoriteActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceFavoriteActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteServiceFavoriteActionArgs) SetReq(val *FavoriteActionRequest)
- func (p *FavoriteServiceFavoriteActionArgs) String() string
- func (p *FavoriteServiceFavoriteActionArgs) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceFavoriteActionResult
- func (p *FavoriteServiceFavoriteActionResult) BLength() int
- func (p *FavoriteServiceFavoriteActionResult) DeepEqual(ano *FavoriteServiceFavoriteActionResult) bool
- func (p *FavoriteServiceFavoriteActionResult) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteActionResult) FastReadField0(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteActionResult) FastWrite(buf []byte) int
- func (p *FavoriteServiceFavoriteActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceFavoriteActionResult) Field0DeepEqual(src *FavoriteActionResponse) bool
- func (p *FavoriteServiceFavoriteActionResult) GetResult() interface{}
- func (p *FavoriteServiceFavoriteActionResult) GetSuccess() (v *FavoriteActionResponse)
- func (p *FavoriteServiceFavoriteActionResult) InitDefault()
- func (p *FavoriteServiceFavoriteActionResult) IsSetSuccess() bool
- func (p *FavoriteServiceFavoriteActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceFavoriteActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FavoriteServiceFavoriteActionResult) SetSuccess(x interface{})
- func (p *FavoriteServiceFavoriteActionResult) String() string
- func (p *FavoriteServiceFavoriteActionResult) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceFavoriteListArgs
- func (p *FavoriteServiceFavoriteListArgs) BLength() int
- func (p *FavoriteServiceFavoriteListArgs) DeepEqual(ano *FavoriteServiceFavoriteListArgs) bool
- func (p *FavoriteServiceFavoriteListArgs) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteListArgs) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteListArgs) FastWrite(buf []byte) int
- func (p *FavoriteServiceFavoriteListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceFavoriteListArgs) Field1DeepEqual(src *FavoriteListRequest) bool
- func (p *FavoriteServiceFavoriteListArgs) GetFirstArgument() interface{}
- func (p *FavoriteServiceFavoriteListArgs) GetReq() (v *FavoriteListRequest)
- func (p *FavoriteServiceFavoriteListArgs) InitDefault()
- func (p *FavoriteServiceFavoriteListArgs) IsSetReq() bool
- func (p *FavoriteServiceFavoriteListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceFavoriteListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteServiceFavoriteListArgs) SetReq(val *FavoriteListRequest)
- func (p *FavoriteServiceFavoriteListArgs) String() string
- func (p *FavoriteServiceFavoriteListArgs) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceFavoriteListResult
- func (p *FavoriteServiceFavoriteListResult) BLength() int
- func (p *FavoriteServiceFavoriteListResult) DeepEqual(ano *FavoriteServiceFavoriteListResult) bool
- func (p *FavoriteServiceFavoriteListResult) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteListResult) FastReadField0(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteListResult) FastWrite(buf []byte) int
- func (p *FavoriteServiceFavoriteListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceFavoriteListResult) Field0DeepEqual(src *FavoriteListResponse) bool
- func (p *FavoriteServiceFavoriteListResult) GetResult() interface{}
- func (p *FavoriteServiceFavoriteListResult) GetSuccess() (v *FavoriteListResponse)
- func (p *FavoriteServiceFavoriteListResult) InitDefault()
- func (p *FavoriteServiceFavoriteListResult) IsSetSuccess() bool
- func (p *FavoriteServiceFavoriteListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceFavoriteListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FavoriteServiceFavoriteListResult) SetSuccess(x interface{})
- func (p *FavoriteServiceFavoriteListResult) String() string
- func (p *FavoriteServiceFavoriteListResult) 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
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type FavoriteActionRequest ¶
type FavoriteActionRequest struct { UserId int64 `thrift:"UserId,1,required" frugal:"1,required,i64" json:"UserId"` VideoId int64 `thrift:"VideoId,2,required" frugal:"2,required,i64" json:"VideoId"` ActionType int32 `thrift:"ActionType,3,required" frugal:"3,required,i32" json:"ActionType"` }
var FavoriteServiceFavoriteActionArgs_Req_DEFAULT *FavoriteActionRequest
func NewFavoriteActionRequest ¶
func NewFavoriteActionRequest() *FavoriteActionRequest
func (*FavoriteActionRequest) BLength ¶
func (p *FavoriteActionRequest) BLength() int
func (*FavoriteActionRequest) DeepEqual ¶
func (p *FavoriteActionRequest) DeepEqual(ano *FavoriteActionRequest) bool
func (*FavoriteActionRequest) FastRead ¶
func (p *FavoriteActionRequest) FastRead(buf []byte) (int, error)
func (*FavoriteActionRequest) FastReadField1 ¶
func (p *FavoriteActionRequest) FastReadField1(buf []byte) (int, error)
func (*FavoriteActionRequest) FastReadField2 ¶
func (p *FavoriteActionRequest) FastReadField2(buf []byte) (int, error)
func (*FavoriteActionRequest) FastReadField3 ¶
func (p *FavoriteActionRequest) FastReadField3(buf []byte) (int, error)
func (*FavoriteActionRequest) FastWrite ¶
func (p *FavoriteActionRequest) FastWrite(buf []byte) int
for compatibility
func (*FavoriteActionRequest) FastWriteNocopy ¶
func (p *FavoriteActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteActionRequest) Field1DeepEqual ¶
func (p *FavoriteActionRequest) Field1DeepEqual(src int64) bool
func (*FavoriteActionRequest) Field2DeepEqual ¶
func (p *FavoriteActionRequest) Field2DeepEqual(src int64) bool
func (*FavoriteActionRequest) Field3DeepEqual ¶
func (p *FavoriteActionRequest) Field3DeepEqual(src int32) bool
func (*FavoriteActionRequest) GetActionType ¶
func (p *FavoriteActionRequest) GetActionType() (v int32)
func (*FavoriteActionRequest) GetUserId ¶
func (p *FavoriteActionRequest) GetUserId() (v int64)
func (*FavoriteActionRequest) GetVideoId ¶
func (p *FavoriteActionRequest) GetVideoId() (v int64)
func (*FavoriteActionRequest) InitDefault ¶
func (p *FavoriteActionRequest) InitDefault()
func (*FavoriteActionRequest) Read ¶
func (p *FavoriteActionRequest) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteActionRequest) ReadField1 ¶
func (p *FavoriteActionRequest) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteActionRequest) ReadField2 ¶
func (p *FavoriteActionRequest) ReadField2(iprot thrift.TProtocol) error
func (*FavoriteActionRequest) ReadField3 ¶
func (p *FavoriteActionRequest) ReadField3(iprot thrift.TProtocol) error
func (*FavoriteActionRequest) SetActionType ¶
func (p *FavoriteActionRequest) SetActionType(val int32)
func (*FavoriteActionRequest) SetUserId ¶
func (p *FavoriteActionRequest) SetUserId(val int64)
func (*FavoriteActionRequest) SetVideoId ¶
func (p *FavoriteActionRequest) SetVideoId(val int64)
func (*FavoriteActionRequest) String ¶
func (p *FavoriteActionRequest) String() string
type FavoriteActionResponse ¶
type FavoriteActionResponse struct { }
var FavoriteServiceFavoriteActionResult_Success_DEFAULT *FavoriteActionResponse
func NewFavoriteActionResponse ¶
func NewFavoriteActionResponse() *FavoriteActionResponse
func (*FavoriteActionResponse) BLength ¶
func (p *FavoriteActionResponse) BLength() int
func (*FavoriteActionResponse) DeepEqual ¶
func (p *FavoriteActionResponse) DeepEqual(ano *FavoriteActionResponse) bool
func (*FavoriteActionResponse) FastRead ¶
func (p *FavoriteActionResponse) FastRead(buf []byte) (int, error)
func (*FavoriteActionResponse) FastWrite ¶
func (p *FavoriteActionResponse) FastWrite(buf []byte) int
for compatibility
func (*FavoriteActionResponse) FastWriteNocopy ¶
func (p *FavoriteActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteActionResponse) InitDefault ¶
func (p *FavoriteActionResponse) InitDefault()
func (*FavoriteActionResponse) Read ¶
func (p *FavoriteActionResponse) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteActionResponse) String ¶
func (p *FavoriteActionResponse) String() string
type FavoriteListRequest ¶
type FavoriteListRequest struct { UserId int64 `thrift:"UserId,1,required" frugal:"1,required,i64" json:"UserId"` UserViewId int64 `thrift:"UserViewId,2,required" frugal:"2,required,i64" json:"UserViewId"` }
var FavoriteServiceFavoriteListArgs_Req_DEFAULT *FavoriteListRequest
func NewFavoriteListRequest ¶
func NewFavoriteListRequest() *FavoriteListRequest
func (*FavoriteListRequest) BLength ¶
func (p *FavoriteListRequest) BLength() int
func (*FavoriteListRequest) DeepEqual ¶
func (p *FavoriteListRequest) DeepEqual(ano *FavoriteListRequest) bool
func (*FavoriteListRequest) FastRead ¶
func (p *FavoriteListRequest) FastRead(buf []byte) (int, error)
func (*FavoriteListRequest) FastReadField1 ¶
func (p *FavoriteListRequest) FastReadField1(buf []byte) (int, error)
func (*FavoriteListRequest) FastReadField2 ¶ added in v0.0.2
func (p *FavoriteListRequest) FastReadField2(buf []byte) (int, error)
func (*FavoriteListRequest) FastWrite ¶
func (p *FavoriteListRequest) FastWrite(buf []byte) int
for compatibility
func (*FavoriteListRequest) FastWriteNocopy ¶
func (p *FavoriteListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteListRequest) Field1DeepEqual ¶
func (p *FavoriteListRequest) Field1DeepEqual(src int64) bool
func (*FavoriteListRequest) Field2DeepEqual ¶ added in v0.0.2
func (p *FavoriteListRequest) Field2DeepEqual(src int64) bool
func (*FavoriteListRequest) GetUserId ¶
func (p *FavoriteListRequest) GetUserId() (v int64)
func (*FavoriteListRequest) GetUserViewId ¶ added in v0.0.2
func (p *FavoriteListRequest) GetUserViewId() (v int64)
func (*FavoriteListRequest) InitDefault ¶
func (p *FavoriteListRequest) InitDefault()
func (*FavoriteListRequest) Read ¶
func (p *FavoriteListRequest) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteListRequest) ReadField1 ¶
func (p *FavoriteListRequest) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteListRequest) ReadField2 ¶ added in v0.0.2
func (p *FavoriteListRequest) ReadField2(iprot thrift.TProtocol) error
func (*FavoriteListRequest) SetUserId ¶
func (p *FavoriteListRequest) SetUserId(val int64)
func (*FavoriteListRequest) SetUserViewId ¶ added in v0.0.2
func (p *FavoriteListRequest) SetUserViewId(val int64)
func (*FavoriteListRequest) String ¶
func (p *FavoriteListRequest) String() string
type FavoriteListResponse ¶
type FavoriteListResponse struct {
VideoList []*rpcmodel.Video `thrift:"VideoList,1,required" frugal:"1,required,list<rpcmodel.Video>" json:"VideoList"`
}
var FavoriteServiceFavoriteListResult_Success_DEFAULT *FavoriteListResponse
func NewFavoriteListResponse ¶
func NewFavoriteListResponse() *FavoriteListResponse
func (*FavoriteListResponse) BLength ¶
func (p *FavoriteListResponse) BLength() int
func (*FavoriteListResponse) DeepEqual ¶
func (p *FavoriteListResponse) DeepEqual(ano *FavoriteListResponse) bool
func (*FavoriteListResponse) FastRead ¶
func (p *FavoriteListResponse) FastRead(buf []byte) (int, error)
func (*FavoriteListResponse) FastReadField1 ¶
func (p *FavoriteListResponse) FastReadField1(buf []byte) (int, error)
func (*FavoriteListResponse) FastWrite ¶
func (p *FavoriteListResponse) FastWrite(buf []byte) int
for compatibility
func (*FavoriteListResponse) FastWriteNocopy ¶
func (p *FavoriteListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteListResponse) Field1DeepEqual ¶
func (p *FavoriteListResponse) Field1DeepEqual(src []*rpcmodel.Video) bool
func (*FavoriteListResponse) GetVideoList ¶
func (p *FavoriteListResponse) GetVideoList() (v []*rpcmodel.Video)
func (*FavoriteListResponse) InitDefault ¶
func (p *FavoriteListResponse) InitDefault()
func (*FavoriteListResponse) Read ¶
func (p *FavoriteListResponse) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteListResponse) ReadField1 ¶
func (p *FavoriteListResponse) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteListResponse) SetVideoList ¶
func (p *FavoriteListResponse) SetVideoList(val []*rpcmodel.Video)
func (*FavoriteListResponse) String ¶
func (p *FavoriteListResponse) String() string
type FavoriteService ¶
type FavoriteService interface { FavoriteAction(ctx context.Context, req *FavoriteActionRequest) (r *FavoriteActionResponse, err error) FavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, 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) FavoriteAction ¶
func (p *FavoriteServiceClient) FavoriteAction(ctx context.Context, req *FavoriteActionRequest) (r *FavoriteActionResponse, err error)
func (*FavoriteServiceClient) FavoriteList ¶
func (p *FavoriteServiceClient) FavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error)
type FavoriteServiceFavoriteActionArgs ¶
type FavoriteServiceFavoriteActionArgs struct {
Req *FavoriteActionRequest `thrift:"req,1" frugal:"1,default,FavoriteActionRequest" json:"req"`
}
func NewFavoriteServiceFavoriteActionArgs ¶
func NewFavoriteServiceFavoriteActionArgs() *FavoriteServiceFavoriteActionArgs
func (*FavoriteServiceFavoriteActionArgs) BLength ¶
func (p *FavoriteServiceFavoriteActionArgs) BLength() int
func (*FavoriteServiceFavoriteActionArgs) DeepEqual ¶
func (p *FavoriteServiceFavoriteActionArgs) DeepEqual(ano *FavoriteServiceFavoriteActionArgs) bool
func (*FavoriteServiceFavoriteActionArgs) FastRead ¶
func (p *FavoriteServiceFavoriteActionArgs) FastRead(buf []byte) (int, error)
func (*FavoriteServiceFavoriteActionArgs) FastReadField1 ¶
func (p *FavoriteServiceFavoriteActionArgs) FastReadField1(buf []byte) (int, error)
func (*FavoriteServiceFavoriteActionArgs) FastWrite ¶
func (p *FavoriteServiceFavoriteActionArgs) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceFavoriteActionArgs) FastWriteNocopy ¶
func (p *FavoriteServiceFavoriteActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceFavoriteActionArgs) Field1DeepEqual ¶
func (p *FavoriteServiceFavoriteActionArgs) Field1DeepEqual(src *FavoriteActionRequest) bool
func (*FavoriteServiceFavoriteActionArgs) GetFirstArgument ¶
func (p *FavoriteServiceFavoriteActionArgs) GetFirstArgument() interface{}
func (*FavoriteServiceFavoriteActionArgs) GetReq ¶
func (p *FavoriteServiceFavoriteActionArgs) GetReq() (v *FavoriteActionRequest)
func (*FavoriteServiceFavoriteActionArgs) InitDefault ¶
func (p *FavoriteServiceFavoriteActionArgs) InitDefault()
func (*FavoriteServiceFavoriteActionArgs) IsSetReq ¶
func (p *FavoriteServiceFavoriteActionArgs) IsSetReq() bool
func (*FavoriteServiceFavoriteActionArgs) Read ¶
func (p *FavoriteServiceFavoriteActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceFavoriteActionArgs) ReadField1 ¶
func (p *FavoriteServiceFavoriteActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteServiceFavoriteActionArgs) SetReq ¶
func (p *FavoriteServiceFavoriteActionArgs) SetReq(val *FavoriteActionRequest)
func (*FavoriteServiceFavoriteActionArgs) String ¶
func (p *FavoriteServiceFavoriteActionArgs) String() string
type FavoriteServiceFavoriteActionResult ¶
type FavoriteServiceFavoriteActionResult struct {
Success *FavoriteActionResponse `thrift:"success,0,optional" frugal:"0,optional,FavoriteActionResponse" json:"success,omitempty"`
}
func NewFavoriteServiceFavoriteActionResult ¶
func NewFavoriteServiceFavoriteActionResult() *FavoriteServiceFavoriteActionResult
func (*FavoriteServiceFavoriteActionResult) BLength ¶
func (p *FavoriteServiceFavoriteActionResult) BLength() int
func (*FavoriteServiceFavoriteActionResult) DeepEqual ¶
func (p *FavoriteServiceFavoriteActionResult) DeepEqual(ano *FavoriteServiceFavoriteActionResult) bool
func (*FavoriteServiceFavoriteActionResult) FastRead ¶
func (p *FavoriteServiceFavoriteActionResult) FastRead(buf []byte) (int, error)
func (*FavoriteServiceFavoriteActionResult) FastReadField0 ¶
func (p *FavoriteServiceFavoriteActionResult) FastReadField0(buf []byte) (int, error)
func (*FavoriteServiceFavoriteActionResult) FastWrite ¶
func (p *FavoriteServiceFavoriteActionResult) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceFavoriteActionResult) FastWriteNocopy ¶
func (p *FavoriteServiceFavoriteActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceFavoriteActionResult) Field0DeepEqual ¶
func (p *FavoriteServiceFavoriteActionResult) Field0DeepEqual(src *FavoriteActionResponse) bool
func (*FavoriteServiceFavoriteActionResult) GetResult ¶
func (p *FavoriteServiceFavoriteActionResult) GetResult() interface{}
func (*FavoriteServiceFavoriteActionResult) GetSuccess ¶
func (p *FavoriteServiceFavoriteActionResult) GetSuccess() (v *FavoriteActionResponse)
func (*FavoriteServiceFavoriteActionResult) InitDefault ¶
func (p *FavoriteServiceFavoriteActionResult) InitDefault()
func (*FavoriteServiceFavoriteActionResult) IsSetSuccess ¶
func (p *FavoriteServiceFavoriteActionResult) IsSetSuccess() bool
func (*FavoriteServiceFavoriteActionResult) Read ¶
func (p *FavoriteServiceFavoriteActionResult) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceFavoriteActionResult) ReadField0 ¶
func (p *FavoriteServiceFavoriteActionResult) ReadField0(iprot thrift.TProtocol) error
func (*FavoriteServiceFavoriteActionResult) SetSuccess ¶
func (p *FavoriteServiceFavoriteActionResult) SetSuccess(x interface{})
func (*FavoriteServiceFavoriteActionResult) String ¶
func (p *FavoriteServiceFavoriteActionResult) String() string
type FavoriteServiceFavoriteListArgs ¶
type FavoriteServiceFavoriteListArgs struct {
Req *FavoriteListRequest `thrift:"req,1" frugal:"1,default,FavoriteListRequest" json:"req"`
}
func NewFavoriteServiceFavoriteListArgs ¶
func NewFavoriteServiceFavoriteListArgs() *FavoriteServiceFavoriteListArgs
func (*FavoriteServiceFavoriteListArgs) BLength ¶
func (p *FavoriteServiceFavoriteListArgs) BLength() int
func (*FavoriteServiceFavoriteListArgs) DeepEqual ¶
func (p *FavoriteServiceFavoriteListArgs) DeepEqual(ano *FavoriteServiceFavoriteListArgs) bool
func (*FavoriteServiceFavoriteListArgs) FastRead ¶
func (p *FavoriteServiceFavoriteListArgs) FastRead(buf []byte) (int, error)
func (*FavoriteServiceFavoriteListArgs) FastReadField1 ¶
func (p *FavoriteServiceFavoriteListArgs) FastReadField1(buf []byte) (int, error)
func (*FavoriteServiceFavoriteListArgs) FastWrite ¶
func (p *FavoriteServiceFavoriteListArgs) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceFavoriteListArgs) FastWriteNocopy ¶
func (p *FavoriteServiceFavoriteListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceFavoriteListArgs) Field1DeepEqual ¶
func (p *FavoriteServiceFavoriteListArgs) Field1DeepEqual(src *FavoriteListRequest) bool
func (*FavoriteServiceFavoriteListArgs) GetFirstArgument ¶
func (p *FavoriteServiceFavoriteListArgs) GetFirstArgument() interface{}
func (*FavoriteServiceFavoriteListArgs) GetReq ¶
func (p *FavoriteServiceFavoriteListArgs) GetReq() (v *FavoriteListRequest)
func (*FavoriteServiceFavoriteListArgs) InitDefault ¶
func (p *FavoriteServiceFavoriteListArgs) InitDefault()
func (*FavoriteServiceFavoriteListArgs) IsSetReq ¶
func (p *FavoriteServiceFavoriteListArgs) IsSetReq() bool
func (*FavoriteServiceFavoriteListArgs) Read ¶
func (p *FavoriteServiceFavoriteListArgs) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceFavoriteListArgs) ReadField1 ¶
func (p *FavoriteServiceFavoriteListArgs) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteServiceFavoriteListArgs) SetReq ¶
func (p *FavoriteServiceFavoriteListArgs) SetReq(val *FavoriteListRequest)
func (*FavoriteServiceFavoriteListArgs) String ¶
func (p *FavoriteServiceFavoriteListArgs) String() string
type FavoriteServiceFavoriteListResult ¶
type FavoriteServiceFavoriteListResult struct {
Success *FavoriteListResponse `thrift:"success,0,optional" frugal:"0,optional,FavoriteListResponse" json:"success,omitempty"`
}
func NewFavoriteServiceFavoriteListResult ¶
func NewFavoriteServiceFavoriteListResult() *FavoriteServiceFavoriteListResult
func (*FavoriteServiceFavoriteListResult) BLength ¶
func (p *FavoriteServiceFavoriteListResult) BLength() int
func (*FavoriteServiceFavoriteListResult) DeepEqual ¶
func (p *FavoriteServiceFavoriteListResult) DeepEqual(ano *FavoriteServiceFavoriteListResult) bool
func (*FavoriteServiceFavoriteListResult) FastRead ¶
func (p *FavoriteServiceFavoriteListResult) FastRead(buf []byte) (int, error)
func (*FavoriteServiceFavoriteListResult) FastReadField0 ¶
func (p *FavoriteServiceFavoriteListResult) FastReadField0(buf []byte) (int, error)
func (*FavoriteServiceFavoriteListResult) FastWrite ¶
func (p *FavoriteServiceFavoriteListResult) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceFavoriteListResult) FastWriteNocopy ¶
func (p *FavoriteServiceFavoriteListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceFavoriteListResult) Field0DeepEqual ¶
func (p *FavoriteServiceFavoriteListResult) Field0DeepEqual(src *FavoriteListResponse) bool
func (*FavoriteServiceFavoriteListResult) GetResult ¶
func (p *FavoriteServiceFavoriteListResult) GetResult() interface{}
func (*FavoriteServiceFavoriteListResult) GetSuccess ¶
func (p *FavoriteServiceFavoriteListResult) GetSuccess() (v *FavoriteListResponse)
func (*FavoriteServiceFavoriteListResult) InitDefault ¶
func (p *FavoriteServiceFavoriteListResult) InitDefault()
func (*FavoriteServiceFavoriteListResult) IsSetSuccess ¶
func (p *FavoriteServiceFavoriteListResult) IsSetSuccess() bool
func (*FavoriteServiceFavoriteListResult) Read ¶
func (p *FavoriteServiceFavoriteListResult) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceFavoriteListResult) ReadField0 ¶
func (p *FavoriteServiceFavoriteListResult) ReadField0(iprot thrift.TProtocol) error
func (*FavoriteServiceFavoriteListResult) SetSuccess ¶
func (p *FavoriteServiceFavoriteListResult) SetSuccess(x interface{})
func (*FavoriteServiceFavoriteListResult) String ¶
func (p *FavoriteServiceFavoriteListResult) 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
Click to show internal directories.
Click to hide internal directories.