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) FastReadField4(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 string) bool
- func (p *FavoriteActionRequest) Field2DeepEqual(src int64) bool
- func (p *FavoriteActionRequest) Field3DeepEqual(src int32) bool
- func (p *FavoriteActionRequest) Field4DeepEqual(src int64) bool
- func (p *FavoriteActionRequest) GetActionType() (v int32)
- func (p *FavoriteActionRequest) GetToken() (v string)
- 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) ReadField4(iprot thrift.TProtocol) error
- func (p *FavoriteActionRequest) SetActionType(val int32)
- func (p *FavoriteActionRequest) SetToken(val string)
- 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) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteActionResponse) FastReadField2(buf []byte) (int, error)
- func (p *FavoriteActionResponse) FastWrite(buf []byte) int
- func (p *FavoriteActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteActionResponse) Field1DeepEqual(src int32) bool
- func (p *FavoriteActionResponse) Field2DeepEqual(src *string) bool
- func (p *FavoriteActionResponse) GetStatusCode() (v int32)
- func (p *FavoriteActionResponse) GetStatusMsg() (v string)
- func (p *FavoriteActionResponse) InitDefault()
- func (p *FavoriteActionResponse) IsSetStatusMsg() bool
- func (p *FavoriteActionResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteActionResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteActionResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *FavoriteActionResponse) SetStatusCode(val int32)
- func (p *FavoriteActionResponse) SetStatusMsg(val *string)
- func (p *FavoriteActionResponse) String() string
- func (p *FavoriteActionResponse) Write(oprot thrift.TProtocol) (err error)
- type FavoriteCountByUserIDRequest
- func (p *FavoriteCountByUserIDRequest) BLength() int
- func (p *FavoriteCountByUserIDRequest) DeepEqual(ano *FavoriteCountByUserIDRequest) bool
- func (p *FavoriteCountByUserIDRequest) FastRead(buf []byte) (int, error)
- func (p *FavoriteCountByUserIDRequest) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteCountByUserIDRequest) FastWrite(buf []byte) int
- func (p *FavoriteCountByUserIDRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteCountByUserIDRequest) Field1DeepEqual(src int64) bool
- func (p *FavoriteCountByUserIDRequest) GetUserId() (v int64)
- func (p *FavoriteCountByUserIDRequest) InitDefault()
- func (p *FavoriteCountByUserIDRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteCountByUserIDRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteCountByUserIDRequest) SetUserId(val int64)
- func (p *FavoriteCountByUserIDRequest) String() string
- func (p *FavoriteCountByUserIDRequest) Write(oprot thrift.TProtocol) (err error)
- type FavoriteCountByUserIDResponse
- func (p *FavoriteCountByUserIDResponse) BLength() int
- func (p *FavoriteCountByUserIDResponse) DeepEqual(ano *FavoriteCountByUserIDResponse) bool
- func (p *FavoriteCountByUserIDResponse) FastRead(buf []byte) (int, error)
- func (p *FavoriteCountByUserIDResponse) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteCountByUserIDResponse) FastReadField2(buf []byte) (int, error)
- func (p *FavoriteCountByUserIDResponse) FastReadField3(buf []byte) (int, error)
- func (p *FavoriteCountByUserIDResponse) FastWrite(buf []byte) int
- func (p *FavoriteCountByUserIDResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteCountByUserIDResponse) Field1DeepEqual(src int32) bool
- func (p *FavoriteCountByUserIDResponse) Field2DeepEqual(src *string) bool
- func (p *FavoriteCountByUserIDResponse) Field3DeepEqual(src int64) bool
- func (p *FavoriteCountByUserIDResponse) GetFavoriteCount() (v int64)
- func (p *FavoriteCountByUserIDResponse) GetStatusCode() (v int32)
- func (p *FavoriteCountByUserIDResponse) GetStatusMsg() (v string)
- func (p *FavoriteCountByUserIDResponse) InitDefault()
- func (p *FavoriteCountByUserIDResponse) IsSetStatusMsg() bool
- func (p *FavoriteCountByUserIDResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteCountByUserIDResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteCountByUserIDResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *FavoriteCountByUserIDResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *FavoriteCountByUserIDResponse) SetFavoriteCount(val int64)
- func (p *FavoriteCountByUserIDResponse) SetStatusCode(val int32)
- func (p *FavoriteCountByUserIDResponse) SetStatusMsg(val *string)
- func (p *FavoriteCountByUserIDResponse) String() string
- func (p *FavoriteCountByUserIDResponse) Write(oprot thrift.TProtocol) (err error)
- type FavoriteCountRequest
- func (p *FavoriteCountRequest) BLength() int
- func (p *FavoriteCountRequest) DeepEqual(ano *FavoriteCountRequest) bool
- func (p *FavoriteCountRequest) FastRead(buf []byte) (int, error)
- func (p *FavoriteCountRequest) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteCountRequest) FastWrite(buf []byte) int
- func (p *FavoriteCountRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteCountRequest) Field1DeepEqual(src int64) bool
- func (p *FavoriteCountRequest) GetVideoId() (v int64)
- func (p *FavoriteCountRequest) InitDefault()
- func (p *FavoriteCountRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteCountRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteCountRequest) SetVideoId(val int64)
- func (p *FavoriteCountRequest) String() string
- func (p *FavoriteCountRequest) Write(oprot thrift.TProtocol) (err error)
- type FavoriteCountResponse
- func (p *FavoriteCountResponse) BLength() int
- func (p *FavoriteCountResponse) DeepEqual(ano *FavoriteCountResponse) bool
- func (p *FavoriteCountResponse) FastRead(buf []byte) (int, error)
- func (p *FavoriteCountResponse) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteCountResponse) FastReadField2(buf []byte) (int, error)
- func (p *FavoriteCountResponse) FastReadField3(buf []byte) (int, error)
- func (p *FavoriteCountResponse) FastWrite(buf []byte) int
- func (p *FavoriteCountResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteCountResponse) Field1DeepEqual(src int32) bool
- func (p *FavoriteCountResponse) Field2DeepEqual(src *string) bool
- func (p *FavoriteCountResponse) Field3DeepEqual(src int64) bool
- func (p *FavoriteCountResponse) GetFavoriteCount() (v int64)
- func (p *FavoriteCountResponse) GetStatusCode() (v int32)
- func (p *FavoriteCountResponse) GetStatusMsg() (v string)
- func (p *FavoriteCountResponse) InitDefault()
- func (p *FavoriteCountResponse) IsSetStatusMsg() bool
- func (p *FavoriteCountResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteCountResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteCountResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *FavoriteCountResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *FavoriteCountResponse) SetFavoriteCount(val int64)
- func (p *FavoriteCountResponse) SetStatusCode(val int32)
- func (p *FavoriteCountResponse) SetStatusMsg(val *string)
- func (p *FavoriteCountResponse) String() string
- func (p *FavoriteCountResponse) 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 string) bool
- func (p *FavoriteListRequest) GetToken() (v string)
- func (p *FavoriteListRequest) GetUserId() (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) SetToken(val string)
- func (p *FavoriteListRequest) SetUserId(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) FastReadField2(buf []byte) (int, error)
- func (p *FavoriteListResponse) FastReadField3(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 int32) bool
- func (p *FavoriteListResponse) Field2DeepEqual(src *string) bool
- func (p *FavoriteListResponse) Field3DeepEqual(src []*Video) bool
- func (p *FavoriteListResponse) GetStatusCode() (v int32)
- func (p *FavoriteListResponse) GetStatusMsg() (v string)
- func (p *FavoriteListResponse) GetVideoList() (v []*Video)
- func (p *FavoriteListResponse) InitDefault()
- func (p *FavoriteListResponse) IsSetStatusMsg() bool
- func (p *FavoriteListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *FavoriteListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *FavoriteListResponse) SetStatusCode(val int32)
- func (p *FavoriteListResponse) SetStatusMsg(val *string)
- func (p *FavoriteListResponse) SetVideoList(val []*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) FavoriteCount(ctx context.Context, req *FavoriteCountRequest) (r *FavoriteCountResponse, err error)
- func (p *FavoriteServiceClient) FavoriteCountByUserID(ctx context.Context, req *FavoriteCountByUserIDRequest) (r *FavoriteCountByUserIDResponse, err error)
- func (p *FavoriteServiceClient) FavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error)
- func (p *FavoriteServiceClient) IsFavorite(ctx context.Context, req *IsFavoriteRequest) (r *IsFavoriteResponse, err error)
- func (p *FavoriteServiceClient) TotalFavoritedByAuthorID(ctx context.Context, req *TotalFavoritedByAuthorIDRequest) (r *TotalFavoritedByAuthorIDResponse, 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 FavoriteServiceFavoriteCountArgs
- func (p *FavoriteServiceFavoriteCountArgs) BLength() int
- func (p *FavoriteServiceFavoriteCountArgs) DeepEqual(ano *FavoriteServiceFavoriteCountArgs) bool
- func (p *FavoriteServiceFavoriteCountArgs) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteCountArgs) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteCountArgs) FastWrite(buf []byte) int
- func (p *FavoriteServiceFavoriteCountArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceFavoriteCountArgs) Field1DeepEqual(src *FavoriteCountRequest) bool
- func (p *FavoriteServiceFavoriteCountArgs) GetFirstArgument() interface{}
- func (p *FavoriteServiceFavoriteCountArgs) GetReq() (v *FavoriteCountRequest)
- func (p *FavoriteServiceFavoriteCountArgs) InitDefault()
- func (p *FavoriteServiceFavoriteCountArgs) IsSetReq() bool
- func (p *FavoriteServiceFavoriteCountArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceFavoriteCountArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteServiceFavoriteCountArgs) SetReq(val *FavoriteCountRequest)
- func (p *FavoriteServiceFavoriteCountArgs) String() string
- func (p *FavoriteServiceFavoriteCountArgs) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceFavoriteCountByUserIDArgs
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) BLength() int
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) DeepEqual(ano *FavoriteServiceFavoriteCountByUserIDArgs) bool
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) FastWrite(buf []byte) int
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) Field1DeepEqual(src *FavoriteCountByUserIDRequest) bool
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) GetFirstArgument() interface{}
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) GetReq() (v *FavoriteCountByUserIDRequest)
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) InitDefault()
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) IsSetReq() bool
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) SetReq(val *FavoriteCountByUserIDRequest)
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) String() string
- func (p *FavoriteServiceFavoriteCountByUserIDArgs) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceFavoriteCountByUserIDResult
- func (p *FavoriteServiceFavoriteCountByUserIDResult) BLength() int
- func (p *FavoriteServiceFavoriteCountByUserIDResult) DeepEqual(ano *FavoriteServiceFavoriteCountByUserIDResult) bool
- func (p *FavoriteServiceFavoriteCountByUserIDResult) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteCountByUserIDResult) FastReadField0(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteCountByUserIDResult) FastWrite(buf []byte) int
- func (p *FavoriteServiceFavoriteCountByUserIDResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceFavoriteCountByUserIDResult) Field0DeepEqual(src *FavoriteCountByUserIDResponse) bool
- func (p *FavoriteServiceFavoriteCountByUserIDResult) GetResult() interface{}
- func (p *FavoriteServiceFavoriteCountByUserIDResult) GetSuccess() (v *FavoriteCountByUserIDResponse)
- func (p *FavoriteServiceFavoriteCountByUserIDResult) InitDefault()
- func (p *FavoriteServiceFavoriteCountByUserIDResult) IsSetSuccess() bool
- func (p *FavoriteServiceFavoriteCountByUserIDResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceFavoriteCountByUserIDResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FavoriteServiceFavoriteCountByUserIDResult) SetSuccess(x interface{})
- func (p *FavoriteServiceFavoriteCountByUserIDResult) String() string
- func (p *FavoriteServiceFavoriteCountByUserIDResult) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceFavoriteCountResult
- func (p *FavoriteServiceFavoriteCountResult) BLength() int
- func (p *FavoriteServiceFavoriteCountResult) DeepEqual(ano *FavoriteServiceFavoriteCountResult) bool
- func (p *FavoriteServiceFavoriteCountResult) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteCountResult) FastReadField0(buf []byte) (int, error)
- func (p *FavoriteServiceFavoriteCountResult) FastWrite(buf []byte) int
- func (p *FavoriteServiceFavoriteCountResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceFavoriteCountResult) Field0DeepEqual(src *FavoriteCountResponse) bool
- func (p *FavoriteServiceFavoriteCountResult) GetResult() interface{}
- func (p *FavoriteServiceFavoriteCountResult) GetSuccess() (v *FavoriteCountResponse)
- func (p *FavoriteServiceFavoriteCountResult) InitDefault()
- func (p *FavoriteServiceFavoriteCountResult) IsSetSuccess() bool
- func (p *FavoriteServiceFavoriteCountResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceFavoriteCountResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FavoriteServiceFavoriteCountResult) SetSuccess(x interface{})
- func (p *FavoriteServiceFavoriteCountResult) String() string
- func (p *FavoriteServiceFavoriteCountResult) 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 FavoriteServiceIsFavoriteArgs
- func (p *FavoriteServiceIsFavoriteArgs) BLength() int
- func (p *FavoriteServiceIsFavoriteArgs) DeepEqual(ano *FavoriteServiceIsFavoriteArgs) bool
- func (p *FavoriteServiceIsFavoriteArgs) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceIsFavoriteArgs) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteServiceIsFavoriteArgs) FastWrite(buf []byte) int
- func (p *FavoriteServiceIsFavoriteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceIsFavoriteArgs) Field1DeepEqual(src *IsFavoriteRequest) bool
- func (p *FavoriteServiceIsFavoriteArgs) GetFirstArgument() interface{}
- func (p *FavoriteServiceIsFavoriteArgs) GetReq() (v *IsFavoriteRequest)
- func (p *FavoriteServiceIsFavoriteArgs) InitDefault()
- func (p *FavoriteServiceIsFavoriteArgs) IsSetReq() bool
- func (p *FavoriteServiceIsFavoriteArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceIsFavoriteArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteServiceIsFavoriteArgs) SetReq(val *IsFavoriteRequest)
- func (p *FavoriteServiceIsFavoriteArgs) String() string
- func (p *FavoriteServiceIsFavoriteArgs) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceIsFavoriteResult
- func (p *FavoriteServiceIsFavoriteResult) BLength() int
- func (p *FavoriteServiceIsFavoriteResult) DeepEqual(ano *FavoriteServiceIsFavoriteResult) bool
- func (p *FavoriteServiceIsFavoriteResult) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceIsFavoriteResult) FastReadField0(buf []byte) (int, error)
- func (p *FavoriteServiceIsFavoriteResult) FastWrite(buf []byte) int
- func (p *FavoriteServiceIsFavoriteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceIsFavoriteResult) Field0DeepEqual(src *IsFavoriteResponse) bool
- func (p *FavoriteServiceIsFavoriteResult) GetResult() interface{}
- func (p *FavoriteServiceIsFavoriteResult) GetSuccess() (v *IsFavoriteResponse)
- func (p *FavoriteServiceIsFavoriteResult) InitDefault()
- func (p *FavoriteServiceIsFavoriteResult) IsSetSuccess() bool
- func (p *FavoriteServiceIsFavoriteResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceIsFavoriteResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FavoriteServiceIsFavoriteResult) SetSuccess(x interface{})
- func (p *FavoriteServiceIsFavoriteResult) String() string
- func (p *FavoriteServiceIsFavoriteResult) 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 FavoriteServiceTotalFavoritedByAuthorIDArgs
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) BLength() int
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) DeepEqual(ano *FavoriteServiceTotalFavoritedByAuthorIDArgs) bool
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) FastWrite(buf []byte) int
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) Field1DeepEqual(src *TotalFavoritedByAuthorIDRequest) bool
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) GetFirstArgument() interface{}
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) GetReq() (v *TotalFavoritedByAuthorIDRequest)
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) InitDefault()
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) IsSetReq() bool
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) SetReq(val *TotalFavoritedByAuthorIDRequest)
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) String() string
- func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceTotalFavoritedByAuthorIDResult
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) BLength() int
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) DeepEqual(ano *FavoriteServiceTotalFavoritedByAuthorIDResult) bool
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) FastRead(buf []byte) (int, error)
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) FastReadField0(buf []byte) (int, error)
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) FastWrite(buf []byte) int
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) Field0DeepEqual(src *TotalFavoritedByAuthorIDResponse) bool
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) GetResult() interface{}
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) GetSuccess() (v *TotalFavoritedByAuthorIDResponse)
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) InitDefault()
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) IsSetSuccess() bool
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) SetSuccess(x interface{})
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) String() string
- func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) Write(oprot thrift.TProtocol) (err error)
- type IsFavoriteRequest
- func (p *IsFavoriteRequest) BLength() int
- func (p *IsFavoriteRequest) DeepEqual(ano *IsFavoriteRequest) bool
- func (p *IsFavoriteRequest) FastRead(buf []byte) (int, error)
- func (p *IsFavoriteRequest) FastReadField1(buf []byte) (int, error)
- func (p *IsFavoriteRequest) FastReadField2(buf []byte) (int, error)
- func (p *IsFavoriteRequest) FastWrite(buf []byte) int
- func (p *IsFavoriteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *IsFavoriteRequest) Field1DeepEqual(src int64) bool
- func (p *IsFavoriteRequest) Field2DeepEqual(src int64) bool
- func (p *IsFavoriteRequest) GetUserId() (v int64)
- func (p *IsFavoriteRequest) GetVideoId() (v int64)
- func (p *IsFavoriteRequest) InitDefault()
- func (p *IsFavoriteRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *IsFavoriteRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *IsFavoriteRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *IsFavoriteRequest) SetUserId(val int64)
- func (p *IsFavoriteRequest) SetVideoId(val int64)
- func (p *IsFavoriteRequest) String() string
- func (p *IsFavoriteRequest) Write(oprot thrift.TProtocol) (err error)
- type IsFavoriteResponse
- func (p *IsFavoriteResponse) BLength() int
- func (p *IsFavoriteResponse) DeepEqual(ano *IsFavoriteResponse) bool
- func (p *IsFavoriteResponse) FastRead(buf []byte) (int, error)
- func (p *IsFavoriteResponse) FastReadField1(buf []byte) (int, error)
- func (p *IsFavoriteResponse) FastReadField2(buf []byte) (int, error)
- func (p *IsFavoriteResponse) FastReadField3(buf []byte) (int, error)
- func (p *IsFavoriteResponse) FastWrite(buf []byte) int
- func (p *IsFavoriteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *IsFavoriteResponse) Field1DeepEqual(src int32) bool
- func (p *IsFavoriteResponse) Field2DeepEqual(src *string) bool
- func (p *IsFavoriteResponse) Field3DeepEqual(src bool) bool
- func (p *IsFavoriteResponse) GetIsFavorite() (v bool)
- func (p *IsFavoriteResponse) GetStatusCode() (v int32)
- func (p *IsFavoriteResponse) GetStatusMsg() (v string)
- func (p *IsFavoriteResponse) InitDefault()
- func (p *IsFavoriteResponse) IsSetStatusMsg() bool
- func (p *IsFavoriteResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *IsFavoriteResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *IsFavoriteResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *IsFavoriteResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *IsFavoriteResponse) SetIsFavorite(val bool)
- func (p *IsFavoriteResponse) SetStatusCode(val int32)
- func (p *IsFavoriteResponse) SetStatusMsg(val *string)
- func (p *IsFavoriteResponse) String() string
- func (p *IsFavoriteResponse) Write(oprot thrift.TProtocol) (err error)
- type TotalFavoritedByAuthorIDRequest
- func (p *TotalFavoritedByAuthorIDRequest) BLength() int
- func (p *TotalFavoritedByAuthorIDRequest) DeepEqual(ano *TotalFavoritedByAuthorIDRequest) bool
- func (p *TotalFavoritedByAuthorIDRequest) FastRead(buf []byte) (int, error)
- func (p *TotalFavoritedByAuthorIDRequest) FastReadField1(buf []byte) (int, error)
- func (p *TotalFavoritedByAuthorIDRequest) FastWrite(buf []byte) int
- func (p *TotalFavoritedByAuthorIDRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TotalFavoritedByAuthorIDRequest) Field1DeepEqual(src int64) bool
- func (p *TotalFavoritedByAuthorIDRequest) GetAuthorId() (v int64)
- func (p *TotalFavoritedByAuthorIDRequest) InitDefault()
- func (p *TotalFavoritedByAuthorIDRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *TotalFavoritedByAuthorIDRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *TotalFavoritedByAuthorIDRequest) SetAuthorId(val int64)
- func (p *TotalFavoritedByAuthorIDRequest) String() string
- func (p *TotalFavoritedByAuthorIDRequest) Write(oprot thrift.TProtocol) (err error)
- type TotalFavoritedByAuthorIDResponse
- func (p *TotalFavoritedByAuthorIDResponse) BLength() int
- func (p *TotalFavoritedByAuthorIDResponse) DeepEqual(ano *TotalFavoritedByAuthorIDResponse) bool
- func (p *TotalFavoritedByAuthorIDResponse) FastRead(buf []byte) (int, error)
- func (p *TotalFavoritedByAuthorIDResponse) FastReadField1(buf []byte) (int, error)
- func (p *TotalFavoritedByAuthorIDResponse) FastReadField2(buf []byte) (int, error)
- func (p *TotalFavoritedByAuthorIDResponse) FastReadField3(buf []byte) (int, error)
- func (p *TotalFavoritedByAuthorIDResponse) FastWrite(buf []byte) int
- func (p *TotalFavoritedByAuthorIDResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TotalFavoritedByAuthorIDResponse) Field1DeepEqual(src int32) bool
- func (p *TotalFavoritedByAuthorIDResponse) Field2DeepEqual(src *string) bool
- func (p *TotalFavoritedByAuthorIDResponse) Field3DeepEqual(src int64) bool
- func (p *TotalFavoritedByAuthorIDResponse) GetStatusCode() (v int32)
- func (p *TotalFavoritedByAuthorIDResponse) GetStatusMsg() (v string)
- func (p *TotalFavoritedByAuthorIDResponse) GetTotalFavorited() (v int64)
- func (p *TotalFavoritedByAuthorIDResponse) InitDefault()
- func (p *TotalFavoritedByAuthorIDResponse) IsSetStatusMsg() bool
- func (p *TotalFavoritedByAuthorIDResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *TotalFavoritedByAuthorIDResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *TotalFavoritedByAuthorIDResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *TotalFavoritedByAuthorIDResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *TotalFavoritedByAuthorIDResponse) SetStatusCode(val int32)
- func (p *TotalFavoritedByAuthorIDResponse) SetStatusMsg(val *string)
- func (p *TotalFavoritedByAuthorIDResponse) SetTotalFavorited(val int64)
- func (p *TotalFavoritedByAuthorIDResponse) String() string
- func (p *TotalFavoritedByAuthorIDResponse) Write(oprot thrift.TProtocol) (err error)
- type User
- func (p *User) BLength() int
- func (p *User) DeepEqual(ano *User) bool
- func (p *User) FastRead(buf []byte) (int, error)
- func (p *User) FastReadField1(buf []byte) (int, error)
- func (p *User) FastReadField10(buf []byte) (int, error)
- func (p *User) FastReadField11(buf []byte) (int, error)
- func (p *User) FastReadField2(buf []byte) (int, error)
- func (p *User) FastReadField3(buf []byte) (int, error)
- func (p *User) FastReadField4(buf []byte) (int, error)
- func (p *User) FastReadField5(buf []byte) (int, error)
- func (p *User) FastReadField6(buf []byte) (int, error)
- func (p *User) FastReadField7(buf []byte) (int, error)
- func (p *User) FastReadField8(buf []byte) (int, error)
- func (p *User) FastReadField9(buf []byte) (int, error)
- func (p *User) FastWrite(buf []byte) int
- func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *User) Field10DeepEqual(src int64) bool
- func (p *User) Field11DeepEqual(src int64) bool
- func (p *User) Field1DeepEqual(src int64) bool
- func (p *User) Field2DeepEqual(src string) bool
- func (p *User) Field3DeepEqual(src int64) bool
- func (p *User) Field4DeepEqual(src int64) bool
- func (p *User) Field5DeepEqual(src bool) bool
- func (p *User) Field6DeepEqual(src string) bool
- func (p *User) Field7DeepEqual(src string) bool
- func (p *User) Field8DeepEqual(src string) bool
- func (p *User) Field9DeepEqual(src int64) bool
- func (p *User) GetAvatar() (v string)
- func (p *User) GetBackgroundImage() (v string)
- func (p *User) GetFavoriteCount() (v int64)
- func (p *User) GetFollowCount() (v int64)
- func (p *User) GetFollowerCount() (v int64)
- func (p *User) GetId() (v int64)
- func (p *User) GetIsFollow() (v bool)
- func (p *User) GetName() (v string)
- func (p *User) GetSignature() (v string)
- func (p *User) GetTotalFavorited() (v int64)
- func (p *User) GetWorkCount() (v int64)
- func (p *User) InitDefault()
- func (p *User) Read(iprot thrift.TProtocol) (err error)
- func (p *User) ReadField1(iprot thrift.TProtocol) error
- func (p *User) ReadField10(iprot thrift.TProtocol) error
- func (p *User) ReadField11(iprot thrift.TProtocol) error
- func (p *User) ReadField2(iprot thrift.TProtocol) error
- func (p *User) ReadField3(iprot thrift.TProtocol) error
- func (p *User) ReadField4(iprot thrift.TProtocol) error
- func (p *User) ReadField5(iprot thrift.TProtocol) error
- func (p *User) ReadField6(iprot thrift.TProtocol) error
- func (p *User) ReadField7(iprot thrift.TProtocol) error
- func (p *User) ReadField8(iprot thrift.TProtocol) error
- func (p *User) ReadField9(iprot thrift.TProtocol) error
- func (p *User) SetAvatar(val string)
- func (p *User) SetBackgroundImage(val string)
- func (p *User) SetFavoriteCount(val int64)
- func (p *User) SetFollowCount(val int64)
- func (p *User) SetFollowerCount(val int64)
- func (p *User) SetId(val int64)
- func (p *User) SetIsFollow(val bool)
- func (p *User) SetName(val string)
- func (p *User) SetSignature(val string)
- func (p *User) SetTotalFavorited(val int64)
- func (p *User) SetWorkCount(val int64)
- func (p *User) String() string
- func (p *User) Write(oprot thrift.TProtocol) (err error)
- type Video
- func (p *Video) BLength() int
- func (p *Video) DeepEqual(ano *Video) bool
- func (p *Video) FastRead(buf []byte) (int, error)
- func (p *Video) FastReadField1(buf []byte) (int, error)
- func (p *Video) FastReadField2(buf []byte) (int, error)
- func (p *Video) FastReadField3(buf []byte) (int, error)
- func (p *Video) FastReadField4(buf []byte) (int, error)
- func (p *Video) FastReadField5(buf []byte) (int, error)
- func (p *Video) FastReadField6(buf []byte) (int, error)
- func (p *Video) FastReadField7(buf []byte) (int, error)
- func (p *Video) FastReadField8(buf []byte) (int, error)
- func (p *Video) FastWrite(buf []byte) int
- func (p *Video) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Video) Field1DeepEqual(src int64) bool
- func (p *Video) Field2DeepEqual(src *User) bool
- func (p *Video) Field3DeepEqual(src string) bool
- func (p *Video) Field4DeepEqual(src string) bool
- func (p *Video) Field5DeepEqual(src int64) bool
- func (p *Video) Field6DeepEqual(src int64) bool
- func (p *Video) Field7DeepEqual(src bool) bool
- func (p *Video) Field8DeepEqual(src string) bool
- func (p *Video) GetAuthor() (v *User)
- func (p *Video) GetCommentCount() (v int64)
- func (p *Video) GetCoverUrl() (v string)
- func (p *Video) GetFavoriteCount() (v int64)
- func (p *Video) GetId() (v int64)
- func (p *Video) GetIsFavorite() (v bool)
- func (p *Video) GetPlayUrl() (v string)
- func (p *Video) GetTitle() (v string)
- func (p *Video) InitDefault()
- func (p *Video) IsSetAuthor() bool
- func (p *Video) Read(iprot thrift.TProtocol) (err error)
- func (p *Video) ReadField1(iprot thrift.TProtocol) error
- func (p *Video) ReadField2(iprot thrift.TProtocol) error
- func (p *Video) ReadField3(iprot thrift.TProtocol) error
- func (p *Video) ReadField4(iprot thrift.TProtocol) error
- func (p *Video) ReadField5(iprot thrift.TProtocol) error
- func (p *Video) ReadField6(iprot thrift.TProtocol) error
- func (p *Video) ReadField7(iprot thrift.TProtocol) error
- func (p *Video) ReadField8(iprot thrift.TProtocol) error
- func (p *Video) SetAuthor(val *User)
- func (p *Video) SetCommentCount(val int64)
- func (p *Video) SetCoverUrl(val string)
- func (p *Video) SetFavoriteCount(val int64)
- func (p *Video) SetId(val int64)
- func (p *Video) SetIsFavorite(val bool)
- func (p *Video) SetPlayUrl(val string)
- func (p *Video) SetTitle(val string)
- func (p *Video) String() string
- func (p *Video) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var FavoriteActionResponse_StatusMsg_DEFAULT string
View Source
var FavoriteCountByUserIDResponse_StatusMsg_DEFAULT string
View Source
var FavoriteCountResponse_StatusMsg_DEFAULT string
View Source
var FavoriteListResponse_StatusMsg_DEFAULT string
View Source
var IsFavoriteResponse_StatusMsg_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var TotalFavoritedByAuthorIDResponse_StatusMsg_DEFAULT string
Functions ¶
This section is empty.
Types ¶
type FavoriteActionRequest ¶
type FavoriteActionRequest struct { Token string `thrift:"token,1" frugal:"1,default,string" json:"token"` VideoId int64 `thrift:"video_id,2" frugal:"2,default,i64" json:"video_id"` ActionType int32 `thrift:"action_type,3" frugal:"3,default,i32" json:"action_type"` UserId int64 `thrift:"user_id,4" frugal:"4,default,i64" json:"user_id"` }
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) FastReadField4 ¶
func (p *FavoriteActionRequest) FastReadField4(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 string) bool
func (*FavoriteActionRequest) Field2DeepEqual ¶
func (p *FavoriteActionRequest) Field2DeepEqual(src int64) bool
func (*FavoriteActionRequest) Field3DeepEqual ¶
func (p *FavoriteActionRequest) Field3DeepEqual(src int32) bool
func (*FavoriteActionRequest) Field4DeepEqual ¶
func (p *FavoriteActionRequest) Field4DeepEqual(src int64) bool
func (*FavoriteActionRequest) GetActionType ¶
func (p *FavoriteActionRequest) GetActionType() (v int32)
func (*FavoriteActionRequest) GetToken ¶
func (p *FavoriteActionRequest) GetToken() (v string)
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) ReadField4 ¶
func (p *FavoriteActionRequest) ReadField4(iprot thrift.TProtocol) error
func (*FavoriteActionRequest) SetActionType ¶
func (p *FavoriteActionRequest) SetActionType(val int32)
func (*FavoriteActionRequest) SetToken ¶
func (p *FavoriteActionRequest) SetToken(val string)
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 { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` }
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) FastReadField1 ¶
func (p *FavoriteActionResponse) FastReadField1(buf []byte) (int, error)
func (*FavoriteActionResponse) FastReadField2 ¶
func (p *FavoriteActionResponse) FastReadField2(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) Field1DeepEqual ¶
func (p *FavoriteActionResponse) Field1DeepEqual(src int32) bool
func (*FavoriteActionResponse) Field2DeepEqual ¶
func (p *FavoriteActionResponse) Field2DeepEqual(src *string) bool
func (*FavoriteActionResponse) GetStatusCode ¶
func (p *FavoriteActionResponse) GetStatusCode() (v int32)
func (*FavoriteActionResponse) GetStatusMsg ¶
func (p *FavoriteActionResponse) GetStatusMsg() (v string)
func (*FavoriteActionResponse) InitDefault ¶
func (p *FavoriteActionResponse) InitDefault()
func (*FavoriteActionResponse) IsSetStatusMsg ¶
func (p *FavoriteActionResponse) IsSetStatusMsg() bool
func (*FavoriteActionResponse) Read ¶
func (p *FavoriteActionResponse) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteActionResponse) ReadField1 ¶
func (p *FavoriteActionResponse) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteActionResponse) ReadField2 ¶
func (p *FavoriteActionResponse) ReadField2(iprot thrift.TProtocol) error
func (*FavoriteActionResponse) SetStatusCode ¶
func (p *FavoriteActionResponse) SetStatusCode(val int32)
func (*FavoriteActionResponse) SetStatusMsg ¶
func (p *FavoriteActionResponse) SetStatusMsg(val *string)
func (*FavoriteActionResponse) String ¶
func (p *FavoriteActionResponse) String() string
type FavoriteCountByUserIDRequest ¶
type FavoriteCountByUserIDRequest struct {
UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
}
var FavoriteServiceFavoriteCountByUserIDArgs_Req_DEFAULT *FavoriteCountByUserIDRequest
func NewFavoriteCountByUserIDRequest ¶
func NewFavoriteCountByUserIDRequest() *FavoriteCountByUserIDRequest
func (*FavoriteCountByUserIDRequest) BLength ¶
func (p *FavoriteCountByUserIDRequest) BLength() int
func (*FavoriteCountByUserIDRequest) DeepEqual ¶
func (p *FavoriteCountByUserIDRequest) DeepEqual(ano *FavoriteCountByUserIDRequest) bool
func (*FavoriteCountByUserIDRequest) FastRead ¶
func (p *FavoriteCountByUserIDRequest) FastRead(buf []byte) (int, error)
func (*FavoriteCountByUserIDRequest) FastReadField1 ¶
func (p *FavoriteCountByUserIDRequest) FastReadField1(buf []byte) (int, error)
func (*FavoriteCountByUserIDRequest) FastWrite ¶
func (p *FavoriteCountByUserIDRequest) FastWrite(buf []byte) int
for compatibility
func (*FavoriteCountByUserIDRequest) FastWriteNocopy ¶
func (p *FavoriteCountByUserIDRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteCountByUserIDRequest) Field1DeepEqual ¶
func (p *FavoriteCountByUserIDRequest) Field1DeepEqual(src int64) bool
func (*FavoriteCountByUserIDRequest) GetUserId ¶
func (p *FavoriteCountByUserIDRequest) GetUserId() (v int64)
func (*FavoriteCountByUserIDRequest) InitDefault ¶
func (p *FavoriteCountByUserIDRequest) InitDefault()
func (*FavoriteCountByUserIDRequest) Read ¶
func (p *FavoriteCountByUserIDRequest) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteCountByUserIDRequest) ReadField1 ¶
func (p *FavoriteCountByUserIDRequest) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteCountByUserIDRequest) SetUserId ¶
func (p *FavoriteCountByUserIDRequest) SetUserId(val int64)
func (*FavoriteCountByUserIDRequest) String ¶
func (p *FavoriteCountByUserIDRequest) String() string
type FavoriteCountByUserIDResponse ¶
type FavoriteCountByUserIDResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` FavoriteCount int64 `thrift:"favorite_count,3" frugal:"3,default,i64" json:"favorite_count"` }
var FavoriteServiceFavoriteCountByUserIDResult_Success_DEFAULT *FavoriteCountByUserIDResponse
func NewFavoriteCountByUserIDResponse ¶
func NewFavoriteCountByUserIDResponse() *FavoriteCountByUserIDResponse
func (*FavoriteCountByUserIDResponse) BLength ¶
func (p *FavoriteCountByUserIDResponse) BLength() int
func (*FavoriteCountByUserIDResponse) DeepEqual ¶
func (p *FavoriteCountByUserIDResponse) DeepEqual(ano *FavoriteCountByUserIDResponse) bool
func (*FavoriteCountByUserIDResponse) FastRead ¶
func (p *FavoriteCountByUserIDResponse) FastRead(buf []byte) (int, error)
func (*FavoriteCountByUserIDResponse) FastReadField1 ¶
func (p *FavoriteCountByUserIDResponse) FastReadField1(buf []byte) (int, error)
func (*FavoriteCountByUserIDResponse) FastReadField2 ¶
func (p *FavoriteCountByUserIDResponse) FastReadField2(buf []byte) (int, error)
func (*FavoriteCountByUserIDResponse) FastReadField3 ¶
func (p *FavoriteCountByUserIDResponse) FastReadField3(buf []byte) (int, error)
func (*FavoriteCountByUserIDResponse) FastWrite ¶
func (p *FavoriteCountByUserIDResponse) FastWrite(buf []byte) int
for compatibility
func (*FavoriteCountByUserIDResponse) FastWriteNocopy ¶
func (p *FavoriteCountByUserIDResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteCountByUserIDResponse) Field1DeepEqual ¶
func (p *FavoriteCountByUserIDResponse) Field1DeepEqual(src int32) bool
func (*FavoriteCountByUserIDResponse) Field2DeepEqual ¶
func (p *FavoriteCountByUserIDResponse) Field2DeepEqual(src *string) bool
func (*FavoriteCountByUserIDResponse) Field3DeepEqual ¶
func (p *FavoriteCountByUserIDResponse) Field3DeepEqual(src int64) bool
func (*FavoriteCountByUserIDResponse) GetFavoriteCount ¶
func (p *FavoriteCountByUserIDResponse) GetFavoriteCount() (v int64)
func (*FavoriteCountByUserIDResponse) GetStatusCode ¶
func (p *FavoriteCountByUserIDResponse) GetStatusCode() (v int32)
func (*FavoriteCountByUserIDResponse) GetStatusMsg ¶
func (p *FavoriteCountByUserIDResponse) GetStatusMsg() (v string)
func (*FavoriteCountByUserIDResponse) InitDefault ¶
func (p *FavoriteCountByUserIDResponse) InitDefault()
func (*FavoriteCountByUserIDResponse) IsSetStatusMsg ¶
func (p *FavoriteCountByUserIDResponse) IsSetStatusMsg() bool
func (*FavoriteCountByUserIDResponse) Read ¶
func (p *FavoriteCountByUserIDResponse) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteCountByUserIDResponse) ReadField1 ¶
func (p *FavoriteCountByUserIDResponse) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteCountByUserIDResponse) ReadField2 ¶
func (p *FavoriteCountByUserIDResponse) ReadField2(iprot thrift.TProtocol) error
func (*FavoriteCountByUserIDResponse) ReadField3 ¶
func (p *FavoriteCountByUserIDResponse) ReadField3(iprot thrift.TProtocol) error
func (*FavoriteCountByUserIDResponse) SetFavoriteCount ¶
func (p *FavoriteCountByUserIDResponse) SetFavoriteCount(val int64)
func (*FavoriteCountByUserIDResponse) SetStatusCode ¶
func (p *FavoriteCountByUserIDResponse) SetStatusCode(val int32)
func (*FavoriteCountByUserIDResponse) SetStatusMsg ¶
func (p *FavoriteCountByUserIDResponse) SetStatusMsg(val *string)
func (*FavoriteCountByUserIDResponse) String ¶
func (p *FavoriteCountByUserIDResponse) String() string
type FavoriteCountRequest ¶
type FavoriteCountRequest struct {
VideoId int64 `thrift:"video_id,1" frugal:"1,default,i64" json:"video_id"`
}
var FavoriteServiceFavoriteCountArgs_Req_DEFAULT *FavoriteCountRequest
func NewFavoriteCountRequest ¶
func NewFavoriteCountRequest() *FavoriteCountRequest
func (*FavoriteCountRequest) BLength ¶
func (p *FavoriteCountRequest) BLength() int
func (*FavoriteCountRequest) DeepEqual ¶
func (p *FavoriteCountRequest) DeepEqual(ano *FavoriteCountRequest) bool
func (*FavoriteCountRequest) FastRead ¶
func (p *FavoriteCountRequest) FastRead(buf []byte) (int, error)
func (*FavoriteCountRequest) FastReadField1 ¶
func (p *FavoriteCountRequest) FastReadField1(buf []byte) (int, error)
func (*FavoriteCountRequest) FastWrite ¶
func (p *FavoriteCountRequest) FastWrite(buf []byte) int
for compatibility
func (*FavoriteCountRequest) FastWriteNocopy ¶
func (p *FavoriteCountRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteCountRequest) Field1DeepEqual ¶
func (p *FavoriteCountRequest) Field1DeepEqual(src int64) bool
func (*FavoriteCountRequest) GetVideoId ¶
func (p *FavoriteCountRequest) GetVideoId() (v int64)
func (*FavoriteCountRequest) InitDefault ¶
func (p *FavoriteCountRequest) InitDefault()
func (*FavoriteCountRequest) Read ¶
func (p *FavoriteCountRequest) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteCountRequest) ReadField1 ¶
func (p *FavoriteCountRequest) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteCountRequest) SetVideoId ¶
func (p *FavoriteCountRequest) SetVideoId(val int64)
func (*FavoriteCountRequest) String ¶
func (p *FavoriteCountRequest) String() string
type FavoriteCountResponse ¶
type FavoriteCountResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` FavoriteCount int64 `thrift:"favorite_count,3" frugal:"3,default,i64" json:"favorite_count"` }
var FavoriteServiceFavoriteCountResult_Success_DEFAULT *FavoriteCountResponse
func NewFavoriteCountResponse ¶
func NewFavoriteCountResponse() *FavoriteCountResponse
func (*FavoriteCountResponse) BLength ¶
func (p *FavoriteCountResponse) BLength() int
func (*FavoriteCountResponse) DeepEqual ¶
func (p *FavoriteCountResponse) DeepEqual(ano *FavoriteCountResponse) bool
func (*FavoriteCountResponse) FastRead ¶
func (p *FavoriteCountResponse) FastRead(buf []byte) (int, error)
func (*FavoriteCountResponse) FastReadField1 ¶
func (p *FavoriteCountResponse) FastReadField1(buf []byte) (int, error)
func (*FavoriteCountResponse) FastReadField2 ¶
func (p *FavoriteCountResponse) FastReadField2(buf []byte) (int, error)
func (*FavoriteCountResponse) FastReadField3 ¶
func (p *FavoriteCountResponse) FastReadField3(buf []byte) (int, error)
func (*FavoriteCountResponse) FastWrite ¶
func (p *FavoriteCountResponse) FastWrite(buf []byte) int
for compatibility
func (*FavoriteCountResponse) FastWriteNocopy ¶
func (p *FavoriteCountResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteCountResponse) Field1DeepEqual ¶
func (p *FavoriteCountResponse) Field1DeepEqual(src int32) bool
func (*FavoriteCountResponse) Field2DeepEqual ¶
func (p *FavoriteCountResponse) Field2DeepEqual(src *string) bool
func (*FavoriteCountResponse) Field3DeepEqual ¶
func (p *FavoriteCountResponse) Field3DeepEqual(src int64) bool
func (*FavoriteCountResponse) GetFavoriteCount ¶
func (p *FavoriteCountResponse) GetFavoriteCount() (v int64)
func (*FavoriteCountResponse) GetStatusCode ¶
func (p *FavoriteCountResponse) GetStatusCode() (v int32)
func (*FavoriteCountResponse) GetStatusMsg ¶
func (p *FavoriteCountResponse) GetStatusMsg() (v string)
func (*FavoriteCountResponse) InitDefault ¶
func (p *FavoriteCountResponse) InitDefault()
func (*FavoriteCountResponse) IsSetStatusMsg ¶
func (p *FavoriteCountResponse) IsSetStatusMsg() bool
func (*FavoriteCountResponse) Read ¶
func (p *FavoriteCountResponse) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteCountResponse) ReadField1 ¶
func (p *FavoriteCountResponse) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteCountResponse) ReadField2 ¶
func (p *FavoriteCountResponse) ReadField2(iprot thrift.TProtocol) error
func (*FavoriteCountResponse) ReadField3 ¶
func (p *FavoriteCountResponse) ReadField3(iprot thrift.TProtocol) error
func (*FavoriteCountResponse) SetFavoriteCount ¶
func (p *FavoriteCountResponse) SetFavoriteCount(val int64)
func (*FavoriteCountResponse) SetStatusCode ¶
func (p *FavoriteCountResponse) SetStatusCode(val int32)
func (*FavoriteCountResponse) SetStatusMsg ¶
func (p *FavoriteCountResponse) SetStatusMsg(val *string)
func (*FavoriteCountResponse) String ¶
func (p *FavoriteCountResponse) String() string
type FavoriteListRequest ¶
type FavoriteListRequest struct { UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"` Token string `thrift:"token,2" frugal:"2,default,string" json:"token"` }
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 ¶
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 ¶
func (p *FavoriteListRequest) Field2DeepEqual(src string) bool
func (*FavoriteListRequest) GetToken ¶
func (p *FavoriteListRequest) GetToken() (v string)
func (*FavoriteListRequest) GetUserId ¶
func (p *FavoriteListRequest) GetUserId() (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 ¶
func (p *FavoriteListRequest) ReadField2(iprot thrift.TProtocol) error
func (*FavoriteListRequest) SetToken ¶
func (p *FavoriteListRequest) SetToken(val string)
func (*FavoriteListRequest) SetUserId ¶
func (p *FavoriteListRequest) SetUserId(val int64)
func (*FavoriteListRequest) String ¶
func (p *FavoriteListRequest) String() string
type FavoriteListResponse ¶
type FavoriteListResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` VideoList []*Video `thrift:"video_list,3" frugal:"3,default,list<Video>" json:"video_list"` }
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) FastReadField2 ¶
func (p *FavoriteListResponse) FastReadField2(buf []byte) (int, error)
func (*FavoriteListResponse) FastReadField3 ¶
func (p *FavoriteListResponse) FastReadField3(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 int32) bool
func (*FavoriteListResponse) Field2DeepEqual ¶
func (p *FavoriteListResponse) Field2DeepEqual(src *string) bool
func (*FavoriteListResponse) Field3DeepEqual ¶
func (p *FavoriteListResponse) Field3DeepEqual(src []*Video) bool
func (*FavoriteListResponse) GetStatusCode ¶
func (p *FavoriteListResponse) GetStatusCode() (v int32)
func (*FavoriteListResponse) GetStatusMsg ¶
func (p *FavoriteListResponse) GetStatusMsg() (v string)
func (*FavoriteListResponse) GetVideoList ¶
func (p *FavoriteListResponse) GetVideoList() (v []*Video)
func (*FavoriteListResponse) InitDefault ¶
func (p *FavoriteListResponse) InitDefault()
func (*FavoriteListResponse) IsSetStatusMsg ¶
func (p *FavoriteListResponse) IsSetStatusMsg() bool
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) ReadField2 ¶
func (p *FavoriteListResponse) ReadField2(iprot thrift.TProtocol) error
func (*FavoriteListResponse) ReadField3 ¶
func (p *FavoriteListResponse) ReadField3(iprot thrift.TProtocol) error
func (*FavoriteListResponse) SetStatusCode ¶
func (p *FavoriteListResponse) SetStatusCode(val int32)
func (*FavoriteListResponse) SetStatusMsg ¶
func (p *FavoriteListResponse) SetStatusMsg(val *string)
func (*FavoriteListResponse) SetVideoList ¶
func (p *FavoriteListResponse) SetVideoList(val []*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) FavoriteCount(ctx context.Context, req *FavoriteCountRequest) (r *FavoriteCountResponse, err error) FavoriteCountByUserID(ctx context.Context, req *FavoriteCountByUserIDRequest) (r *FavoriteCountByUserIDResponse, err error) TotalFavoritedByAuthorID(ctx context.Context, req *TotalFavoritedByAuthorIDRequest) (r *TotalFavoritedByAuthorIDResponse, err error) IsFavorite(ctx context.Context, req *IsFavoriteRequest) (r *IsFavoriteResponse, 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) FavoriteCount ¶
func (p *FavoriteServiceClient) FavoriteCount(ctx context.Context, req *FavoriteCountRequest) (r *FavoriteCountResponse, err error)
func (*FavoriteServiceClient) FavoriteCountByUserID ¶
func (p *FavoriteServiceClient) FavoriteCountByUserID(ctx context.Context, req *FavoriteCountByUserIDRequest) (r *FavoriteCountByUserIDResponse, err error)
func (*FavoriteServiceClient) FavoriteList ¶
func (p *FavoriteServiceClient) FavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error)
func (*FavoriteServiceClient) IsFavorite ¶
func (p *FavoriteServiceClient) IsFavorite(ctx context.Context, req *IsFavoriteRequest) (r *IsFavoriteResponse, err error)
func (*FavoriteServiceClient) TotalFavoritedByAuthorID ¶
func (p *FavoriteServiceClient) TotalFavoritedByAuthorID(ctx context.Context, req *TotalFavoritedByAuthorIDRequest) (r *TotalFavoritedByAuthorIDResponse, err error)
type FavoriteServiceFavoriteActionArgs ¶
type FavoriteServiceFavoriteActionArgs struct {
Req *FavoriteActionRequest `thrift:"req,1,required" frugal:"1,required,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 FavoriteServiceFavoriteCountArgs ¶
type FavoriteServiceFavoriteCountArgs struct {
Req *FavoriteCountRequest `thrift:"req,1,required" frugal:"1,required,FavoriteCountRequest" json:"req"`
}
func NewFavoriteServiceFavoriteCountArgs ¶
func NewFavoriteServiceFavoriteCountArgs() *FavoriteServiceFavoriteCountArgs
func (*FavoriteServiceFavoriteCountArgs) BLength ¶
func (p *FavoriteServiceFavoriteCountArgs) BLength() int
func (*FavoriteServiceFavoriteCountArgs) DeepEqual ¶
func (p *FavoriteServiceFavoriteCountArgs) DeepEqual(ano *FavoriteServiceFavoriteCountArgs) bool
func (*FavoriteServiceFavoriteCountArgs) FastRead ¶
func (p *FavoriteServiceFavoriteCountArgs) FastRead(buf []byte) (int, error)
func (*FavoriteServiceFavoriteCountArgs) FastReadField1 ¶
func (p *FavoriteServiceFavoriteCountArgs) FastReadField1(buf []byte) (int, error)
func (*FavoriteServiceFavoriteCountArgs) FastWrite ¶
func (p *FavoriteServiceFavoriteCountArgs) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceFavoriteCountArgs) FastWriteNocopy ¶
func (p *FavoriteServiceFavoriteCountArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceFavoriteCountArgs) Field1DeepEqual ¶
func (p *FavoriteServiceFavoriteCountArgs) Field1DeepEqual(src *FavoriteCountRequest) bool
func (*FavoriteServiceFavoriteCountArgs) GetFirstArgument ¶
func (p *FavoriteServiceFavoriteCountArgs) GetFirstArgument() interface{}
func (*FavoriteServiceFavoriteCountArgs) GetReq ¶
func (p *FavoriteServiceFavoriteCountArgs) GetReq() (v *FavoriteCountRequest)
func (*FavoriteServiceFavoriteCountArgs) InitDefault ¶
func (p *FavoriteServiceFavoriteCountArgs) InitDefault()
func (*FavoriteServiceFavoriteCountArgs) IsSetReq ¶
func (p *FavoriteServiceFavoriteCountArgs) IsSetReq() bool
func (*FavoriteServiceFavoriteCountArgs) Read ¶
func (p *FavoriteServiceFavoriteCountArgs) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceFavoriteCountArgs) ReadField1 ¶
func (p *FavoriteServiceFavoriteCountArgs) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteServiceFavoriteCountArgs) SetReq ¶
func (p *FavoriteServiceFavoriteCountArgs) SetReq(val *FavoriteCountRequest)
func (*FavoriteServiceFavoriteCountArgs) String ¶
func (p *FavoriteServiceFavoriteCountArgs) String() string
type FavoriteServiceFavoriteCountByUserIDArgs ¶
type FavoriteServiceFavoriteCountByUserIDArgs struct {
Req *FavoriteCountByUserIDRequest `thrift:"req,1" frugal:"1,default,FavoriteCountByUserIDRequest" json:"req"`
}
func NewFavoriteServiceFavoriteCountByUserIDArgs ¶
func NewFavoriteServiceFavoriteCountByUserIDArgs() *FavoriteServiceFavoriteCountByUserIDArgs
func (*FavoriteServiceFavoriteCountByUserIDArgs) BLength ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) BLength() int
func (*FavoriteServiceFavoriteCountByUserIDArgs) DeepEqual ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) DeepEqual(ano *FavoriteServiceFavoriteCountByUserIDArgs) bool
func (*FavoriteServiceFavoriteCountByUserIDArgs) FastRead ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) FastRead(buf []byte) (int, error)
func (*FavoriteServiceFavoriteCountByUserIDArgs) FastReadField1 ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) FastReadField1(buf []byte) (int, error)
func (*FavoriteServiceFavoriteCountByUserIDArgs) FastWrite ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceFavoriteCountByUserIDArgs) FastWriteNocopy ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceFavoriteCountByUserIDArgs) Field1DeepEqual ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) Field1DeepEqual(src *FavoriteCountByUserIDRequest) bool
func (*FavoriteServiceFavoriteCountByUserIDArgs) GetFirstArgument ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) GetFirstArgument() interface{}
func (*FavoriteServiceFavoriteCountByUserIDArgs) GetReq ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) GetReq() (v *FavoriteCountByUserIDRequest)
func (*FavoriteServiceFavoriteCountByUserIDArgs) InitDefault ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) InitDefault()
func (*FavoriteServiceFavoriteCountByUserIDArgs) IsSetReq ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) IsSetReq() bool
func (*FavoriteServiceFavoriteCountByUserIDArgs) Read ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceFavoriteCountByUserIDArgs) ReadField1 ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteServiceFavoriteCountByUserIDArgs) SetReq ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) SetReq(val *FavoriteCountByUserIDRequest)
func (*FavoriteServiceFavoriteCountByUserIDArgs) String ¶
func (p *FavoriteServiceFavoriteCountByUserIDArgs) String() string
type FavoriteServiceFavoriteCountByUserIDResult ¶
type FavoriteServiceFavoriteCountByUserIDResult struct {
Success *FavoriteCountByUserIDResponse `thrift:"success,0,optional" frugal:"0,optional,FavoriteCountByUserIDResponse" json:"success,omitempty"`
}
func NewFavoriteServiceFavoriteCountByUserIDResult ¶
func NewFavoriteServiceFavoriteCountByUserIDResult() *FavoriteServiceFavoriteCountByUserIDResult
func (*FavoriteServiceFavoriteCountByUserIDResult) BLength ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) BLength() int
func (*FavoriteServiceFavoriteCountByUserIDResult) DeepEqual ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) DeepEqual(ano *FavoriteServiceFavoriteCountByUserIDResult) bool
func (*FavoriteServiceFavoriteCountByUserIDResult) FastRead ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) FastRead(buf []byte) (int, error)
func (*FavoriteServiceFavoriteCountByUserIDResult) FastReadField0 ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) FastReadField0(buf []byte) (int, error)
func (*FavoriteServiceFavoriteCountByUserIDResult) FastWrite ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceFavoriteCountByUserIDResult) FastWriteNocopy ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceFavoriteCountByUserIDResult) Field0DeepEqual ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) Field0DeepEqual(src *FavoriteCountByUserIDResponse) bool
func (*FavoriteServiceFavoriteCountByUserIDResult) GetResult ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) GetResult() interface{}
func (*FavoriteServiceFavoriteCountByUserIDResult) GetSuccess ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) GetSuccess() (v *FavoriteCountByUserIDResponse)
func (*FavoriteServiceFavoriteCountByUserIDResult) InitDefault ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) InitDefault()
func (*FavoriteServiceFavoriteCountByUserIDResult) IsSetSuccess ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) IsSetSuccess() bool
func (*FavoriteServiceFavoriteCountByUserIDResult) Read ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceFavoriteCountByUserIDResult) ReadField0 ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) ReadField0(iprot thrift.TProtocol) error
func (*FavoriteServiceFavoriteCountByUserIDResult) SetSuccess ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) SetSuccess(x interface{})
func (*FavoriteServiceFavoriteCountByUserIDResult) String ¶
func (p *FavoriteServiceFavoriteCountByUserIDResult) String() string
type FavoriteServiceFavoriteCountResult ¶
type FavoriteServiceFavoriteCountResult struct {
Success *FavoriteCountResponse `thrift:"success,0,optional" frugal:"0,optional,FavoriteCountResponse" json:"success,omitempty"`
}
func NewFavoriteServiceFavoriteCountResult ¶
func NewFavoriteServiceFavoriteCountResult() *FavoriteServiceFavoriteCountResult
func (*FavoriteServiceFavoriteCountResult) BLength ¶
func (p *FavoriteServiceFavoriteCountResult) BLength() int
func (*FavoriteServiceFavoriteCountResult) DeepEqual ¶
func (p *FavoriteServiceFavoriteCountResult) DeepEqual(ano *FavoriteServiceFavoriteCountResult) bool
func (*FavoriteServiceFavoriteCountResult) FastRead ¶
func (p *FavoriteServiceFavoriteCountResult) FastRead(buf []byte) (int, error)
func (*FavoriteServiceFavoriteCountResult) FastReadField0 ¶
func (p *FavoriteServiceFavoriteCountResult) FastReadField0(buf []byte) (int, error)
func (*FavoriteServiceFavoriteCountResult) FastWrite ¶
func (p *FavoriteServiceFavoriteCountResult) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceFavoriteCountResult) FastWriteNocopy ¶
func (p *FavoriteServiceFavoriteCountResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceFavoriteCountResult) Field0DeepEqual ¶
func (p *FavoriteServiceFavoriteCountResult) Field0DeepEqual(src *FavoriteCountResponse) bool
func (*FavoriteServiceFavoriteCountResult) GetResult ¶
func (p *FavoriteServiceFavoriteCountResult) GetResult() interface{}
func (*FavoriteServiceFavoriteCountResult) GetSuccess ¶
func (p *FavoriteServiceFavoriteCountResult) GetSuccess() (v *FavoriteCountResponse)
func (*FavoriteServiceFavoriteCountResult) InitDefault ¶
func (p *FavoriteServiceFavoriteCountResult) InitDefault()
func (*FavoriteServiceFavoriteCountResult) IsSetSuccess ¶
func (p *FavoriteServiceFavoriteCountResult) IsSetSuccess() bool
func (*FavoriteServiceFavoriteCountResult) Read ¶
func (p *FavoriteServiceFavoriteCountResult) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceFavoriteCountResult) ReadField0 ¶
func (p *FavoriteServiceFavoriteCountResult) ReadField0(iprot thrift.TProtocol) error
func (*FavoriteServiceFavoriteCountResult) SetSuccess ¶
func (p *FavoriteServiceFavoriteCountResult) SetSuccess(x interface{})
func (*FavoriteServiceFavoriteCountResult) String ¶
func (p *FavoriteServiceFavoriteCountResult) String() string
type FavoriteServiceFavoriteListArgs ¶
type FavoriteServiceFavoriteListArgs struct {
Req *FavoriteListRequest `thrift:"req,1,required" frugal:"1,required,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 FavoriteServiceIsFavoriteArgs ¶
type FavoriteServiceIsFavoriteArgs struct {
Req *IsFavoriteRequest `thrift:"req,1" frugal:"1,default,IsFavoriteRequest" json:"req"`
}
func NewFavoriteServiceIsFavoriteArgs ¶
func NewFavoriteServiceIsFavoriteArgs() *FavoriteServiceIsFavoriteArgs
func (*FavoriteServiceIsFavoriteArgs) BLength ¶
func (p *FavoriteServiceIsFavoriteArgs) BLength() int
func (*FavoriteServiceIsFavoriteArgs) DeepEqual ¶
func (p *FavoriteServiceIsFavoriteArgs) DeepEqual(ano *FavoriteServiceIsFavoriteArgs) bool
func (*FavoriteServiceIsFavoriteArgs) FastRead ¶
func (p *FavoriteServiceIsFavoriteArgs) FastRead(buf []byte) (int, error)
func (*FavoriteServiceIsFavoriteArgs) FastReadField1 ¶
func (p *FavoriteServiceIsFavoriteArgs) FastReadField1(buf []byte) (int, error)
func (*FavoriteServiceIsFavoriteArgs) FastWrite ¶
func (p *FavoriteServiceIsFavoriteArgs) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceIsFavoriteArgs) FastWriteNocopy ¶
func (p *FavoriteServiceIsFavoriteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceIsFavoriteArgs) Field1DeepEqual ¶
func (p *FavoriteServiceIsFavoriteArgs) Field1DeepEqual(src *IsFavoriteRequest) bool
func (*FavoriteServiceIsFavoriteArgs) GetFirstArgument ¶
func (p *FavoriteServiceIsFavoriteArgs) GetFirstArgument() interface{}
func (*FavoriteServiceIsFavoriteArgs) GetReq ¶
func (p *FavoriteServiceIsFavoriteArgs) GetReq() (v *IsFavoriteRequest)
func (*FavoriteServiceIsFavoriteArgs) InitDefault ¶
func (p *FavoriteServiceIsFavoriteArgs) InitDefault()
func (*FavoriteServiceIsFavoriteArgs) IsSetReq ¶
func (p *FavoriteServiceIsFavoriteArgs) IsSetReq() bool
func (*FavoriteServiceIsFavoriteArgs) Read ¶
func (p *FavoriteServiceIsFavoriteArgs) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceIsFavoriteArgs) ReadField1 ¶
func (p *FavoriteServiceIsFavoriteArgs) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteServiceIsFavoriteArgs) SetReq ¶
func (p *FavoriteServiceIsFavoriteArgs) SetReq(val *IsFavoriteRequest)
func (*FavoriteServiceIsFavoriteArgs) String ¶
func (p *FavoriteServiceIsFavoriteArgs) String() string
type FavoriteServiceIsFavoriteResult ¶
type FavoriteServiceIsFavoriteResult struct {
Success *IsFavoriteResponse `thrift:"success,0,optional" frugal:"0,optional,IsFavoriteResponse" json:"success,omitempty"`
}
func NewFavoriteServiceIsFavoriteResult ¶
func NewFavoriteServiceIsFavoriteResult() *FavoriteServiceIsFavoriteResult
func (*FavoriteServiceIsFavoriteResult) BLength ¶
func (p *FavoriteServiceIsFavoriteResult) BLength() int
func (*FavoriteServiceIsFavoriteResult) DeepEqual ¶
func (p *FavoriteServiceIsFavoriteResult) DeepEqual(ano *FavoriteServiceIsFavoriteResult) bool
func (*FavoriteServiceIsFavoriteResult) FastRead ¶
func (p *FavoriteServiceIsFavoriteResult) FastRead(buf []byte) (int, error)
func (*FavoriteServiceIsFavoriteResult) FastReadField0 ¶
func (p *FavoriteServiceIsFavoriteResult) FastReadField0(buf []byte) (int, error)
func (*FavoriteServiceIsFavoriteResult) FastWrite ¶
func (p *FavoriteServiceIsFavoriteResult) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceIsFavoriteResult) FastWriteNocopy ¶
func (p *FavoriteServiceIsFavoriteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceIsFavoriteResult) Field0DeepEqual ¶
func (p *FavoriteServiceIsFavoriteResult) Field0DeepEqual(src *IsFavoriteResponse) bool
func (*FavoriteServiceIsFavoriteResult) GetResult ¶
func (p *FavoriteServiceIsFavoriteResult) GetResult() interface{}
func (*FavoriteServiceIsFavoriteResult) GetSuccess ¶
func (p *FavoriteServiceIsFavoriteResult) GetSuccess() (v *IsFavoriteResponse)
func (*FavoriteServiceIsFavoriteResult) InitDefault ¶
func (p *FavoriteServiceIsFavoriteResult) InitDefault()
func (*FavoriteServiceIsFavoriteResult) IsSetSuccess ¶
func (p *FavoriteServiceIsFavoriteResult) IsSetSuccess() bool
func (*FavoriteServiceIsFavoriteResult) Read ¶
func (p *FavoriteServiceIsFavoriteResult) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceIsFavoriteResult) ReadField0 ¶
func (p *FavoriteServiceIsFavoriteResult) ReadField0(iprot thrift.TProtocol) error
func (*FavoriteServiceIsFavoriteResult) SetSuccess ¶
func (p *FavoriteServiceIsFavoriteResult) SetSuccess(x interface{})
func (*FavoriteServiceIsFavoriteResult) String ¶
func (p *FavoriteServiceIsFavoriteResult) 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 FavoriteServiceTotalFavoritedByAuthorIDArgs ¶
type FavoriteServiceTotalFavoritedByAuthorIDArgs struct {
Req *TotalFavoritedByAuthorIDRequest `thrift:"req,1" frugal:"1,default,TotalFavoritedByAuthorIDRequest" json:"req"`
}
func NewFavoriteServiceTotalFavoritedByAuthorIDArgs ¶
func NewFavoriteServiceTotalFavoritedByAuthorIDArgs() *FavoriteServiceTotalFavoritedByAuthorIDArgs
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) BLength ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) BLength() int
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) DeepEqual ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) DeepEqual(ano *FavoriteServiceTotalFavoritedByAuthorIDArgs) bool
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) FastRead ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) FastRead(buf []byte) (int, error)
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) FastReadField1 ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) FastReadField1(buf []byte) (int, error)
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) FastWrite ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) FastWriteNocopy ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) Field1DeepEqual ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) Field1DeepEqual(src *TotalFavoritedByAuthorIDRequest) bool
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) GetFirstArgument ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) GetFirstArgument() interface{}
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) GetReq ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) GetReq() (v *TotalFavoritedByAuthorIDRequest)
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) InitDefault ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) InitDefault()
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) IsSetReq ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) IsSetReq() bool
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) Read ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) ReadField1 ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) SetReq ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) SetReq(val *TotalFavoritedByAuthorIDRequest)
func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) String ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDArgs) String() string
type FavoriteServiceTotalFavoritedByAuthorIDResult ¶
type FavoriteServiceTotalFavoritedByAuthorIDResult struct {
Success *TotalFavoritedByAuthorIDResponse `thrift:"success,0,optional" frugal:"0,optional,TotalFavoritedByAuthorIDResponse" json:"success,omitempty"`
}
func NewFavoriteServiceTotalFavoritedByAuthorIDResult ¶
func NewFavoriteServiceTotalFavoritedByAuthorIDResult() *FavoriteServiceTotalFavoritedByAuthorIDResult
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) BLength ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) BLength() int
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) DeepEqual ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) DeepEqual(ano *FavoriteServiceTotalFavoritedByAuthorIDResult) bool
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) FastRead ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) FastRead(buf []byte) (int, error)
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) FastReadField0 ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) FastReadField0(buf []byte) (int, error)
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) FastWrite ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) FastWrite(buf []byte) int
for compatibility
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) FastWriteNocopy ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) Field0DeepEqual ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) Field0DeepEqual(src *TotalFavoritedByAuthorIDResponse) bool
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) GetResult ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) GetResult() interface{}
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) GetSuccess ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) GetSuccess() (v *TotalFavoritedByAuthorIDResponse)
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) InitDefault ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) InitDefault()
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) IsSetSuccess ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) IsSetSuccess() bool
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) Read ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) ReadField0 ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) ReadField0(iprot thrift.TProtocol) error
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) SetSuccess ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) SetSuccess(x interface{})
func (*FavoriteServiceTotalFavoritedByAuthorIDResult) String ¶
func (p *FavoriteServiceTotalFavoritedByAuthorIDResult) String() string
type IsFavoriteRequest ¶
type IsFavoriteRequest 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"` }
var FavoriteServiceIsFavoriteArgs_Req_DEFAULT *IsFavoriteRequest
func NewIsFavoriteRequest ¶
func NewIsFavoriteRequest() *IsFavoriteRequest
func (*IsFavoriteRequest) BLength ¶
func (p *IsFavoriteRequest) BLength() int
func (*IsFavoriteRequest) DeepEqual ¶
func (p *IsFavoriteRequest) DeepEqual(ano *IsFavoriteRequest) bool
func (*IsFavoriteRequest) FastReadField1 ¶
func (p *IsFavoriteRequest) FastReadField1(buf []byte) (int, error)
func (*IsFavoriteRequest) FastReadField2 ¶
func (p *IsFavoriteRequest) FastReadField2(buf []byte) (int, error)
func (*IsFavoriteRequest) FastWrite ¶
func (p *IsFavoriteRequest) FastWrite(buf []byte) int
for compatibility
func (*IsFavoriteRequest) FastWriteNocopy ¶
func (p *IsFavoriteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*IsFavoriteRequest) Field1DeepEqual ¶
func (p *IsFavoriteRequest) Field1DeepEqual(src int64) bool
func (*IsFavoriteRequest) Field2DeepEqual ¶
func (p *IsFavoriteRequest) Field2DeepEqual(src int64) bool
func (*IsFavoriteRequest) GetUserId ¶
func (p *IsFavoriteRequest) GetUserId() (v int64)
func (*IsFavoriteRequest) GetVideoId ¶
func (p *IsFavoriteRequest) GetVideoId() (v int64)
func (*IsFavoriteRequest) InitDefault ¶
func (p *IsFavoriteRequest) InitDefault()
func (*IsFavoriteRequest) Read ¶
func (p *IsFavoriteRequest) Read(iprot thrift.TProtocol) (err error)
func (*IsFavoriteRequest) ReadField1 ¶
func (p *IsFavoriteRequest) ReadField1(iprot thrift.TProtocol) error
func (*IsFavoriteRequest) ReadField2 ¶
func (p *IsFavoriteRequest) ReadField2(iprot thrift.TProtocol) error
func (*IsFavoriteRequest) SetUserId ¶
func (p *IsFavoriteRequest) SetUserId(val int64)
func (*IsFavoriteRequest) SetVideoId ¶
func (p *IsFavoriteRequest) SetVideoId(val int64)
func (*IsFavoriteRequest) String ¶
func (p *IsFavoriteRequest) String() string
type IsFavoriteResponse ¶
type IsFavoriteResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` IsFavorite bool `thrift:"is_favorite,3" frugal:"3,default,bool" json:"is_favorite"` }
var FavoriteServiceIsFavoriteResult_Success_DEFAULT *IsFavoriteResponse
func NewIsFavoriteResponse ¶
func NewIsFavoriteResponse() *IsFavoriteResponse
func (*IsFavoriteResponse) BLength ¶
func (p *IsFavoriteResponse) BLength() int
func (*IsFavoriteResponse) DeepEqual ¶
func (p *IsFavoriteResponse) DeepEqual(ano *IsFavoriteResponse) bool
func (*IsFavoriteResponse) FastRead ¶
func (p *IsFavoriteResponse) FastRead(buf []byte) (int, error)
func (*IsFavoriteResponse) FastReadField1 ¶
func (p *IsFavoriteResponse) FastReadField1(buf []byte) (int, error)
func (*IsFavoriteResponse) FastReadField2 ¶
func (p *IsFavoriteResponse) FastReadField2(buf []byte) (int, error)
func (*IsFavoriteResponse) FastReadField3 ¶
func (p *IsFavoriteResponse) FastReadField3(buf []byte) (int, error)
func (*IsFavoriteResponse) FastWrite ¶
func (p *IsFavoriteResponse) FastWrite(buf []byte) int
for compatibility
func (*IsFavoriteResponse) FastWriteNocopy ¶
func (p *IsFavoriteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*IsFavoriteResponse) Field1DeepEqual ¶
func (p *IsFavoriteResponse) Field1DeepEqual(src int32) bool
func (*IsFavoriteResponse) Field2DeepEqual ¶
func (p *IsFavoriteResponse) Field2DeepEqual(src *string) bool
func (*IsFavoriteResponse) Field3DeepEqual ¶
func (p *IsFavoriteResponse) Field3DeepEqual(src bool) bool
func (*IsFavoriteResponse) GetIsFavorite ¶
func (p *IsFavoriteResponse) GetIsFavorite() (v bool)
func (*IsFavoriteResponse) GetStatusCode ¶
func (p *IsFavoriteResponse) GetStatusCode() (v int32)
func (*IsFavoriteResponse) GetStatusMsg ¶
func (p *IsFavoriteResponse) GetStatusMsg() (v string)
func (*IsFavoriteResponse) InitDefault ¶
func (p *IsFavoriteResponse) InitDefault()
func (*IsFavoriteResponse) IsSetStatusMsg ¶
func (p *IsFavoriteResponse) IsSetStatusMsg() bool
func (*IsFavoriteResponse) Read ¶
func (p *IsFavoriteResponse) Read(iprot thrift.TProtocol) (err error)
func (*IsFavoriteResponse) ReadField1 ¶
func (p *IsFavoriteResponse) ReadField1(iprot thrift.TProtocol) error
func (*IsFavoriteResponse) ReadField2 ¶
func (p *IsFavoriteResponse) ReadField2(iprot thrift.TProtocol) error
func (*IsFavoriteResponse) ReadField3 ¶
func (p *IsFavoriteResponse) ReadField3(iprot thrift.TProtocol) error
func (*IsFavoriteResponse) SetIsFavorite ¶
func (p *IsFavoriteResponse) SetIsFavorite(val bool)
func (*IsFavoriteResponse) SetStatusCode ¶
func (p *IsFavoriteResponse) SetStatusCode(val int32)
func (*IsFavoriteResponse) SetStatusMsg ¶
func (p *IsFavoriteResponse) SetStatusMsg(val *string)
func (*IsFavoriteResponse) String ¶
func (p *IsFavoriteResponse) String() string
type TotalFavoritedByAuthorIDRequest ¶
type TotalFavoritedByAuthorIDRequest struct {
AuthorId int64 `thrift:"author_id,1" frugal:"1,default,i64" json:"author_id"`
}
var FavoriteServiceTotalFavoritedByAuthorIDArgs_Req_DEFAULT *TotalFavoritedByAuthorIDRequest
func NewTotalFavoritedByAuthorIDRequest ¶
func NewTotalFavoritedByAuthorIDRequest() *TotalFavoritedByAuthorIDRequest
func (*TotalFavoritedByAuthorIDRequest) BLength ¶
func (p *TotalFavoritedByAuthorIDRequest) BLength() int
func (*TotalFavoritedByAuthorIDRequest) DeepEqual ¶
func (p *TotalFavoritedByAuthorIDRequest) DeepEqual(ano *TotalFavoritedByAuthorIDRequest) bool
func (*TotalFavoritedByAuthorIDRequest) FastRead ¶
func (p *TotalFavoritedByAuthorIDRequest) FastRead(buf []byte) (int, error)
func (*TotalFavoritedByAuthorIDRequest) FastReadField1 ¶
func (p *TotalFavoritedByAuthorIDRequest) FastReadField1(buf []byte) (int, error)
func (*TotalFavoritedByAuthorIDRequest) FastWrite ¶
func (p *TotalFavoritedByAuthorIDRequest) FastWrite(buf []byte) int
for compatibility
func (*TotalFavoritedByAuthorIDRequest) FastWriteNocopy ¶
func (p *TotalFavoritedByAuthorIDRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TotalFavoritedByAuthorIDRequest) Field1DeepEqual ¶
func (p *TotalFavoritedByAuthorIDRequest) Field1DeepEqual(src int64) bool
func (*TotalFavoritedByAuthorIDRequest) GetAuthorId ¶
func (p *TotalFavoritedByAuthorIDRequest) GetAuthorId() (v int64)
func (*TotalFavoritedByAuthorIDRequest) InitDefault ¶
func (p *TotalFavoritedByAuthorIDRequest) InitDefault()
func (*TotalFavoritedByAuthorIDRequest) Read ¶
func (p *TotalFavoritedByAuthorIDRequest) Read(iprot thrift.TProtocol) (err error)
func (*TotalFavoritedByAuthorIDRequest) ReadField1 ¶
func (p *TotalFavoritedByAuthorIDRequest) ReadField1(iprot thrift.TProtocol) error
func (*TotalFavoritedByAuthorIDRequest) SetAuthorId ¶
func (p *TotalFavoritedByAuthorIDRequest) SetAuthorId(val int64)
func (*TotalFavoritedByAuthorIDRequest) String ¶
func (p *TotalFavoritedByAuthorIDRequest) String() string
type TotalFavoritedByAuthorIDResponse ¶
type TotalFavoritedByAuthorIDResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` TotalFavorited int64 `thrift:"total_favorited,3" frugal:"3,default,i64" json:"total_favorited"` }
var FavoriteServiceTotalFavoritedByAuthorIDResult_Success_DEFAULT *TotalFavoritedByAuthorIDResponse
func NewTotalFavoritedByAuthorIDResponse ¶
func NewTotalFavoritedByAuthorIDResponse() *TotalFavoritedByAuthorIDResponse
func (*TotalFavoritedByAuthorIDResponse) BLength ¶
func (p *TotalFavoritedByAuthorIDResponse) BLength() int
func (*TotalFavoritedByAuthorIDResponse) DeepEqual ¶
func (p *TotalFavoritedByAuthorIDResponse) DeepEqual(ano *TotalFavoritedByAuthorIDResponse) bool
func (*TotalFavoritedByAuthorIDResponse) FastRead ¶
func (p *TotalFavoritedByAuthorIDResponse) FastRead(buf []byte) (int, error)
func (*TotalFavoritedByAuthorIDResponse) FastReadField1 ¶
func (p *TotalFavoritedByAuthorIDResponse) FastReadField1(buf []byte) (int, error)
func (*TotalFavoritedByAuthorIDResponse) FastReadField2 ¶
func (p *TotalFavoritedByAuthorIDResponse) FastReadField2(buf []byte) (int, error)
func (*TotalFavoritedByAuthorIDResponse) FastReadField3 ¶
func (p *TotalFavoritedByAuthorIDResponse) FastReadField3(buf []byte) (int, error)
func (*TotalFavoritedByAuthorIDResponse) FastWrite ¶
func (p *TotalFavoritedByAuthorIDResponse) FastWrite(buf []byte) int
for compatibility
func (*TotalFavoritedByAuthorIDResponse) FastWriteNocopy ¶
func (p *TotalFavoritedByAuthorIDResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TotalFavoritedByAuthorIDResponse) Field1DeepEqual ¶
func (p *TotalFavoritedByAuthorIDResponse) Field1DeepEqual(src int32) bool
func (*TotalFavoritedByAuthorIDResponse) Field2DeepEqual ¶
func (p *TotalFavoritedByAuthorIDResponse) Field2DeepEqual(src *string) bool
func (*TotalFavoritedByAuthorIDResponse) Field3DeepEqual ¶
func (p *TotalFavoritedByAuthorIDResponse) Field3DeepEqual(src int64) bool
func (*TotalFavoritedByAuthorIDResponse) GetStatusCode ¶
func (p *TotalFavoritedByAuthorIDResponse) GetStatusCode() (v int32)
func (*TotalFavoritedByAuthorIDResponse) GetStatusMsg ¶
func (p *TotalFavoritedByAuthorIDResponse) GetStatusMsg() (v string)
func (*TotalFavoritedByAuthorIDResponse) GetTotalFavorited ¶
func (p *TotalFavoritedByAuthorIDResponse) GetTotalFavorited() (v int64)
func (*TotalFavoritedByAuthorIDResponse) InitDefault ¶
func (p *TotalFavoritedByAuthorIDResponse) InitDefault()
func (*TotalFavoritedByAuthorIDResponse) IsSetStatusMsg ¶
func (p *TotalFavoritedByAuthorIDResponse) IsSetStatusMsg() bool
func (*TotalFavoritedByAuthorIDResponse) Read ¶
func (p *TotalFavoritedByAuthorIDResponse) Read(iprot thrift.TProtocol) (err error)
func (*TotalFavoritedByAuthorIDResponse) ReadField1 ¶
func (p *TotalFavoritedByAuthorIDResponse) ReadField1(iprot thrift.TProtocol) error
func (*TotalFavoritedByAuthorIDResponse) ReadField2 ¶
func (p *TotalFavoritedByAuthorIDResponse) ReadField2(iprot thrift.TProtocol) error
func (*TotalFavoritedByAuthorIDResponse) ReadField3 ¶
func (p *TotalFavoritedByAuthorIDResponse) ReadField3(iprot thrift.TProtocol) error
func (*TotalFavoritedByAuthorIDResponse) SetStatusCode ¶
func (p *TotalFavoritedByAuthorIDResponse) SetStatusCode(val int32)
func (*TotalFavoritedByAuthorIDResponse) SetStatusMsg ¶
func (p *TotalFavoritedByAuthorIDResponse) SetStatusMsg(val *string)
func (*TotalFavoritedByAuthorIDResponse) SetTotalFavorited ¶
func (p *TotalFavoritedByAuthorIDResponse) SetTotalFavorited(val int64)
func (*TotalFavoritedByAuthorIDResponse) String ¶
func (p *TotalFavoritedByAuthorIDResponse) String() string
type User ¶
type User struct { Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"` Name string `thrift:"name,2" frugal:"2,default,string" json:"name"` FollowCount int64 `thrift:"follow_count,3" frugal:"3,default,i64" json:"follow_count"` FollowerCount int64 `thrift:"follower_count,4" frugal:"4,default,i64" json:"follower_count"` IsFollow bool `thrift:"is_follow,5" frugal:"5,default,bool" json:"is_follow"` Avatar string `thrift:"avatar,6" frugal:"6,default,string" json:"avatar"` BackgroundImage string `thrift:"background_image,7" frugal:"7,default,string" json:"background_image"` Signature string `thrift:"signature,8" frugal:"8,default,string" json:"signature"` TotalFavorited int64 `thrift:"total_favorited,9" frugal:"9,default,i64" json:"total_favorited"` WorkCount int64 `thrift:"work_count,10" frugal:"10,default,i64" json:"work_count"` FavoriteCount int64 `thrift:"favorite_count,11" frugal:"11,default,i64" json:"favorite_count"` }
var Video_Author_DEFAULT *User
func (*User) FastWriteNocopy ¶
func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*User) Field10DeepEqual ¶
func (*User) Field11DeepEqual ¶
func (*User) Field1DeepEqual ¶
func (*User) Field2DeepEqual ¶
func (*User) Field3DeepEqual ¶
func (*User) Field4DeepEqual ¶
func (*User) Field5DeepEqual ¶
func (*User) Field6DeepEqual ¶
func (*User) Field7DeepEqual ¶
func (*User) Field8DeepEqual ¶
func (*User) Field9DeepEqual ¶
func (*User) GetBackgroundImage ¶
func (*User) GetFavoriteCount ¶
func (*User) GetFollowCount ¶
func (*User) GetFollowerCount ¶
func (*User) GetIsFollow ¶
func (*User) GetSignature ¶
func (*User) GetTotalFavorited ¶
func (*User) GetWorkCount ¶
func (*User) InitDefault ¶
func (p *User) InitDefault()
func (*User) SetBackgroundImage ¶
func (*User) SetFavoriteCount ¶
func (*User) SetFollowCount ¶
func (*User) SetFollowerCount ¶
func (*User) SetIsFollow ¶
func (*User) SetSignature ¶
func (*User) SetTotalFavorited ¶
func (*User) SetWorkCount ¶
type Video ¶
type Video struct { Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"` Author *User `thrift:"author,2" frugal:"2,default,User" json:"author"` PlayUrl string `thrift:"play_url,3" frugal:"3,default,string" json:"play_url"` CoverUrl string `thrift:"cover_url,4" frugal:"4,default,string" json:"cover_url"` FavoriteCount int64 `thrift:"favorite_count,5" frugal:"5,default,i64" json:"favorite_count"` CommentCount int64 `thrift:"comment_count,6" frugal:"6,default,i64" json:"comment_count"` IsFavorite bool `thrift:"is_favorite,7" frugal:"7,default,bool" json:"is_favorite"` Title string `thrift:"title,8" frugal:"8,default,string" json:"title"` }
func (*Video) FastWriteNocopy ¶
func (p *Video) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Video) Field1DeepEqual ¶
func (*Video) Field2DeepEqual ¶
func (*Video) Field3DeepEqual ¶
func (*Video) Field4DeepEqual ¶
func (*Video) Field5DeepEqual ¶
func (*Video) Field6DeepEqual ¶
func (*Video) Field7DeepEqual ¶
func (*Video) Field8DeepEqual ¶
func (*Video) GetCommentCount ¶
func (*Video) GetCoverUrl ¶
func (*Video) GetFavoriteCount ¶
func (*Video) GetIsFavorite ¶
func (*Video) GetPlayUrl ¶
func (*Video) InitDefault ¶
func (p *Video) InitDefault()
func (*Video) IsSetAuthor ¶
func (*Video) SetCommentCount ¶
func (*Video) SetCoverUrl ¶
func (*Video) SetFavoriteCount ¶
func (*Video) SetIsFavorite ¶
func (*Video) SetPlayUrl ¶
Click to show internal directories.
Click to hide internal directories.