Documentation ¶
Index ¶
- Variables
- type Comment
- func (p *Comment) BLength() int
- func (p *Comment) DeepEqual(ano *Comment) bool
- func (p *Comment) FastRead(buf []byte) (int, error)
- func (p *Comment) FastReadField1(buf []byte) (int, error)
- func (p *Comment) FastReadField2(buf []byte) (int, error)
- func (p *Comment) FastReadField3(buf []byte) (int, error)
- func (p *Comment) FastReadField4(buf []byte) (int, error)
- func (p *Comment) FastWrite(buf []byte) int
- func (p *Comment) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Comment) Field1DeepEqual(src int64) bool
- func (p *Comment) Field2DeepEqual(src *user.User) bool
- func (p *Comment) Field3DeepEqual(src string) bool
- func (p *Comment) Field4DeepEqual(src string) bool
- func (p *Comment) GetContent() (v string)
- func (p *Comment) GetCreateDate() (v string)
- func (p *Comment) GetId() (v int64)
- func (p *Comment) GetUser() (v *user.User)
- func (p *Comment) InitDefault()
- func (p *Comment) IsSetUser() bool
- func (p *Comment) Read(iprot thrift.TProtocol) (err error)
- func (p *Comment) ReadField1(iprot thrift.TProtocol) error
- func (p *Comment) ReadField2(iprot thrift.TProtocol) error
- func (p *Comment) ReadField3(iprot thrift.TProtocol) error
- func (p *Comment) ReadField4(iprot thrift.TProtocol) error
- func (p *Comment) SetContent(val string)
- func (p *Comment) SetCreateDate(val string)
- func (p *Comment) SetId(val int64)
- func (p *Comment) SetUser(val *user.User)
- func (p *Comment) String() string
- func (p *Comment) Write(oprot thrift.TProtocol) (err error)
- type CommentActionRequest
- func (p *CommentActionRequest) BLength() int
- func (p *CommentActionRequest) DeepEqual(ano *CommentActionRequest) bool
- func (p *CommentActionRequest) FastRead(buf []byte) (int, error)
- func (p *CommentActionRequest) FastReadField1(buf []byte) (int, error)
- func (p *CommentActionRequest) FastReadField2(buf []byte) (int, error)
- func (p *CommentActionRequest) FastReadField3(buf []byte) (int, error)
- func (p *CommentActionRequest) FastReadField4(buf []byte) (int, error)
- func (p *CommentActionRequest) FastReadField5(buf []byte) (int, error)
- func (p *CommentActionRequest) FastWrite(buf []byte) int
- func (p *CommentActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CommentActionRequest) Field1DeepEqual(src string) bool
- func (p *CommentActionRequest) Field2DeepEqual(src int64) bool
- func (p *CommentActionRequest) Field3DeepEqual(src int32) bool
- func (p *CommentActionRequest) Field4DeepEqual(src string) bool
- func (p *CommentActionRequest) Field5DeepEqual(src int64) bool
- func (p *CommentActionRequest) GetActionType() (v int32)
- func (p *CommentActionRequest) GetCommentId() (v int64)
- func (p *CommentActionRequest) GetCommentText() (v string)
- func (p *CommentActionRequest) GetToken() (v string)
- func (p *CommentActionRequest) GetVideoId() (v int64)
- func (p *CommentActionRequest) InitDefault()
- func (p *CommentActionRequest) IsValid() error
- func (p *CommentActionRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentActionRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentActionRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *CommentActionRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *CommentActionRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *CommentActionRequest) ReadField5(iprot thrift.TProtocol) error
- func (p *CommentActionRequest) SetActionType(val int32)
- func (p *CommentActionRequest) SetCommentId(val int64)
- func (p *CommentActionRequest) SetCommentText(val string)
- func (p *CommentActionRequest) SetToken(val string)
- func (p *CommentActionRequest) SetVideoId(val int64)
- func (p *CommentActionRequest) String() string
- func (p *CommentActionRequest) Write(oprot thrift.TProtocol) (err error)
- type CommentActionResponse
- func (p *CommentActionResponse) BLength() int
- func (p *CommentActionResponse) DeepEqual(ano *CommentActionResponse) bool
- func (p *CommentActionResponse) FastRead(buf []byte) (int, error)
- func (p *CommentActionResponse) FastReadField1(buf []byte) (int, error)
- func (p *CommentActionResponse) FastReadField2(buf []byte) (int, error)
- func (p *CommentActionResponse) FastReadField3(buf []byte) (int, error)
- func (p *CommentActionResponse) FastWrite(buf []byte) int
- func (p *CommentActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CommentActionResponse) Field1DeepEqual(src int32) bool
- func (p *CommentActionResponse) Field2DeepEqual(src string) bool
- func (p *CommentActionResponse) Field3DeepEqual(src *Comment) bool
- func (p *CommentActionResponse) GetComment() (v *Comment)
- func (p *CommentActionResponse) GetStatusCode() (v int32)
- func (p *CommentActionResponse) GetStatusMsg() (v string)
- func (p *CommentActionResponse) InitDefault()
- func (p *CommentActionResponse) IsSetComment() bool
- func (p *CommentActionResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentActionResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentActionResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *CommentActionResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *CommentActionResponse) SetComment(val *Comment)
- func (p *CommentActionResponse) SetStatusCode(val int32)
- func (p *CommentActionResponse) SetStatusMsg(val string)
- func (p *CommentActionResponse) String() string
- func (p *CommentActionResponse) Write(oprot thrift.TProtocol) (err error)
- type CommentListRequest
- func (p *CommentListRequest) BLength() int
- func (p *CommentListRequest) DeepEqual(ano *CommentListRequest) bool
- func (p *CommentListRequest) FastRead(buf []byte) (int, error)
- func (p *CommentListRequest) FastReadField1(buf []byte) (int, error)
- func (p *CommentListRequest) FastReadField2(buf []byte) (int, error)
- func (p *CommentListRequest) FastWrite(buf []byte) int
- func (p *CommentListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CommentListRequest) Field1DeepEqual(src string) bool
- func (p *CommentListRequest) Field2DeepEqual(src int64) bool
- func (p *CommentListRequest) GetToken() (v string)
- func (p *CommentListRequest) GetVideoId() (v int64)
- func (p *CommentListRequest) InitDefault()
- func (p *CommentListRequest) IsValid() error
- func (p *CommentListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *CommentListRequest) SetToken(val string)
- func (p *CommentListRequest) SetVideoId(val int64)
- func (p *CommentListRequest) String() string
- func (p *CommentListRequest) Write(oprot thrift.TProtocol) (err error)
- type CommentListResponse
- func (p *CommentListResponse) BLength() int
- func (p *CommentListResponse) DeepEqual(ano *CommentListResponse) bool
- func (p *CommentListResponse) FastRead(buf []byte) (int, error)
- func (p *CommentListResponse) FastReadField1(buf []byte) (int, error)
- func (p *CommentListResponse) FastReadField2(buf []byte) (int, error)
- func (p *CommentListResponse) FastReadField3(buf []byte) (int, error)
- func (p *CommentListResponse) FastWrite(buf []byte) int
- func (p *CommentListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CommentListResponse) Field1DeepEqual(src int32) bool
- func (p *CommentListResponse) Field2DeepEqual(src string) bool
- func (p *CommentListResponse) Field3DeepEqual(src []*Comment) bool
- func (p *CommentListResponse) GetCommentList() (v []*Comment)
- func (p *CommentListResponse) GetStatusCode() (v int32)
- func (p *CommentListResponse) GetStatusMsg() (v string)
- func (p *CommentListResponse) InitDefault()
- func (p *CommentListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *CommentListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *CommentListResponse) SetCommentList(val []*Comment)
- func (p *CommentListResponse) SetStatusCode(val int32)
- func (p *CommentListResponse) SetStatusMsg(val string)
- func (p *CommentListResponse) String() string
- func (p *CommentListResponse) Write(oprot thrift.TProtocol) (err error)
- type FavoriteActionRequest
- func (p *FavoriteActionRequest) BLength() int
- func (p *FavoriteActionRequest) DeepEqual(ano *FavoriteActionRequest) bool
- func (p *FavoriteActionRequest) FastRead(buf []byte) (int, error)
- func (p *FavoriteActionRequest) FastReadField1(buf []byte) (int, error)
- func (p *FavoriteActionRequest) FastReadField2(buf []byte) (int, error)
- func (p *FavoriteActionRequest) FastReadField3(buf []byte) (int, error)
- func (p *FavoriteActionRequest) FastWrite(buf []byte) int
- func (p *FavoriteActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FavoriteActionRequest) Field1DeepEqual(src string) bool
- func (p *FavoriteActionRequest) Field2DeepEqual(src int64) bool
- func (p *FavoriteActionRequest) Field3DeepEqual(src int32) bool
- func (p *FavoriteActionRequest) GetActionType() (v int32)
- func (p *FavoriteActionRequest) GetToken() (v string)
- func (p *FavoriteActionRequest) GetVideoId() (v int64)
- func (p *FavoriteActionRequest) InitDefault()
- func (p *FavoriteActionRequest) IsValid() error
- func (p *FavoriteActionRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteActionRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteActionRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *FavoriteActionRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *FavoriteActionRequest) SetActionType(val int32)
- func (p *FavoriteActionRequest) SetToken(val string)
- 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) 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 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) IsValid() error
- 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.Video) bool
- func (p *FavoriteListResponse) GetStatusCode() (v int32)
- func (p *FavoriteListResponse) GetStatusMsg() (v string)
- func (p *FavoriteListResponse) GetVideoList() (v []*video.Video)
- func (p *FavoriteListResponse) InitDefault()
- func (p *FavoriteListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteListResponse) 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.Video)
- func (p *FavoriteListResponse) String() string
- func (p *FavoriteListResponse) Write(oprot thrift.TProtocol) (err error)
- type InteractService
- type InteractServiceClient
- func NewInteractServiceClient(c thrift.TClient) *InteractServiceClient
- func NewInteractServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *InteractServiceClient
- func NewInteractServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *InteractServiceClient
- func (p *InteractServiceClient) Client_() thrift.TClient
- func (p *InteractServiceClient) CommentAction(ctx context.Context, req *CommentActionRequest) (r *CommentActionResponse, err error)
- func (p *InteractServiceClient) FavoriteAction(ctx context.Context, req *FavoriteActionRequest) (r *FavoriteActionResponse, err error)
- func (p *InteractServiceClient) GetCommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error)
- func (p *InteractServiceClient) GetFavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error)
- func (p *InteractServiceClient) GetVideoInteract(ctx context.Context, req *VideoInteractRequest) (r *VideoInteractResponse, err error)
- type InteractServiceCommentActionArgs
- func (p *InteractServiceCommentActionArgs) BLength() int
- func (p *InteractServiceCommentActionArgs) DeepEqual(ano *InteractServiceCommentActionArgs) bool
- func (p *InteractServiceCommentActionArgs) FastRead(buf []byte) (int, error)
- func (p *InteractServiceCommentActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *InteractServiceCommentActionArgs) FastWrite(buf []byte) int
- func (p *InteractServiceCommentActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InteractServiceCommentActionArgs) Field1DeepEqual(src *CommentActionRequest) bool
- func (p *InteractServiceCommentActionArgs) GetFirstArgument() interface{}
- func (p *InteractServiceCommentActionArgs) GetReq() (v *CommentActionRequest)
- func (p *InteractServiceCommentActionArgs) InitDefault()
- func (p *InteractServiceCommentActionArgs) IsSetReq() bool
- func (p *InteractServiceCommentActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *InteractServiceCommentActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *InteractServiceCommentActionArgs) SetReq(val *CommentActionRequest)
- func (p *InteractServiceCommentActionArgs) String() string
- func (p *InteractServiceCommentActionArgs) Write(oprot thrift.TProtocol) (err error)
- type InteractServiceCommentActionResult
- func (p *InteractServiceCommentActionResult) BLength() int
- func (p *InteractServiceCommentActionResult) DeepEqual(ano *InteractServiceCommentActionResult) bool
- func (p *InteractServiceCommentActionResult) FastRead(buf []byte) (int, error)
- func (p *InteractServiceCommentActionResult) FastReadField0(buf []byte) (int, error)
- func (p *InteractServiceCommentActionResult) FastWrite(buf []byte) int
- func (p *InteractServiceCommentActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InteractServiceCommentActionResult) Field0DeepEqual(src *CommentActionResponse) bool
- func (p *InteractServiceCommentActionResult) GetResult() interface{}
- func (p *InteractServiceCommentActionResult) GetSuccess() (v *CommentActionResponse)
- func (p *InteractServiceCommentActionResult) InitDefault()
- func (p *InteractServiceCommentActionResult) IsSetSuccess() bool
- func (p *InteractServiceCommentActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *InteractServiceCommentActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *InteractServiceCommentActionResult) SetSuccess(x interface{})
- func (p *InteractServiceCommentActionResult) String() string
- func (p *InteractServiceCommentActionResult) Write(oprot thrift.TProtocol) (err error)
- type InteractServiceFavoriteActionArgs
- func (p *InteractServiceFavoriteActionArgs) BLength() int
- func (p *InteractServiceFavoriteActionArgs) DeepEqual(ano *InteractServiceFavoriteActionArgs) bool
- func (p *InteractServiceFavoriteActionArgs) FastRead(buf []byte) (int, error)
- func (p *InteractServiceFavoriteActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *InteractServiceFavoriteActionArgs) FastWrite(buf []byte) int
- func (p *InteractServiceFavoriteActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InteractServiceFavoriteActionArgs) Field1DeepEqual(src *FavoriteActionRequest) bool
- func (p *InteractServiceFavoriteActionArgs) GetFirstArgument() interface{}
- func (p *InteractServiceFavoriteActionArgs) GetReq() (v *FavoriteActionRequest)
- func (p *InteractServiceFavoriteActionArgs) InitDefault()
- func (p *InteractServiceFavoriteActionArgs) IsSetReq() bool
- func (p *InteractServiceFavoriteActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *InteractServiceFavoriteActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *InteractServiceFavoriteActionArgs) SetReq(val *FavoriteActionRequest)
- func (p *InteractServiceFavoriteActionArgs) String() string
- func (p *InteractServiceFavoriteActionArgs) Write(oprot thrift.TProtocol) (err error)
- type InteractServiceFavoriteActionResult
- func (p *InteractServiceFavoriteActionResult) BLength() int
- func (p *InteractServiceFavoriteActionResult) DeepEqual(ano *InteractServiceFavoriteActionResult) bool
- func (p *InteractServiceFavoriteActionResult) FastRead(buf []byte) (int, error)
- func (p *InteractServiceFavoriteActionResult) FastReadField0(buf []byte) (int, error)
- func (p *InteractServiceFavoriteActionResult) FastWrite(buf []byte) int
- func (p *InteractServiceFavoriteActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InteractServiceFavoriteActionResult) Field0DeepEqual(src *FavoriteActionResponse) bool
- func (p *InteractServiceFavoriteActionResult) GetResult() interface{}
- func (p *InteractServiceFavoriteActionResult) GetSuccess() (v *FavoriteActionResponse)
- func (p *InteractServiceFavoriteActionResult) InitDefault()
- func (p *InteractServiceFavoriteActionResult) IsSetSuccess() bool
- func (p *InteractServiceFavoriteActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *InteractServiceFavoriteActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *InteractServiceFavoriteActionResult) SetSuccess(x interface{})
- func (p *InteractServiceFavoriteActionResult) String() string
- func (p *InteractServiceFavoriteActionResult) Write(oprot thrift.TProtocol) (err error)
- type InteractServiceGetCommentListArgs
- func (p *InteractServiceGetCommentListArgs) BLength() int
- func (p *InteractServiceGetCommentListArgs) DeepEqual(ano *InteractServiceGetCommentListArgs) bool
- func (p *InteractServiceGetCommentListArgs) FastRead(buf []byte) (int, error)
- func (p *InteractServiceGetCommentListArgs) FastReadField1(buf []byte) (int, error)
- func (p *InteractServiceGetCommentListArgs) FastWrite(buf []byte) int
- func (p *InteractServiceGetCommentListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InteractServiceGetCommentListArgs) Field1DeepEqual(src *CommentListRequest) bool
- func (p *InteractServiceGetCommentListArgs) GetFirstArgument() interface{}
- func (p *InteractServiceGetCommentListArgs) GetReq() (v *CommentListRequest)
- func (p *InteractServiceGetCommentListArgs) InitDefault()
- func (p *InteractServiceGetCommentListArgs) IsSetReq() bool
- func (p *InteractServiceGetCommentListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *InteractServiceGetCommentListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *InteractServiceGetCommentListArgs) SetReq(val *CommentListRequest)
- func (p *InteractServiceGetCommentListArgs) String() string
- func (p *InteractServiceGetCommentListArgs) Write(oprot thrift.TProtocol) (err error)
- type InteractServiceGetCommentListResult
- func (p *InteractServiceGetCommentListResult) BLength() int
- func (p *InteractServiceGetCommentListResult) DeepEqual(ano *InteractServiceGetCommentListResult) bool
- func (p *InteractServiceGetCommentListResult) FastRead(buf []byte) (int, error)
- func (p *InteractServiceGetCommentListResult) FastReadField0(buf []byte) (int, error)
- func (p *InteractServiceGetCommentListResult) FastWrite(buf []byte) int
- func (p *InteractServiceGetCommentListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InteractServiceGetCommentListResult) Field0DeepEqual(src *CommentListResponse) bool
- func (p *InteractServiceGetCommentListResult) GetResult() interface{}
- func (p *InteractServiceGetCommentListResult) GetSuccess() (v *CommentListResponse)
- func (p *InteractServiceGetCommentListResult) InitDefault()
- func (p *InteractServiceGetCommentListResult) IsSetSuccess() bool
- func (p *InteractServiceGetCommentListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *InteractServiceGetCommentListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *InteractServiceGetCommentListResult) SetSuccess(x interface{})
- func (p *InteractServiceGetCommentListResult) String() string
- func (p *InteractServiceGetCommentListResult) Write(oprot thrift.TProtocol) (err error)
- type InteractServiceGetFavoriteListArgs
- func (p *InteractServiceGetFavoriteListArgs) BLength() int
- func (p *InteractServiceGetFavoriteListArgs) DeepEqual(ano *InteractServiceGetFavoriteListArgs) bool
- func (p *InteractServiceGetFavoriteListArgs) FastRead(buf []byte) (int, error)
- func (p *InteractServiceGetFavoriteListArgs) FastReadField1(buf []byte) (int, error)
- func (p *InteractServiceGetFavoriteListArgs) FastWrite(buf []byte) int
- func (p *InteractServiceGetFavoriteListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InteractServiceGetFavoriteListArgs) Field1DeepEqual(src *FavoriteListRequest) bool
- func (p *InteractServiceGetFavoriteListArgs) GetFirstArgument() interface{}
- func (p *InteractServiceGetFavoriteListArgs) GetReq() (v *FavoriteListRequest)
- func (p *InteractServiceGetFavoriteListArgs) InitDefault()
- func (p *InteractServiceGetFavoriteListArgs) IsSetReq() bool
- func (p *InteractServiceGetFavoriteListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *InteractServiceGetFavoriteListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *InteractServiceGetFavoriteListArgs) SetReq(val *FavoriteListRequest)
- func (p *InteractServiceGetFavoriteListArgs) String() string
- func (p *InteractServiceGetFavoriteListArgs) Write(oprot thrift.TProtocol) (err error)
- type InteractServiceGetFavoriteListResult
- func (p *InteractServiceGetFavoriteListResult) BLength() int
- func (p *InteractServiceGetFavoriteListResult) DeepEqual(ano *InteractServiceGetFavoriteListResult) bool
- func (p *InteractServiceGetFavoriteListResult) FastRead(buf []byte) (int, error)
- func (p *InteractServiceGetFavoriteListResult) FastReadField0(buf []byte) (int, error)
- func (p *InteractServiceGetFavoriteListResult) FastWrite(buf []byte) int
- func (p *InteractServiceGetFavoriteListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InteractServiceGetFavoriteListResult) Field0DeepEqual(src *FavoriteListResponse) bool
- func (p *InteractServiceGetFavoriteListResult) GetResult() interface{}
- func (p *InteractServiceGetFavoriteListResult) GetSuccess() (v *FavoriteListResponse)
- func (p *InteractServiceGetFavoriteListResult) InitDefault()
- func (p *InteractServiceGetFavoriteListResult) IsSetSuccess() bool
- func (p *InteractServiceGetFavoriteListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *InteractServiceGetFavoriteListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *InteractServiceGetFavoriteListResult) SetSuccess(x interface{})
- func (p *InteractServiceGetFavoriteListResult) String() string
- func (p *InteractServiceGetFavoriteListResult) Write(oprot thrift.TProtocol) (err error)
- type InteractServiceGetVideoInteractArgs
- func (p *InteractServiceGetVideoInteractArgs) BLength() int
- func (p *InteractServiceGetVideoInteractArgs) DeepEqual(ano *InteractServiceGetVideoInteractArgs) bool
- func (p *InteractServiceGetVideoInteractArgs) FastRead(buf []byte) (int, error)
- func (p *InteractServiceGetVideoInteractArgs) FastReadField1(buf []byte) (int, error)
- func (p *InteractServiceGetVideoInteractArgs) FastWrite(buf []byte) int
- func (p *InteractServiceGetVideoInteractArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InteractServiceGetVideoInteractArgs) Field1DeepEqual(src *VideoInteractRequest) bool
- func (p *InteractServiceGetVideoInteractArgs) GetFirstArgument() interface{}
- func (p *InteractServiceGetVideoInteractArgs) GetReq() (v *VideoInteractRequest)
- func (p *InteractServiceGetVideoInteractArgs) InitDefault()
- func (p *InteractServiceGetVideoInteractArgs) IsSetReq() bool
- func (p *InteractServiceGetVideoInteractArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *InteractServiceGetVideoInteractArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *InteractServiceGetVideoInteractArgs) SetReq(val *VideoInteractRequest)
- func (p *InteractServiceGetVideoInteractArgs) String() string
- func (p *InteractServiceGetVideoInteractArgs) Write(oprot thrift.TProtocol) (err error)
- type InteractServiceGetVideoInteractResult
- func (p *InteractServiceGetVideoInteractResult) BLength() int
- func (p *InteractServiceGetVideoInteractResult) DeepEqual(ano *InteractServiceGetVideoInteractResult) bool
- func (p *InteractServiceGetVideoInteractResult) FastRead(buf []byte) (int, error)
- func (p *InteractServiceGetVideoInteractResult) FastReadField0(buf []byte) (int, error)
- func (p *InteractServiceGetVideoInteractResult) FastWrite(buf []byte) int
- func (p *InteractServiceGetVideoInteractResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InteractServiceGetVideoInteractResult) Field0DeepEqual(src *VideoInteractResponse) bool
- func (p *InteractServiceGetVideoInteractResult) GetResult() interface{}
- func (p *InteractServiceGetVideoInteractResult) GetSuccess() (v *VideoInteractResponse)
- func (p *InteractServiceGetVideoInteractResult) InitDefault()
- func (p *InteractServiceGetVideoInteractResult) IsSetSuccess() bool
- func (p *InteractServiceGetVideoInteractResult) Read(iprot thrift.TProtocol) (err error)
- func (p *InteractServiceGetVideoInteractResult) ReadField0(iprot thrift.TProtocol) error
- func (p *InteractServiceGetVideoInteractResult) SetSuccess(x interface{})
- func (p *InteractServiceGetVideoInteractResult) String() string
- func (p *InteractServiceGetVideoInteractResult) Write(oprot thrift.TProtocol) (err error)
- type InteractServiceProcessor
- func (p *InteractServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *InteractServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *InteractServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *InteractServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type VideoInteractRequest
- func (p *VideoInteractRequest) BLength() int
- func (p *VideoInteractRequest) DeepEqual(ano *VideoInteractRequest) bool
- func (p *VideoInteractRequest) FastRead(buf []byte) (int, error)
- func (p *VideoInteractRequest) FastReadField1(buf []byte) (int, error)
- func (p *VideoInteractRequest) FastReadField2(buf []byte) (int, error)
- func (p *VideoInteractRequest) FastWrite(buf []byte) int
- func (p *VideoInteractRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoInteractRequest) Field1DeepEqual(src int64) bool
- func (p *VideoInteractRequest) Field2DeepEqual(src int64) bool
- func (p *VideoInteractRequest) GetUserId() (v int64)
- func (p *VideoInteractRequest) GetVideoId() (v int64)
- func (p *VideoInteractRequest) InitDefault()
- func (p *VideoInteractRequest) IsValid() error
- func (p *VideoInteractRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoInteractRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *VideoInteractRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *VideoInteractRequest) SetUserId(val int64)
- func (p *VideoInteractRequest) SetVideoId(val int64)
- func (p *VideoInteractRequest) String() string
- func (p *VideoInteractRequest) Write(oprot thrift.TProtocol) (err error)
- type VideoInteractResponse
- func (p *VideoInteractResponse) BLength() int
- func (p *VideoInteractResponse) DeepEqual(ano *VideoInteractResponse) bool
- func (p *VideoInteractResponse) FastRead(buf []byte) (int, error)
- func (p *VideoInteractResponse) FastReadField1(buf []byte) (int, error)
- func (p *VideoInteractResponse) FastReadField2(buf []byte) (int, error)
- func (p *VideoInteractResponse) FastReadField3(buf []byte) (int, error)
- func (p *VideoInteractResponse) FastReadField4(buf []byte) (int, error)
- func (p *VideoInteractResponse) FastReadField5(buf []byte) (int, error)
- func (p *VideoInteractResponse) FastWrite(buf []byte) int
- func (p *VideoInteractResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoInteractResponse) Field1DeepEqual(src int32) bool
- func (p *VideoInteractResponse) Field2DeepEqual(src string) bool
- func (p *VideoInteractResponse) Field3DeepEqual(src int64) bool
- func (p *VideoInteractResponse) Field4DeepEqual(src int64) bool
- func (p *VideoInteractResponse) Field5DeepEqual(src bool) bool
- func (p *VideoInteractResponse) GetCommentCount() (v int64)
- func (p *VideoInteractResponse) GetFavoriteCount() (v int64)
- func (p *VideoInteractResponse) GetIsFavorite() (v bool)
- func (p *VideoInteractResponse) GetStatusCode() (v int32)
- func (p *VideoInteractResponse) GetStatusMsg() (v string)
- func (p *VideoInteractResponse) InitDefault()
- func (p *VideoInteractResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoInteractResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *VideoInteractResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *VideoInteractResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *VideoInteractResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *VideoInteractResponse) ReadField5(iprot thrift.TProtocol) error
- func (p *VideoInteractResponse) SetCommentCount(val int64)
- func (p *VideoInteractResponse) SetFavoriteCount(val int64)
- func (p *VideoInteractResponse) SetIsFavorite(val bool)
- func (p *VideoInteractResponse) SetStatusCode(val int32)
- func (p *VideoInteractResponse) SetStatusMsg(val string)
- func (p *VideoInteractResponse) String() string
- func (p *VideoInteractResponse) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Comment_User_DEFAULT *user.User
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct { Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"` User *user.User `thrift:"user,2" frugal:"2,default,user.User" json:"user"` Content string `thrift:"content,3" frugal:"3,default,string" json:"content"` CreateDate string `thrift:"create_date,4" frugal:"4,default,string" json:"create_date"` }
var CommentActionResponse_Comment_DEFAULT *Comment
func NewComment ¶
func NewComment() *Comment
func (*Comment) FastWriteNocopy ¶
func (p *Comment) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Comment) Field1DeepEqual ¶
func (*Comment) Field3DeepEqual ¶
func (*Comment) Field4DeepEqual ¶
func (*Comment) GetContent ¶
func (*Comment) GetCreateDate ¶
func (*Comment) InitDefault ¶
func (p *Comment) InitDefault()
func (*Comment) SetContent ¶
func (*Comment) SetCreateDate ¶
type CommentActionRequest ¶
type CommentActionRequest 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"` CommentText string `thrift:"comment_text,4" frugal:"4,default,string" json:"comment_text"` CommentId int64 `thrift:"comment_id,5" frugal:"5,default,i64" json:"comment_id"` }
var InteractServiceCommentActionArgs_Req_DEFAULT *CommentActionRequest
func NewCommentActionRequest ¶
func NewCommentActionRequest() *CommentActionRequest
func (*CommentActionRequest) BLength ¶
func (p *CommentActionRequest) BLength() int
func (*CommentActionRequest) DeepEqual ¶
func (p *CommentActionRequest) DeepEqual(ano *CommentActionRequest) bool
func (*CommentActionRequest) FastRead ¶
func (p *CommentActionRequest) FastRead(buf []byte) (int, error)
func (*CommentActionRequest) FastReadField1 ¶
func (p *CommentActionRequest) FastReadField1(buf []byte) (int, error)
func (*CommentActionRequest) FastReadField2 ¶
func (p *CommentActionRequest) FastReadField2(buf []byte) (int, error)
func (*CommentActionRequest) FastReadField3 ¶
func (p *CommentActionRequest) FastReadField3(buf []byte) (int, error)
func (*CommentActionRequest) FastReadField4 ¶
func (p *CommentActionRequest) FastReadField4(buf []byte) (int, error)
func (*CommentActionRequest) FastReadField5 ¶
func (p *CommentActionRequest) FastReadField5(buf []byte) (int, error)
func (*CommentActionRequest) FastWrite ¶
func (p *CommentActionRequest) FastWrite(buf []byte) int
for compatibility
func (*CommentActionRequest) FastWriteNocopy ¶
func (p *CommentActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CommentActionRequest) Field1DeepEqual ¶
func (p *CommentActionRequest) Field1DeepEqual(src string) bool
func (*CommentActionRequest) Field2DeepEqual ¶
func (p *CommentActionRequest) Field2DeepEqual(src int64) bool
func (*CommentActionRequest) Field3DeepEqual ¶
func (p *CommentActionRequest) Field3DeepEqual(src int32) bool
func (*CommentActionRequest) Field4DeepEqual ¶
func (p *CommentActionRequest) Field4DeepEqual(src string) bool
func (*CommentActionRequest) Field5DeepEqual ¶
func (p *CommentActionRequest) Field5DeepEqual(src int64) bool
func (*CommentActionRequest) GetActionType ¶
func (p *CommentActionRequest) GetActionType() (v int32)
func (*CommentActionRequest) GetCommentId ¶
func (p *CommentActionRequest) GetCommentId() (v int64)
func (*CommentActionRequest) GetCommentText ¶
func (p *CommentActionRequest) GetCommentText() (v string)
func (*CommentActionRequest) GetToken ¶
func (p *CommentActionRequest) GetToken() (v string)
func (*CommentActionRequest) GetVideoId ¶
func (p *CommentActionRequest) GetVideoId() (v int64)
func (*CommentActionRequest) InitDefault ¶
func (p *CommentActionRequest) InitDefault()
func (*CommentActionRequest) IsValid ¶
func (p *CommentActionRequest) IsValid() error
IsValid 校验VideoId,ActionType
func (*CommentActionRequest) Read ¶
func (p *CommentActionRequest) Read(iprot thrift.TProtocol) (err error)
func (*CommentActionRequest) ReadField1 ¶
func (p *CommentActionRequest) ReadField1(iprot thrift.TProtocol) error
func (*CommentActionRequest) ReadField2 ¶
func (p *CommentActionRequest) ReadField2(iprot thrift.TProtocol) error
func (*CommentActionRequest) ReadField3 ¶
func (p *CommentActionRequest) ReadField3(iprot thrift.TProtocol) error
func (*CommentActionRequest) ReadField4 ¶
func (p *CommentActionRequest) ReadField4(iprot thrift.TProtocol) error
func (*CommentActionRequest) ReadField5 ¶
func (p *CommentActionRequest) ReadField5(iprot thrift.TProtocol) error
func (*CommentActionRequest) SetActionType ¶
func (p *CommentActionRequest) SetActionType(val int32)
func (*CommentActionRequest) SetCommentId ¶
func (p *CommentActionRequest) SetCommentId(val int64)
func (*CommentActionRequest) SetCommentText ¶
func (p *CommentActionRequest) SetCommentText(val string)
func (*CommentActionRequest) SetToken ¶
func (p *CommentActionRequest) SetToken(val string)
func (*CommentActionRequest) SetVideoId ¶
func (p *CommentActionRequest) SetVideoId(val int64)
func (*CommentActionRequest) String ¶
func (p *CommentActionRequest) String() string
type CommentActionResponse ¶
type CommentActionResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"` Comment *Comment `thrift:"comment,3" frugal:"3,default,Comment" json:"comment"` }
var InteractServiceCommentActionResult_Success_DEFAULT *CommentActionResponse
func NewCommentActionResponse ¶
func NewCommentActionResponse() *CommentActionResponse
func (*CommentActionResponse) BLength ¶
func (p *CommentActionResponse) BLength() int
func (*CommentActionResponse) DeepEqual ¶
func (p *CommentActionResponse) DeepEqual(ano *CommentActionResponse) bool
func (*CommentActionResponse) FastRead ¶
func (p *CommentActionResponse) FastRead(buf []byte) (int, error)
func (*CommentActionResponse) FastReadField1 ¶
func (p *CommentActionResponse) FastReadField1(buf []byte) (int, error)
func (*CommentActionResponse) FastReadField2 ¶
func (p *CommentActionResponse) FastReadField2(buf []byte) (int, error)
func (*CommentActionResponse) FastReadField3 ¶
func (p *CommentActionResponse) FastReadField3(buf []byte) (int, error)
func (*CommentActionResponse) FastWrite ¶
func (p *CommentActionResponse) FastWrite(buf []byte) int
for compatibility
func (*CommentActionResponse) FastWriteNocopy ¶
func (p *CommentActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CommentActionResponse) Field1DeepEqual ¶
func (p *CommentActionResponse) Field1DeepEqual(src int32) bool
func (*CommentActionResponse) Field2DeepEqual ¶
func (p *CommentActionResponse) Field2DeepEqual(src string) bool
func (*CommentActionResponse) Field3DeepEqual ¶
func (p *CommentActionResponse) Field3DeepEqual(src *Comment) bool
func (*CommentActionResponse) GetComment ¶
func (p *CommentActionResponse) GetComment() (v *Comment)
func (*CommentActionResponse) GetStatusCode ¶
func (p *CommentActionResponse) GetStatusCode() (v int32)
func (*CommentActionResponse) GetStatusMsg ¶
func (p *CommentActionResponse) GetStatusMsg() (v string)
func (*CommentActionResponse) InitDefault ¶
func (p *CommentActionResponse) InitDefault()
func (*CommentActionResponse) IsSetComment ¶
func (p *CommentActionResponse) IsSetComment() bool
func (*CommentActionResponse) Read ¶
func (p *CommentActionResponse) Read(iprot thrift.TProtocol) (err error)
func (*CommentActionResponse) ReadField1 ¶
func (p *CommentActionResponse) ReadField1(iprot thrift.TProtocol) error
func (*CommentActionResponse) ReadField2 ¶
func (p *CommentActionResponse) ReadField2(iprot thrift.TProtocol) error
func (*CommentActionResponse) ReadField3 ¶
func (p *CommentActionResponse) ReadField3(iprot thrift.TProtocol) error
func (*CommentActionResponse) SetComment ¶
func (p *CommentActionResponse) SetComment(val *Comment)
func (*CommentActionResponse) SetStatusCode ¶
func (p *CommentActionResponse) SetStatusCode(val int32)
func (*CommentActionResponse) SetStatusMsg ¶
func (p *CommentActionResponse) SetStatusMsg(val string)
func (*CommentActionResponse) String ¶
func (p *CommentActionResponse) String() string
type CommentListRequest ¶
type CommentListRequest 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"` }
var InteractServiceGetCommentListArgs_Req_DEFAULT *CommentListRequest
func NewCommentListRequest ¶
func NewCommentListRequest() *CommentListRequest
func (*CommentListRequest) BLength ¶
func (p *CommentListRequest) BLength() int
func (*CommentListRequest) DeepEqual ¶
func (p *CommentListRequest) DeepEqual(ano *CommentListRequest) bool
func (*CommentListRequest) FastRead ¶
func (p *CommentListRequest) FastRead(buf []byte) (int, error)
func (*CommentListRequest) FastReadField1 ¶
func (p *CommentListRequest) FastReadField1(buf []byte) (int, error)
func (*CommentListRequest) FastReadField2 ¶
func (p *CommentListRequest) FastReadField2(buf []byte) (int, error)
func (*CommentListRequest) FastWrite ¶
func (p *CommentListRequest) FastWrite(buf []byte) int
for compatibility
func (*CommentListRequest) FastWriteNocopy ¶
func (p *CommentListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CommentListRequest) Field1DeepEqual ¶
func (p *CommentListRequest) Field1DeepEqual(src string) bool
func (*CommentListRequest) Field2DeepEqual ¶
func (p *CommentListRequest) Field2DeepEqual(src int64) bool
func (*CommentListRequest) GetToken ¶
func (p *CommentListRequest) GetToken() (v string)
func (*CommentListRequest) GetVideoId ¶
func (p *CommentListRequest) GetVideoId() (v int64)
func (*CommentListRequest) InitDefault ¶
func (p *CommentListRequest) InitDefault()
func (*CommentListRequest) Read ¶
func (p *CommentListRequest) Read(iprot thrift.TProtocol) (err error)
func (*CommentListRequest) ReadField1 ¶
func (p *CommentListRequest) ReadField1(iprot thrift.TProtocol) error
func (*CommentListRequest) ReadField2 ¶
func (p *CommentListRequest) ReadField2(iprot thrift.TProtocol) error
func (*CommentListRequest) SetToken ¶
func (p *CommentListRequest) SetToken(val string)
func (*CommentListRequest) SetVideoId ¶
func (p *CommentListRequest) SetVideoId(val int64)
func (*CommentListRequest) String ¶
func (p *CommentListRequest) String() string
type CommentListResponse ¶
type CommentListResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"` CommentList []*Comment `thrift:"comment_list,3" frugal:"3,default,list<Comment>" json:"comment_list"` }
var InteractServiceGetCommentListResult_Success_DEFAULT *CommentListResponse
func NewCommentListResponse ¶
func NewCommentListResponse() *CommentListResponse
func (*CommentListResponse) BLength ¶
func (p *CommentListResponse) BLength() int
func (*CommentListResponse) DeepEqual ¶
func (p *CommentListResponse) DeepEqual(ano *CommentListResponse) bool
func (*CommentListResponse) FastRead ¶
func (p *CommentListResponse) FastRead(buf []byte) (int, error)
func (*CommentListResponse) FastReadField1 ¶
func (p *CommentListResponse) FastReadField1(buf []byte) (int, error)
func (*CommentListResponse) FastReadField2 ¶
func (p *CommentListResponse) FastReadField2(buf []byte) (int, error)
func (*CommentListResponse) FastReadField3 ¶
func (p *CommentListResponse) FastReadField3(buf []byte) (int, error)
func (*CommentListResponse) FastWrite ¶
func (p *CommentListResponse) FastWrite(buf []byte) int
for compatibility
func (*CommentListResponse) FastWriteNocopy ¶
func (p *CommentListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CommentListResponse) Field1DeepEqual ¶
func (p *CommentListResponse) Field1DeepEqual(src int32) bool
func (*CommentListResponse) Field2DeepEqual ¶
func (p *CommentListResponse) Field2DeepEqual(src string) bool
func (*CommentListResponse) Field3DeepEqual ¶
func (p *CommentListResponse) Field3DeepEqual(src []*Comment) bool
func (*CommentListResponse) GetCommentList ¶
func (p *CommentListResponse) GetCommentList() (v []*Comment)
func (*CommentListResponse) GetStatusCode ¶
func (p *CommentListResponse) GetStatusCode() (v int32)
func (*CommentListResponse) GetStatusMsg ¶
func (p *CommentListResponse) GetStatusMsg() (v string)
func (*CommentListResponse) InitDefault ¶
func (p *CommentListResponse) InitDefault()
func (*CommentListResponse) Read ¶
func (p *CommentListResponse) Read(iprot thrift.TProtocol) (err error)
func (*CommentListResponse) ReadField1 ¶
func (p *CommentListResponse) ReadField1(iprot thrift.TProtocol) error
func (*CommentListResponse) ReadField2 ¶
func (p *CommentListResponse) ReadField2(iprot thrift.TProtocol) error
func (*CommentListResponse) ReadField3 ¶
func (p *CommentListResponse) ReadField3(iprot thrift.TProtocol) error
func (*CommentListResponse) SetCommentList ¶
func (p *CommentListResponse) SetCommentList(val []*Comment)
func (*CommentListResponse) SetStatusCode ¶
func (p *CommentListResponse) SetStatusCode(val int32)
func (*CommentListResponse) SetStatusMsg ¶
func (p *CommentListResponse) SetStatusMsg(val string)
func (*CommentListResponse) String ¶
func (p *CommentListResponse) String() string
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"` }
var InteractServiceFavoriteActionArgs_Req_DEFAULT *FavoriteActionRequest
func NewFavoriteActionRequest ¶
func NewFavoriteActionRequest() *FavoriteActionRequest
func (*FavoriteActionRequest) BLength ¶
func (p *FavoriteActionRequest) BLength() int
func (*FavoriteActionRequest) DeepEqual ¶
func (p *FavoriteActionRequest) DeepEqual(ano *FavoriteActionRequest) bool
func (*FavoriteActionRequest) FastRead ¶
func (p *FavoriteActionRequest) FastRead(buf []byte) (int, error)
func (*FavoriteActionRequest) FastReadField1 ¶
func (p *FavoriteActionRequest) FastReadField1(buf []byte) (int, error)
func (*FavoriteActionRequest) FastReadField2 ¶
func (p *FavoriteActionRequest) FastReadField2(buf []byte) (int, error)
func (*FavoriteActionRequest) FastReadField3 ¶
func (p *FavoriteActionRequest) FastReadField3(buf []byte) (int, error)
func (*FavoriteActionRequest) FastWrite ¶
func (p *FavoriteActionRequest) FastWrite(buf []byte) int
for compatibility
func (*FavoriteActionRequest) FastWriteNocopy ¶
func (p *FavoriteActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FavoriteActionRequest) Field1DeepEqual ¶
func (p *FavoriteActionRequest) Field1DeepEqual(src string) bool
func (*FavoriteActionRequest) Field2DeepEqual ¶
func (p *FavoriteActionRequest) Field2DeepEqual(src int64) bool
func (*FavoriteActionRequest) Field3DeepEqual ¶
func (p *FavoriteActionRequest) Field3DeepEqual(src int32) bool
func (*FavoriteActionRequest) GetActionType ¶
func (p *FavoriteActionRequest) GetActionType() (v int32)
func (*FavoriteActionRequest) GetToken ¶
func (p *FavoriteActionRequest) GetToken() (v string)
func (*FavoriteActionRequest) GetVideoId ¶
func (p *FavoriteActionRequest) GetVideoId() (v int64)
func (*FavoriteActionRequest) InitDefault ¶
func (p *FavoriteActionRequest) InitDefault()
func (*FavoriteActionRequest) IsValid ¶
func (p *FavoriteActionRequest) IsValid() error
IsValid 校验VideoId,ActionType
func (*FavoriteActionRequest) Read ¶
func (p *FavoriteActionRequest) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteActionRequest) ReadField1 ¶
func (p *FavoriteActionRequest) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteActionRequest) ReadField2 ¶
func (p *FavoriteActionRequest) ReadField2(iprot thrift.TProtocol) error
func (*FavoriteActionRequest) ReadField3 ¶
func (p *FavoriteActionRequest) ReadField3(iprot thrift.TProtocol) error
func (*FavoriteActionRequest) SetActionType ¶
func (p *FavoriteActionRequest) SetActionType(val int32)
func (*FavoriteActionRequest) SetToken ¶
func (p *FavoriteActionRequest) SetToken(val string)
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" frugal:"2,default,string" json:"status_msg"` }
var InteractServiceFavoriteActionResult_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) 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 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 InteractServiceGetFavoriteListArgs_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) IsValid ¶
func (p *FavoriteListRequest) IsValid() error
IsValid 校验UserId
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" frugal:"2,default,string" json:"status_msg"` VideoList []*video.Video `thrift:"video_list,3" frugal:"3,default,list<video.Video>" json:"video_list"` }
var InteractServiceGetFavoriteListResult_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.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.Video)
func (*FavoriteListResponse) InitDefault ¶
func (p *FavoriteListResponse) InitDefault()
func (*FavoriteListResponse) Read ¶
func (p *FavoriteListResponse) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteListResponse) ReadField1 ¶
func (p *FavoriteListResponse) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteListResponse) 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.Video)
func (*FavoriteListResponse) String ¶
func (p *FavoriteListResponse) String() string
type InteractService ¶
type InteractService interface { FavoriteAction(ctx context.Context, req *FavoriteActionRequest) (r *FavoriteActionResponse, err error) GetFavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error) CommentAction(ctx context.Context, req *CommentActionRequest) (r *CommentActionResponse, err error) GetCommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error) GetVideoInteract(ctx context.Context, req *VideoInteractRequest) (r *VideoInteractResponse, err error) }
type InteractServiceClient ¶
type InteractServiceClient struct {
// contains filtered or unexported fields
}
func NewInteractServiceClient ¶
func NewInteractServiceClient(c thrift.TClient) *InteractServiceClient
func NewInteractServiceClientFactory ¶
func NewInteractServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *InteractServiceClient
func NewInteractServiceClientProtocol ¶
func NewInteractServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *InteractServiceClient
func (*InteractServiceClient) Client_ ¶
func (p *InteractServiceClient) Client_() thrift.TClient
func (*InteractServiceClient) CommentAction ¶
func (p *InteractServiceClient) CommentAction(ctx context.Context, req *CommentActionRequest) (r *CommentActionResponse, err error)
func (*InteractServiceClient) FavoriteAction ¶
func (p *InteractServiceClient) FavoriteAction(ctx context.Context, req *FavoriteActionRequest) (r *FavoriteActionResponse, err error)
func (*InteractServiceClient) GetCommentList ¶
func (p *InteractServiceClient) GetCommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error)
func (*InteractServiceClient) GetFavoriteList ¶
func (p *InteractServiceClient) GetFavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error)
func (*InteractServiceClient) GetVideoInteract ¶
func (p *InteractServiceClient) GetVideoInteract(ctx context.Context, req *VideoInteractRequest) (r *VideoInteractResponse, err error)
type InteractServiceCommentActionArgs ¶
type InteractServiceCommentActionArgs struct {
Req *CommentActionRequest `thrift:"req,1" frugal:"1,default,CommentActionRequest" json:"req"`
}
func NewInteractServiceCommentActionArgs ¶
func NewInteractServiceCommentActionArgs() *InteractServiceCommentActionArgs
func (*InteractServiceCommentActionArgs) BLength ¶
func (p *InteractServiceCommentActionArgs) BLength() int
func (*InteractServiceCommentActionArgs) DeepEqual ¶
func (p *InteractServiceCommentActionArgs) DeepEqual(ano *InteractServiceCommentActionArgs) bool
func (*InteractServiceCommentActionArgs) FastRead ¶
func (p *InteractServiceCommentActionArgs) FastRead(buf []byte) (int, error)
func (*InteractServiceCommentActionArgs) FastReadField1 ¶
func (p *InteractServiceCommentActionArgs) FastReadField1(buf []byte) (int, error)
func (*InteractServiceCommentActionArgs) FastWrite ¶
func (p *InteractServiceCommentActionArgs) FastWrite(buf []byte) int
for compatibility
func (*InteractServiceCommentActionArgs) FastWriteNocopy ¶
func (p *InteractServiceCommentActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InteractServiceCommentActionArgs) Field1DeepEqual ¶
func (p *InteractServiceCommentActionArgs) Field1DeepEqual(src *CommentActionRequest) bool
func (*InteractServiceCommentActionArgs) GetFirstArgument ¶
func (p *InteractServiceCommentActionArgs) GetFirstArgument() interface{}
func (*InteractServiceCommentActionArgs) GetReq ¶
func (p *InteractServiceCommentActionArgs) GetReq() (v *CommentActionRequest)
func (*InteractServiceCommentActionArgs) InitDefault ¶
func (p *InteractServiceCommentActionArgs) InitDefault()
func (*InteractServiceCommentActionArgs) IsSetReq ¶
func (p *InteractServiceCommentActionArgs) IsSetReq() bool
func (*InteractServiceCommentActionArgs) Read ¶
func (p *InteractServiceCommentActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*InteractServiceCommentActionArgs) ReadField1 ¶
func (p *InteractServiceCommentActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*InteractServiceCommentActionArgs) SetReq ¶
func (p *InteractServiceCommentActionArgs) SetReq(val *CommentActionRequest)
func (*InteractServiceCommentActionArgs) String ¶
func (p *InteractServiceCommentActionArgs) String() string
type InteractServiceCommentActionResult ¶
type InteractServiceCommentActionResult struct {
Success *CommentActionResponse `thrift:"success,0,optional" frugal:"0,optional,CommentActionResponse" json:"success,omitempty"`
}
func NewInteractServiceCommentActionResult ¶
func NewInteractServiceCommentActionResult() *InteractServiceCommentActionResult
func (*InteractServiceCommentActionResult) BLength ¶
func (p *InteractServiceCommentActionResult) BLength() int
func (*InteractServiceCommentActionResult) DeepEqual ¶
func (p *InteractServiceCommentActionResult) DeepEqual(ano *InteractServiceCommentActionResult) bool
func (*InteractServiceCommentActionResult) FastRead ¶
func (p *InteractServiceCommentActionResult) FastRead(buf []byte) (int, error)
func (*InteractServiceCommentActionResult) FastReadField0 ¶
func (p *InteractServiceCommentActionResult) FastReadField0(buf []byte) (int, error)
func (*InteractServiceCommentActionResult) FastWrite ¶
func (p *InteractServiceCommentActionResult) FastWrite(buf []byte) int
for compatibility
func (*InteractServiceCommentActionResult) FastWriteNocopy ¶
func (p *InteractServiceCommentActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InteractServiceCommentActionResult) Field0DeepEqual ¶
func (p *InteractServiceCommentActionResult) Field0DeepEqual(src *CommentActionResponse) bool
func (*InteractServiceCommentActionResult) GetResult ¶
func (p *InteractServiceCommentActionResult) GetResult() interface{}
func (*InteractServiceCommentActionResult) GetSuccess ¶
func (p *InteractServiceCommentActionResult) GetSuccess() (v *CommentActionResponse)
func (*InteractServiceCommentActionResult) InitDefault ¶
func (p *InteractServiceCommentActionResult) InitDefault()
func (*InteractServiceCommentActionResult) IsSetSuccess ¶
func (p *InteractServiceCommentActionResult) IsSetSuccess() bool
func (*InteractServiceCommentActionResult) Read ¶
func (p *InteractServiceCommentActionResult) Read(iprot thrift.TProtocol) (err error)
func (*InteractServiceCommentActionResult) ReadField0 ¶
func (p *InteractServiceCommentActionResult) ReadField0(iprot thrift.TProtocol) error
func (*InteractServiceCommentActionResult) SetSuccess ¶
func (p *InteractServiceCommentActionResult) SetSuccess(x interface{})
func (*InteractServiceCommentActionResult) String ¶
func (p *InteractServiceCommentActionResult) String() string
type InteractServiceFavoriteActionArgs ¶
type InteractServiceFavoriteActionArgs struct {
Req *FavoriteActionRequest `thrift:"req,1" frugal:"1,default,FavoriteActionRequest" json:"req"`
}
func NewInteractServiceFavoriteActionArgs ¶
func NewInteractServiceFavoriteActionArgs() *InteractServiceFavoriteActionArgs
func (*InteractServiceFavoriteActionArgs) BLength ¶
func (p *InteractServiceFavoriteActionArgs) BLength() int
func (*InteractServiceFavoriteActionArgs) DeepEqual ¶
func (p *InteractServiceFavoriteActionArgs) DeepEqual(ano *InteractServiceFavoriteActionArgs) bool
func (*InteractServiceFavoriteActionArgs) FastRead ¶
func (p *InteractServiceFavoriteActionArgs) FastRead(buf []byte) (int, error)
func (*InteractServiceFavoriteActionArgs) FastReadField1 ¶
func (p *InteractServiceFavoriteActionArgs) FastReadField1(buf []byte) (int, error)
func (*InteractServiceFavoriteActionArgs) FastWrite ¶
func (p *InteractServiceFavoriteActionArgs) FastWrite(buf []byte) int
for compatibility
func (*InteractServiceFavoriteActionArgs) FastWriteNocopy ¶
func (p *InteractServiceFavoriteActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InteractServiceFavoriteActionArgs) Field1DeepEqual ¶
func (p *InteractServiceFavoriteActionArgs) Field1DeepEqual(src *FavoriteActionRequest) bool
func (*InteractServiceFavoriteActionArgs) GetFirstArgument ¶
func (p *InteractServiceFavoriteActionArgs) GetFirstArgument() interface{}
func (*InteractServiceFavoriteActionArgs) GetReq ¶
func (p *InteractServiceFavoriteActionArgs) GetReq() (v *FavoriteActionRequest)
func (*InteractServiceFavoriteActionArgs) InitDefault ¶
func (p *InteractServiceFavoriteActionArgs) InitDefault()
func (*InteractServiceFavoriteActionArgs) IsSetReq ¶
func (p *InteractServiceFavoriteActionArgs) IsSetReq() bool
func (*InteractServiceFavoriteActionArgs) Read ¶
func (p *InteractServiceFavoriteActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*InteractServiceFavoriteActionArgs) ReadField1 ¶
func (p *InteractServiceFavoriteActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*InteractServiceFavoriteActionArgs) SetReq ¶
func (p *InteractServiceFavoriteActionArgs) SetReq(val *FavoriteActionRequest)
func (*InteractServiceFavoriteActionArgs) String ¶
func (p *InteractServiceFavoriteActionArgs) String() string
type InteractServiceFavoriteActionResult ¶
type InteractServiceFavoriteActionResult struct {
Success *FavoriteActionResponse `thrift:"success,0,optional" frugal:"0,optional,FavoriteActionResponse" json:"success,omitempty"`
}
func NewInteractServiceFavoriteActionResult ¶
func NewInteractServiceFavoriteActionResult() *InteractServiceFavoriteActionResult
func (*InteractServiceFavoriteActionResult) BLength ¶
func (p *InteractServiceFavoriteActionResult) BLength() int
func (*InteractServiceFavoriteActionResult) DeepEqual ¶
func (p *InteractServiceFavoriteActionResult) DeepEqual(ano *InteractServiceFavoriteActionResult) bool
func (*InteractServiceFavoriteActionResult) FastRead ¶
func (p *InteractServiceFavoriteActionResult) FastRead(buf []byte) (int, error)
func (*InteractServiceFavoriteActionResult) FastReadField0 ¶
func (p *InteractServiceFavoriteActionResult) FastReadField0(buf []byte) (int, error)
func (*InteractServiceFavoriteActionResult) FastWrite ¶
func (p *InteractServiceFavoriteActionResult) FastWrite(buf []byte) int
for compatibility
func (*InteractServiceFavoriteActionResult) FastWriteNocopy ¶
func (p *InteractServiceFavoriteActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InteractServiceFavoriteActionResult) Field0DeepEqual ¶
func (p *InteractServiceFavoriteActionResult) Field0DeepEqual(src *FavoriteActionResponse) bool
func (*InteractServiceFavoriteActionResult) GetResult ¶
func (p *InteractServiceFavoriteActionResult) GetResult() interface{}
func (*InteractServiceFavoriteActionResult) GetSuccess ¶
func (p *InteractServiceFavoriteActionResult) GetSuccess() (v *FavoriteActionResponse)
func (*InteractServiceFavoriteActionResult) InitDefault ¶
func (p *InteractServiceFavoriteActionResult) InitDefault()
func (*InteractServiceFavoriteActionResult) IsSetSuccess ¶
func (p *InteractServiceFavoriteActionResult) IsSetSuccess() bool
func (*InteractServiceFavoriteActionResult) Read ¶
func (p *InteractServiceFavoriteActionResult) Read(iprot thrift.TProtocol) (err error)
func (*InteractServiceFavoriteActionResult) ReadField0 ¶
func (p *InteractServiceFavoriteActionResult) ReadField0(iprot thrift.TProtocol) error
func (*InteractServiceFavoriteActionResult) SetSuccess ¶
func (p *InteractServiceFavoriteActionResult) SetSuccess(x interface{})
func (*InteractServiceFavoriteActionResult) String ¶
func (p *InteractServiceFavoriteActionResult) String() string
type InteractServiceGetCommentListArgs ¶
type InteractServiceGetCommentListArgs struct {
Req *CommentListRequest `thrift:"req,1" frugal:"1,default,CommentListRequest" json:"req"`
}
func NewInteractServiceGetCommentListArgs ¶
func NewInteractServiceGetCommentListArgs() *InteractServiceGetCommentListArgs
func (*InteractServiceGetCommentListArgs) BLength ¶
func (p *InteractServiceGetCommentListArgs) BLength() int
func (*InteractServiceGetCommentListArgs) DeepEqual ¶
func (p *InteractServiceGetCommentListArgs) DeepEqual(ano *InteractServiceGetCommentListArgs) bool
func (*InteractServiceGetCommentListArgs) FastRead ¶
func (p *InteractServiceGetCommentListArgs) FastRead(buf []byte) (int, error)
func (*InteractServiceGetCommentListArgs) FastReadField1 ¶
func (p *InteractServiceGetCommentListArgs) FastReadField1(buf []byte) (int, error)
func (*InteractServiceGetCommentListArgs) FastWrite ¶
func (p *InteractServiceGetCommentListArgs) FastWrite(buf []byte) int
for compatibility
func (*InteractServiceGetCommentListArgs) FastWriteNocopy ¶
func (p *InteractServiceGetCommentListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InteractServiceGetCommentListArgs) Field1DeepEqual ¶
func (p *InteractServiceGetCommentListArgs) Field1DeepEqual(src *CommentListRequest) bool
func (*InteractServiceGetCommentListArgs) GetFirstArgument ¶
func (p *InteractServiceGetCommentListArgs) GetFirstArgument() interface{}
func (*InteractServiceGetCommentListArgs) GetReq ¶
func (p *InteractServiceGetCommentListArgs) GetReq() (v *CommentListRequest)
func (*InteractServiceGetCommentListArgs) InitDefault ¶
func (p *InteractServiceGetCommentListArgs) InitDefault()
func (*InteractServiceGetCommentListArgs) IsSetReq ¶
func (p *InteractServiceGetCommentListArgs) IsSetReq() bool
func (*InteractServiceGetCommentListArgs) Read ¶
func (p *InteractServiceGetCommentListArgs) Read(iprot thrift.TProtocol) (err error)
func (*InteractServiceGetCommentListArgs) ReadField1 ¶
func (p *InteractServiceGetCommentListArgs) ReadField1(iprot thrift.TProtocol) error
func (*InteractServiceGetCommentListArgs) SetReq ¶
func (p *InteractServiceGetCommentListArgs) SetReq(val *CommentListRequest)
func (*InteractServiceGetCommentListArgs) String ¶
func (p *InteractServiceGetCommentListArgs) String() string
type InteractServiceGetCommentListResult ¶
type InteractServiceGetCommentListResult struct {
Success *CommentListResponse `thrift:"success,0,optional" frugal:"0,optional,CommentListResponse" json:"success,omitempty"`
}
func NewInteractServiceGetCommentListResult ¶
func NewInteractServiceGetCommentListResult() *InteractServiceGetCommentListResult
func (*InteractServiceGetCommentListResult) BLength ¶
func (p *InteractServiceGetCommentListResult) BLength() int
func (*InteractServiceGetCommentListResult) DeepEqual ¶
func (p *InteractServiceGetCommentListResult) DeepEqual(ano *InteractServiceGetCommentListResult) bool
func (*InteractServiceGetCommentListResult) FastRead ¶
func (p *InteractServiceGetCommentListResult) FastRead(buf []byte) (int, error)
func (*InteractServiceGetCommentListResult) FastReadField0 ¶
func (p *InteractServiceGetCommentListResult) FastReadField0(buf []byte) (int, error)
func (*InteractServiceGetCommentListResult) FastWrite ¶
func (p *InteractServiceGetCommentListResult) FastWrite(buf []byte) int
for compatibility
func (*InteractServiceGetCommentListResult) FastWriteNocopy ¶
func (p *InteractServiceGetCommentListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InteractServiceGetCommentListResult) Field0DeepEqual ¶
func (p *InteractServiceGetCommentListResult) Field0DeepEqual(src *CommentListResponse) bool
func (*InteractServiceGetCommentListResult) GetResult ¶
func (p *InteractServiceGetCommentListResult) GetResult() interface{}
func (*InteractServiceGetCommentListResult) GetSuccess ¶
func (p *InteractServiceGetCommentListResult) GetSuccess() (v *CommentListResponse)
func (*InteractServiceGetCommentListResult) InitDefault ¶
func (p *InteractServiceGetCommentListResult) InitDefault()
func (*InteractServiceGetCommentListResult) IsSetSuccess ¶
func (p *InteractServiceGetCommentListResult) IsSetSuccess() bool
func (*InteractServiceGetCommentListResult) Read ¶
func (p *InteractServiceGetCommentListResult) Read(iprot thrift.TProtocol) (err error)
func (*InteractServiceGetCommentListResult) ReadField0 ¶
func (p *InteractServiceGetCommentListResult) ReadField0(iprot thrift.TProtocol) error
func (*InteractServiceGetCommentListResult) SetSuccess ¶
func (p *InteractServiceGetCommentListResult) SetSuccess(x interface{})
func (*InteractServiceGetCommentListResult) String ¶
func (p *InteractServiceGetCommentListResult) String() string
type InteractServiceGetFavoriteListArgs ¶
type InteractServiceGetFavoriteListArgs struct {
Req *FavoriteListRequest `thrift:"req,1" frugal:"1,default,FavoriteListRequest" json:"req"`
}
func NewInteractServiceGetFavoriteListArgs ¶
func NewInteractServiceGetFavoriteListArgs() *InteractServiceGetFavoriteListArgs
func (*InteractServiceGetFavoriteListArgs) BLength ¶
func (p *InteractServiceGetFavoriteListArgs) BLength() int
func (*InteractServiceGetFavoriteListArgs) DeepEqual ¶
func (p *InteractServiceGetFavoriteListArgs) DeepEqual(ano *InteractServiceGetFavoriteListArgs) bool
func (*InteractServiceGetFavoriteListArgs) FastRead ¶
func (p *InteractServiceGetFavoriteListArgs) FastRead(buf []byte) (int, error)
func (*InteractServiceGetFavoriteListArgs) FastReadField1 ¶
func (p *InteractServiceGetFavoriteListArgs) FastReadField1(buf []byte) (int, error)
func (*InteractServiceGetFavoriteListArgs) FastWrite ¶
func (p *InteractServiceGetFavoriteListArgs) FastWrite(buf []byte) int
for compatibility
func (*InteractServiceGetFavoriteListArgs) FastWriteNocopy ¶
func (p *InteractServiceGetFavoriteListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InteractServiceGetFavoriteListArgs) Field1DeepEqual ¶
func (p *InteractServiceGetFavoriteListArgs) Field1DeepEqual(src *FavoriteListRequest) bool
func (*InteractServiceGetFavoriteListArgs) GetFirstArgument ¶
func (p *InteractServiceGetFavoriteListArgs) GetFirstArgument() interface{}
func (*InteractServiceGetFavoriteListArgs) GetReq ¶
func (p *InteractServiceGetFavoriteListArgs) GetReq() (v *FavoriteListRequest)
func (*InteractServiceGetFavoriteListArgs) InitDefault ¶
func (p *InteractServiceGetFavoriteListArgs) InitDefault()
func (*InteractServiceGetFavoriteListArgs) IsSetReq ¶
func (p *InteractServiceGetFavoriteListArgs) IsSetReq() bool
func (*InteractServiceGetFavoriteListArgs) Read ¶
func (p *InteractServiceGetFavoriteListArgs) Read(iprot thrift.TProtocol) (err error)
func (*InteractServiceGetFavoriteListArgs) ReadField1 ¶
func (p *InteractServiceGetFavoriteListArgs) ReadField1(iprot thrift.TProtocol) error
func (*InteractServiceGetFavoriteListArgs) SetReq ¶
func (p *InteractServiceGetFavoriteListArgs) SetReq(val *FavoriteListRequest)
func (*InteractServiceGetFavoriteListArgs) String ¶
func (p *InteractServiceGetFavoriteListArgs) String() string
type InteractServiceGetFavoriteListResult ¶
type InteractServiceGetFavoriteListResult struct {
Success *FavoriteListResponse `thrift:"success,0,optional" frugal:"0,optional,FavoriteListResponse" json:"success,omitempty"`
}
func NewInteractServiceGetFavoriteListResult ¶
func NewInteractServiceGetFavoriteListResult() *InteractServiceGetFavoriteListResult
func (*InteractServiceGetFavoriteListResult) BLength ¶
func (p *InteractServiceGetFavoriteListResult) BLength() int
func (*InteractServiceGetFavoriteListResult) DeepEqual ¶
func (p *InteractServiceGetFavoriteListResult) DeepEqual(ano *InteractServiceGetFavoriteListResult) bool
func (*InteractServiceGetFavoriteListResult) FastRead ¶
func (p *InteractServiceGetFavoriteListResult) FastRead(buf []byte) (int, error)
func (*InteractServiceGetFavoriteListResult) FastReadField0 ¶
func (p *InteractServiceGetFavoriteListResult) FastReadField0(buf []byte) (int, error)
func (*InteractServiceGetFavoriteListResult) FastWrite ¶
func (p *InteractServiceGetFavoriteListResult) FastWrite(buf []byte) int
for compatibility
func (*InteractServiceGetFavoriteListResult) FastWriteNocopy ¶
func (p *InteractServiceGetFavoriteListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InteractServiceGetFavoriteListResult) Field0DeepEqual ¶
func (p *InteractServiceGetFavoriteListResult) Field0DeepEqual(src *FavoriteListResponse) bool
func (*InteractServiceGetFavoriteListResult) GetResult ¶
func (p *InteractServiceGetFavoriteListResult) GetResult() interface{}
func (*InteractServiceGetFavoriteListResult) GetSuccess ¶
func (p *InteractServiceGetFavoriteListResult) GetSuccess() (v *FavoriteListResponse)
func (*InteractServiceGetFavoriteListResult) InitDefault ¶
func (p *InteractServiceGetFavoriteListResult) InitDefault()
func (*InteractServiceGetFavoriteListResult) IsSetSuccess ¶
func (p *InteractServiceGetFavoriteListResult) IsSetSuccess() bool
func (*InteractServiceGetFavoriteListResult) Read ¶
func (p *InteractServiceGetFavoriteListResult) Read(iprot thrift.TProtocol) (err error)
func (*InteractServiceGetFavoriteListResult) ReadField0 ¶
func (p *InteractServiceGetFavoriteListResult) ReadField0(iprot thrift.TProtocol) error
func (*InteractServiceGetFavoriteListResult) SetSuccess ¶
func (p *InteractServiceGetFavoriteListResult) SetSuccess(x interface{})
func (*InteractServiceGetFavoriteListResult) String ¶
func (p *InteractServiceGetFavoriteListResult) String() string
type InteractServiceGetVideoInteractArgs ¶
type InteractServiceGetVideoInteractArgs struct {
Req *VideoInteractRequest `thrift:"req,1" frugal:"1,default,VideoInteractRequest" json:"req"`
}
func NewInteractServiceGetVideoInteractArgs ¶
func NewInteractServiceGetVideoInteractArgs() *InteractServiceGetVideoInteractArgs
func (*InteractServiceGetVideoInteractArgs) BLength ¶
func (p *InteractServiceGetVideoInteractArgs) BLength() int
func (*InteractServiceGetVideoInteractArgs) DeepEqual ¶
func (p *InteractServiceGetVideoInteractArgs) DeepEqual(ano *InteractServiceGetVideoInteractArgs) bool
func (*InteractServiceGetVideoInteractArgs) FastRead ¶
func (p *InteractServiceGetVideoInteractArgs) FastRead(buf []byte) (int, error)
func (*InteractServiceGetVideoInteractArgs) FastReadField1 ¶
func (p *InteractServiceGetVideoInteractArgs) FastReadField1(buf []byte) (int, error)
func (*InteractServiceGetVideoInteractArgs) FastWrite ¶
func (p *InteractServiceGetVideoInteractArgs) FastWrite(buf []byte) int
for compatibility
func (*InteractServiceGetVideoInteractArgs) FastWriteNocopy ¶
func (p *InteractServiceGetVideoInteractArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InteractServiceGetVideoInteractArgs) Field1DeepEqual ¶
func (p *InteractServiceGetVideoInteractArgs) Field1DeepEqual(src *VideoInteractRequest) bool
func (*InteractServiceGetVideoInteractArgs) GetFirstArgument ¶
func (p *InteractServiceGetVideoInteractArgs) GetFirstArgument() interface{}
func (*InteractServiceGetVideoInteractArgs) GetReq ¶
func (p *InteractServiceGetVideoInteractArgs) GetReq() (v *VideoInteractRequest)
func (*InteractServiceGetVideoInteractArgs) InitDefault ¶
func (p *InteractServiceGetVideoInteractArgs) InitDefault()
func (*InteractServiceGetVideoInteractArgs) IsSetReq ¶
func (p *InteractServiceGetVideoInteractArgs) IsSetReq() bool
func (*InteractServiceGetVideoInteractArgs) Read ¶
func (p *InteractServiceGetVideoInteractArgs) Read(iprot thrift.TProtocol) (err error)
func (*InteractServiceGetVideoInteractArgs) ReadField1 ¶
func (p *InteractServiceGetVideoInteractArgs) ReadField1(iprot thrift.TProtocol) error
func (*InteractServiceGetVideoInteractArgs) SetReq ¶
func (p *InteractServiceGetVideoInteractArgs) SetReq(val *VideoInteractRequest)
func (*InteractServiceGetVideoInteractArgs) String ¶
func (p *InteractServiceGetVideoInteractArgs) String() string
type InteractServiceGetVideoInteractResult ¶
type InteractServiceGetVideoInteractResult struct {
Success *VideoInteractResponse `thrift:"success,0,optional" frugal:"0,optional,VideoInteractResponse" json:"success,omitempty"`
}
func NewInteractServiceGetVideoInteractResult ¶
func NewInteractServiceGetVideoInteractResult() *InteractServiceGetVideoInteractResult
func (*InteractServiceGetVideoInteractResult) BLength ¶
func (p *InteractServiceGetVideoInteractResult) BLength() int
func (*InteractServiceGetVideoInteractResult) DeepEqual ¶
func (p *InteractServiceGetVideoInteractResult) DeepEqual(ano *InteractServiceGetVideoInteractResult) bool
func (*InteractServiceGetVideoInteractResult) FastRead ¶
func (p *InteractServiceGetVideoInteractResult) FastRead(buf []byte) (int, error)
func (*InteractServiceGetVideoInteractResult) FastReadField0 ¶
func (p *InteractServiceGetVideoInteractResult) FastReadField0(buf []byte) (int, error)
func (*InteractServiceGetVideoInteractResult) FastWrite ¶
func (p *InteractServiceGetVideoInteractResult) FastWrite(buf []byte) int
for compatibility
func (*InteractServiceGetVideoInteractResult) FastWriteNocopy ¶
func (p *InteractServiceGetVideoInteractResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InteractServiceGetVideoInteractResult) Field0DeepEqual ¶
func (p *InteractServiceGetVideoInteractResult) Field0DeepEqual(src *VideoInteractResponse) bool
func (*InteractServiceGetVideoInteractResult) GetResult ¶
func (p *InteractServiceGetVideoInteractResult) GetResult() interface{}
func (*InteractServiceGetVideoInteractResult) GetSuccess ¶
func (p *InteractServiceGetVideoInteractResult) GetSuccess() (v *VideoInteractResponse)
func (*InteractServiceGetVideoInteractResult) InitDefault ¶
func (p *InteractServiceGetVideoInteractResult) InitDefault()
func (*InteractServiceGetVideoInteractResult) IsSetSuccess ¶
func (p *InteractServiceGetVideoInteractResult) IsSetSuccess() bool
func (*InteractServiceGetVideoInteractResult) Read ¶
func (p *InteractServiceGetVideoInteractResult) Read(iprot thrift.TProtocol) (err error)
func (*InteractServiceGetVideoInteractResult) ReadField0 ¶
func (p *InteractServiceGetVideoInteractResult) ReadField0(iprot thrift.TProtocol) error
func (*InteractServiceGetVideoInteractResult) SetSuccess ¶
func (p *InteractServiceGetVideoInteractResult) SetSuccess(x interface{})
func (*InteractServiceGetVideoInteractResult) String ¶
func (p *InteractServiceGetVideoInteractResult) String() string
type InteractServiceProcessor ¶
type InteractServiceProcessor struct {
// contains filtered or unexported fields
}
func NewInteractServiceProcessor ¶
func NewInteractServiceProcessor(handler InteractService) *InteractServiceProcessor
func (*InteractServiceProcessor) AddToProcessorMap ¶
func (p *InteractServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*InteractServiceProcessor) GetProcessorFunction ¶
func (p *InteractServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*InteractServiceProcessor) Process ¶
func (p *InteractServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*InteractServiceProcessor) ProcessorMap ¶
func (p *InteractServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type VideoInteractRequest ¶
type VideoInteractRequest 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 InteractServiceGetVideoInteractArgs_Req_DEFAULT *VideoInteractRequest
func NewVideoInteractRequest ¶
func NewVideoInteractRequest() *VideoInteractRequest
func (*VideoInteractRequest) BLength ¶
func (p *VideoInteractRequest) BLength() int
func (*VideoInteractRequest) DeepEqual ¶
func (p *VideoInteractRequest) DeepEqual(ano *VideoInteractRequest) bool
func (*VideoInteractRequest) FastRead ¶
func (p *VideoInteractRequest) FastRead(buf []byte) (int, error)
func (*VideoInteractRequest) FastReadField1 ¶
func (p *VideoInteractRequest) FastReadField1(buf []byte) (int, error)
func (*VideoInteractRequest) FastReadField2 ¶
func (p *VideoInteractRequest) FastReadField2(buf []byte) (int, error)
func (*VideoInteractRequest) FastWrite ¶
func (p *VideoInteractRequest) FastWrite(buf []byte) int
for compatibility
func (*VideoInteractRequest) FastWriteNocopy ¶
func (p *VideoInteractRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*VideoInteractRequest) Field1DeepEqual ¶
func (p *VideoInteractRequest) Field1DeepEqual(src int64) bool
func (*VideoInteractRequest) Field2DeepEqual ¶
func (p *VideoInteractRequest) Field2DeepEqual(src int64) bool
func (*VideoInteractRequest) GetUserId ¶
func (p *VideoInteractRequest) GetUserId() (v int64)
func (*VideoInteractRequest) GetVideoId ¶
func (p *VideoInteractRequest) GetVideoId() (v int64)
func (*VideoInteractRequest) InitDefault ¶
func (p *VideoInteractRequest) InitDefault()
func (*VideoInteractRequest) IsValid ¶
func (p *VideoInteractRequest) IsValid() error
IsValid 校验UserId,VideoId
func (*VideoInteractRequest) Read ¶
func (p *VideoInteractRequest) Read(iprot thrift.TProtocol) (err error)
func (*VideoInteractRequest) ReadField1 ¶
func (p *VideoInteractRequest) ReadField1(iprot thrift.TProtocol) error
func (*VideoInteractRequest) ReadField2 ¶
func (p *VideoInteractRequest) ReadField2(iprot thrift.TProtocol) error
func (*VideoInteractRequest) SetUserId ¶
func (p *VideoInteractRequest) SetUserId(val int64)
func (*VideoInteractRequest) SetVideoId ¶
func (p *VideoInteractRequest) SetVideoId(val int64)
func (*VideoInteractRequest) String ¶
func (p *VideoInteractRequest) String() string
type VideoInteractResponse ¶
type VideoInteractResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"` FavoriteCount int64 `thrift:"favorite_count,3" frugal:"3,default,i64" json:"favorite_count"` CommentCount int64 `thrift:"comment_count,4" frugal:"4,default,i64" json:"comment_count"` IsFavorite bool `thrift:"is_favorite,5" frugal:"5,default,bool" json:"is_favorite"` }
var InteractServiceGetVideoInteractResult_Success_DEFAULT *VideoInteractResponse
func NewVideoInteractResponse ¶
func NewVideoInteractResponse() *VideoInteractResponse
func (*VideoInteractResponse) BLength ¶
func (p *VideoInteractResponse) BLength() int
func (*VideoInteractResponse) DeepEqual ¶
func (p *VideoInteractResponse) DeepEqual(ano *VideoInteractResponse) bool
func (*VideoInteractResponse) FastRead ¶
func (p *VideoInteractResponse) FastRead(buf []byte) (int, error)
func (*VideoInteractResponse) FastReadField1 ¶
func (p *VideoInteractResponse) FastReadField1(buf []byte) (int, error)
func (*VideoInteractResponse) FastReadField2 ¶
func (p *VideoInteractResponse) FastReadField2(buf []byte) (int, error)
func (*VideoInteractResponse) FastReadField3 ¶
func (p *VideoInteractResponse) FastReadField3(buf []byte) (int, error)
func (*VideoInteractResponse) FastReadField4 ¶
func (p *VideoInteractResponse) FastReadField4(buf []byte) (int, error)
func (*VideoInteractResponse) FastReadField5 ¶
func (p *VideoInteractResponse) FastReadField5(buf []byte) (int, error)
func (*VideoInteractResponse) FastWrite ¶
func (p *VideoInteractResponse) FastWrite(buf []byte) int
for compatibility
func (*VideoInteractResponse) FastWriteNocopy ¶
func (p *VideoInteractResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*VideoInteractResponse) Field1DeepEqual ¶
func (p *VideoInteractResponse) Field1DeepEqual(src int32) bool
func (*VideoInteractResponse) Field2DeepEqual ¶
func (p *VideoInteractResponse) Field2DeepEqual(src string) bool
func (*VideoInteractResponse) Field3DeepEqual ¶
func (p *VideoInteractResponse) Field3DeepEqual(src int64) bool
func (*VideoInteractResponse) Field4DeepEqual ¶
func (p *VideoInteractResponse) Field4DeepEqual(src int64) bool
func (*VideoInteractResponse) Field5DeepEqual ¶
func (p *VideoInteractResponse) Field5DeepEqual(src bool) bool
func (*VideoInteractResponse) GetCommentCount ¶
func (p *VideoInteractResponse) GetCommentCount() (v int64)
func (*VideoInteractResponse) GetFavoriteCount ¶
func (p *VideoInteractResponse) GetFavoriteCount() (v int64)
func (*VideoInteractResponse) GetIsFavorite ¶
func (p *VideoInteractResponse) GetIsFavorite() (v bool)
func (*VideoInteractResponse) GetStatusCode ¶
func (p *VideoInteractResponse) GetStatusCode() (v int32)
func (*VideoInteractResponse) GetStatusMsg ¶
func (p *VideoInteractResponse) GetStatusMsg() (v string)
func (*VideoInteractResponse) InitDefault ¶
func (p *VideoInteractResponse) InitDefault()
func (*VideoInteractResponse) Read ¶
func (p *VideoInteractResponse) Read(iprot thrift.TProtocol) (err error)
func (*VideoInteractResponse) ReadField1 ¶
func (p *VideoInteractResponse) ReadField1(iprot thrift.TProtocol) error
func (*VideoInteractResponse) ReadField2 ¶
func (p *VideoInteractResponse) ReadField2(iprot thrift.TProtocol) error
func (*VideoInteractResponse) ReadField3 ¶
func (p *VideoInteractResponse) ReadField3(iprot thrift.TProtocol) error
func (*VideoInteractResponse) ReadField4 ¶
func (p *VideoInteractResponse) ReadField4(iprot thrift.TProtocol) error
func (*VideoInteractResponse) ReadField5 ¶
func (p *VideoInteractResponse) ReadField5(iprot thrift.TProtocol) error
func (*VideoInteractResponse) SetCommentCount ¶
func (p *VideoInteractResponse) SetCommentCount(val int64)
func (*VideoInteractResponse) SetFavoriteCount ¶
func (p *VideoInteractResponse) SetFavoriteCount(val int64)
func (*VideoInteractResponse) SetIsFavorite ¶
func (p *VideoInteractResponse) SetIsFavorite(val bool)
func (*VideoInteractResponse) SetStatusCode ¶
func (p *VideoInteractResponse) SetStatusCode(val int32)
func (*VideoInteractResponse) SetStatusMsg ¶
func (p *VideoInteractResponse) SetStatusMsg(val string)
func (*VideoInteractResponse) String ¶
func (p *VideoInteractResponse) String() string
Click to show internal directories.
Click to hide internal directories.