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) 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)
- 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)
- 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) IsSetCommentId() bool
- func (p *CommentActionRequest) IsSetCommentText() bool
- 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) IsSetStatusMsg() 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) IsSetStatusMsg() bool
- 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) 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 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) 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) FastWrite(buf []byte) int
- func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- 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) 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) InitDefault()
- func (p *User) IsSetFollowCount() bool
- func (p *User) IsSetFollowerCount() bool
- func (p *User) Read(iprot thrift.TProtocol) (err error)
- func (p *User) ReadField1(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) 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) String() string
- func (p *User) Write(oprot thrift.TProtocol) (err error)
- type UserPlatService
- type UserPlatServiceClient
- func NewUserPlatServiceClient(c thrift.TClient) *UserPlatServiceClient
- func NewUserPlatServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *UserPlatServiceClient
- func NewUserPlatServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *UserPlatServiceClient
- func (p *UserPlatServiceClient) Client_() thrift.TClient
- func (p *UserPlatServiceClient) UserCommentAction(ctx context.Context, req *CommentActionRequest) (r *CommentActionResponse, err error)
- func (p *UserPlatServiceClient) UserCommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error)
- func (p *UserPlatServiceClient) UserFavoriteAction(ctx context.Context, req *FavoriteActionRequest) (r *FavoriteActionResponse, err error)
- func (p *UserPlatServiceClient) UserFavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error)
- type UserPlatServiceProcessor
- func (p *UserPlatServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *UserPlatServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *UserPlatServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *UserPlatServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type UserPlatServiceUserCommentActionArgs
- func (p *UserPlatServiceUserCommentActionArgs) BLength() int
- func (p *UserPlatServiceUserCommentActionArgs) DeepEqual(ano *UserPlatServiceUserCommentActionArgs) bool
- func (p *UserPlatServiceUserCommentActionArgs) FastRead(buf []byte) (int, error)
- func (p *UserPlatServiceUserCommentActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserPlatServiceUserCommentActionArgs) FastWrite(buf []byte) int
- func (p *UserPlatServiceUserCommentActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserPlatServiceUserCommentActionArgs) Field1DeepEqual(src *CommentActionRequest) bool
- func (p *UserPlatServiceUserCommentActionArgs) GetFirstArgument() interface{}
- func (p *UserPlatServiceUserCommentActionArgs) GetReq() (v *CommentActionRequest)
- func (p *UserPlatServiceUserCommentActionArgs) InitDefault()
- func (p *UserPlatServiceUserCommentActionArgs) IsSetReq() bool
- func (p *UserPlatServiceUserCommentActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserPlatServiceUserCommentActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserPlatServiceUserCommentActionArgs) SetReq(val *CommentActionRequest)
- func (p *UserPlatServiceUserCommentActionArgs) String() string
- func (p *UserPlatServiceUserCommentActionArgs) Write(oprot thrift.TProtocol) (err error)
- type UserPlatServiceUserCommentActionResult
- func (p *UserPlatServiceUserCommentActionResult) BLength() int
- func (p *UserPlatServiceUserCommentActionResult) DeepEqual(ano *UserPlatServiceUserCommentActionResult) bool
- func (p *UserPlatServiceUserCommentActionResult) FastRead(buf []byte) (int, error)
- func (p *UserPlatServiceUserCommentActionResult) FastReadField0(buf []byte) (int, error)
- func (p *UserPlatServiceUserCommentActionResult) FastWrite(buf []byte) int
- func (p *UserPlatServiceUserCommentActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserPlatServiceUserCommentActionResult) Field0DeepEqual(src *CommentActionResponse) bool
- func (p *UserPlatServiceUserCommentActionResult) GetResult() interface{}
- func (p *UserPlatServiceUserCommentActionResult) GetSuccess() (v *CommentActionResponse)
- func (p *UserPlatServiceUserCommentActionResult) InitDefault()
- func (p *UserPlatServiceUserCommentActionResult) IsSetSuccess() bool
- func (p *UserPlatServiceUserCommentActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserPlatServiceUserCommentActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserPlatServiceUserCommentActionResult) SetSuccess(x interface{})
- func (p *UserPlatServiceUserCommentActionResult) String() string
- func (p *UserPlatServiceUserCommentActionResult) Write(oprot thrift.TProtocol) (err error)
- type UserPlatServiceUserCommentListArgs
- func (p *UserPlatServiceUserCommentListArgs) BLength() int
- func (p *UserPlatServiceUserCommentListArgs) DeepEqual(ano *UserPlatServiceUserCommentListArgs) bool
- func (p *UserPlatServiceUserCommentListArgs) FastRead(buf []byte) (int, error)
- func (p *UserPlatServiceUserCommentListArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserPlatServiceUserCommentListArgs) FastWrite(buf []byte) int
- func (p *UserPlatServiceUserCommentListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserPlatServiceUserCommentListArgs) Field1DeepEqual(src *CommentListRequest) bool
- func (p *UserPlatServiceUserCommentListArgs) GetFirstArgument() interface{}
- func (p *UserPlatServiceUserCommentListArgs) GetReq() (v *CommentListRequest)
- func (p *UserPlatServiceUserCommentListArgs) InitDefault()
- func (p *UserPlatServiceUserCommentListArgs) IsSetReq() bool
- func (p *UserPlatServiceUserCommentListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserPlatServiceUserCommentListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserPlatServiceUserCommentListArgs) SetReq(val *CommentListRequest)
- func (p *UserPlatServiceUserCommentListArgs) String() string
- func (p *UserPlatServiceUserCommentListArgs) Write(oprot thrift.TProtocol) (err error)
- type UserPlatServiceUserCommentListResult
- func (p *UserPlatServiceUserCommentListResult) BLength() int
- func (p *UserPlatServiceUserCommentListResult) DeepEqual(ano *UserPlatServiceUserCommentListResult) bool
- func (p *UserPlatServiceUserCommentListResult) FastRead(buf []byte) (int, error)
- func (p *UserPlatServiceUserCommentListResult) FastReadField0(buf []byte) (int, error)
- func (p *UserPlatServiceUserCommentListResult) FastWrite(buf []byte) int
- func (p *UserPlatServiceUserCommentListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserPlatServiceUserCommentListResult) Field0DeepEqual(src *CommentListResponse) bool
- func (p *UserPlatServiceUserCommentListResult) GetResult() interface{}
- func (p *UserPlatServiceUserCommentListResult) GetSuccess() (v *CommentListResponse)
- func (p *UserPlatServiceUserCommentListResult) InitDefault()
- func (p *UserPlatServiceUserCommentListResult) IsSetSuccess() bool
- func (p *UserPlatServiceUserCommentListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserPlatServiceUserCommentListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserPlatServiceUserCommentListResult) SetSuccess(x interface{})
- func (p *UserPlatServiceUserCommentListResult) String() string
- func (p *UserPlatServiceUserCommentListResult) Write(oprot thrift.TProtocol) (err error)
- type UserPlatServiceUserFavoriteActionArgs
- func (p *UserPlatServiceUserFavoriteActionArgs) BLength() int
- func (p *UserPlatServiceUserFavoriteActionArgs) DeepEqual(ano *UserPlatServiceUserFavoriteActionArgs) bool
- func (p *UserPlatServiceUserFavoriteActionArgs) FastRead(buf []byte) (int, error)
- func (p *UserPlatServiceUserFavoriteActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserPlatServiceUserFavoriteActionArgs) FastWrite(buf []byte) int
- func (p *UserPlatServiceUserFavoriteActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserPlatServiceUserFavoriteActionArgs) Field1DeepEqual(src *FavoriteActionRequest) bool
- func (p *UserPlatServiceUserFavoriteActionArgs) GetFirstArgument() interface{}
- func (p *UserPlatServiceUserFavoriteActionArgs) GetReq() (v *FavoriteActionRequest)
- func (p *UserPlatServiceUserFavoriteActionArgs) InitDefault()
- func (p *UserPlatServiceUserFavoriteActionArgs) IsSetReq() bool
- func (p *UserPlatServiceUserFavoriteActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserPlatServiceUserFavoriteActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserPlatServiceUserFavoriteActionArgs) SetReq(val *FavoriteActionRequest)
- func (p *UserPlatServiceUserFavoriteActionArgs) String() string
- func (p *UserPlatServiceUserFavoriteActionArgs) Write(oprot thrift.TProtocol) (err error)
- type UserPlatServiceUserFavoriteActionResult
- func (p *UserPlatServiceUserFavoriteActionResult) BLength() int
- func (p *UserPlatServiceUserFavoriteActionResult) DeepEqual(ano *UserPlatServiceUserFavoriteActionResult) bool
- func (p *UserPlatServiceUserFavoriteActionResult) FastRead(buf []byte) (int, error)
- func (p *UserPlatServiceUserFavoriteActionResult) FastReadField0(buf []byte) (int, error)
- func (p *UserPlatServiceUserFavoriteActionResult) FastWrite(buf []byte) int
- func (p *UserPlatServiceUserFavoriteActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserPlatServiceUserFavoriteActionResult) Field0DeepEqual(src *FavoriteActionResponse) bool
- func (p *UserPlatServiceUserFavoriteActionResult) GetResult() interface{}
- func (p *UserPlatServiceUserFavoriteActionResult) GetSuccess() (v *FavoriteActionResponse)
- func (p *UserPlatServiceUserFavoriteActionResult) InitDefault()
- func (p *UserPlatServiceUserFavoriteActionResult) IsSetSuccess() bool
- func (p *UserPlatServiceUserFavoriteActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserPlatServiceUserFavoriteActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserPlatServiceUserFavoriteActionResult) SetSuccess(x interface{})
- func (p *UserPlatServiceUserFavoriteActionResult) String() string
- func (p *UserPlatServiceUserFavoriteActionResult) Write(oprot thrift.TProtocol) (err error)
- type UserPlatServiceUserFavoriteListArgs
- func (p *UserPlatServiceUserFavoriteListArgs) BLength() int
- func (p *UserPlatServiceUserFavoriteListArgs) DeepEqual(ano *UserPlatServiceUserFavoriteListArgs) bool
- func (p *UserPlatServiceUserFavoriteListArgs) FastRead(buf []byte) (int, error)
- func (p *UserPlatServiceUserFavoriteListArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserPlatServiceUserFavoriteListArgs) FastWrite(buf []byte) int
- func (p *UserPlatServiceUserFavoriteListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserPlatServiceUserFavoriteListArgs) Field1DeepEqual(src *FavoriteListRequest) bool
- func (p *UserPlatServiceUserFavoriteListArgs) GetFirstArgument() interface{}
- func (p *UserPlatServiceUserFavoriteListArgs) GetReq() (v *FavoriteListRequest)
- func (p *UserPlatServiceUserFavoriteListArgs) InitDefault()
- func (p *UserPlatServiceUserFavoriteListArgs) IsSetReq() bool
- func (p *UserPlatServiceUserFavoriteListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserPlatServiceUserFavoriteListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserPlatServiceUserFavoriteListArgs) SetReq(val *FavoriteListRequest)
- func (p *UserPlatServiceUserFavoriteListArgs) String() string
- func (p *UserPlatServiceUserFavoriteListArgs) Write(oprot thrift.TProtocol) (err error)
- type UserPlatServiceUserFavoriteListResult
- func (p *UserPlatServiceUserFavoriteListResult) BLength() int
- func (p *UserPlatServiceUserFavoriteListResult) DeepEqual(ano *UserPlatServiceUserFavoriteListResult) bool
- func (p *UserPlatServiceUserFavoriteListResult) FastRead(buf []byte) (int, error)
- func (p *UserPlatServiceUserFavoriteListResult) FastReadField0(buf []byte) (int, error)
- func (p *UserPlatServiceUserFavoriteListResult) FastWrite(buf []byte) int
- func (p *UserPlatServiceUserFavoriteListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserPlatServiceUserFavoriteListResult) Field0DeepEqual(src *FavoriteListResponse) bool
- func (p *UserPlatServiceUserFavoriteListResult) GetResult() interface{}
- func (p *UserPlatServiceUserFavoriteListResult) GetSuccess() (v *FavoriteListResponse)
- func (p *UserPlatServiceUserFavoriteListResult) InitDefault()
- func (p *UserPlatServiceUserFavoriteListResult) IsSetSuccess() bool
- func (p *UserPlatServiceUserFavoriteListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserPlatServiceUserFavoriteListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserPlatServiceUserFavoriteListResult) SetSuccess(x interface{})
- func (p *UserPlatServiceUserFavoriteListResult) String() string
- func (p *UserPlatServiceUserFavoriteListResult) 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 CommentActionRequest_CommentId_DEFAULT int64
View Source
var CommentActionRequest_CommentText_DEFAULT string
View Source
var CommentActionResponse_StatusMsg_DEFAULT string
View Source
var CommentListResponse_StatusMsg_DEFAULT string
View Source
var FavoriteListResponse_StatusMsg_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error. nolint
View Source
var User_FollowCount_DEFAULT int64
View Source
var User_FollowerCount_DEFAULT int64
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct { Id int64 `thrift:"Id,1" frugal:"1,default,i64" json:"id"` User *User `thrift:"User,2" frugal:"2,default,User" json:"user"` Content string `thrift:"Content,3" frugal:"3,default,string" json:"content"` CreateDate string `thrift:"CreateDate,4" frugal:"4,default,string" json:"creaet_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) Field2DeepEqual ¶
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:"VideoId,2" frugal:"2,default,i64" json:"video_id"` ActionType int32 `thrift:"ActionType,3" frugal:"3,default,i32" json:"action_type"` CommentText *string `thrift:"CommentText,4,optional" frugal:"4,optional,string" json:"comment_text"` CommentId *int64 `thrift:"CommentId,5,optional" frugal:"5,optional,i64" json:"comment_id"` }
var UserPlatServiceUserCommentActionArgs_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) IsSetCommentId ¶
func (p *CommentActionRequest) IsSetCommentId() bool
func (*CommentActionRequest) IsSetCommentText ¶
func (p *CommentActionRequest) IsSetCommentText() bool
func (*CommentActionRequest) IsValid ¶
func (p *CommentActionRequest) IsValid() error
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:"StatusCode,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"` Comment *Comment `thrift:"Comment,3,optional" frugal:"3,optional,Comment" json:"comment"` }
var UserPlatServiceUserCommentActionResult_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) IsSetStatusMsg ¶
func (p *CommentActionResponse) IsSetStatusMsg() 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:"VideoId,2" frugal:"2,default,i64" json:"video_id"` }
var UserPlatServiceUserCommentListArgs_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) IsValid ¶
func (p *CommentListRequest) IsValid() error
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:"StatusCode,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"` CommentList []*Comment `thrift:"CommentList,3" frugal:"3,default,list<Comment>" json:"comment_list"` }
var UserPlatServiceUserCommentListResult_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) IsSetStatusMsg ¶
func (p *CommentListResponse) IsSetStatusMsg() bool
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:"VideoId,2" frugal:"2,default,i64" json:"video_id"` ActionType int32 `thrift:"ActionType,3" frugal:"3,default,i32" json:"action_type"` }
var UserPlatServiceUserFavoriteActionArgs_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
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:"StatusCode,1" frugal:"1,default,i32" json:"status_code"` StatusMsg string `thrift:"StatusMsg,2" frugal:"2,default,string" json:"status_msg"` }
var UserPlatServiceUserFavoriteActionResult_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:"UserId,1" frugal:"1,default,i64" json:"user_id"` Token string `thrift:"Token,2" frugal:"2,default,string" json:"token"` }
var UserPlatServiceUserFavoriteListArgs_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
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:"StatusCode,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"` VideoList []*Video `thrift:"VideoList,3" frugal:"3,default,list<Video>" json:"video_list"` }
var UserPlatServiceUserFavoriteListResult_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 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:"FollowCount,3,optional" frugal:"3,optional,i64" json:"follow_count"` FollowerCount *int64 `thrift:"FollowerCount,4,optional" frugal:"4,optional,i64" json:"follower_count"` IsFollow bool `thrift:"IsFollow,5" frugal:"5,default,bool" json:"is_follow"` }
var Comment_User_DEFAULT *User
var Video_Author_DEFAULT *User
func (*User) FastWriteNocopy ¶
func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*User) Field1DeepEqual ¶
func (*User) Field2DeepEqual ¶
func (*User) Field3DeepEqual ¶
func (*User) Field4DeepEqual ¶
func (*User) Field5DeepEqual ¶
func (*User) GetFollowCount ¶
func (*User) GetFollowerCount ¶
func (*User) GetIsFollow ¶
func (*User) InitDefault ¶
func (p *User) InitDefault()
func (*User) IsSetFollowCount ¶
func (*User) IsSetFollowerCount ¶
func (*User) SetFollowCount ¶
func (*User) SetFollowerCount ¶
func (*User) SetIsFollow ¶
type UserPlatService ¶
type UserPlatService interface { UserFavoriteAction(ctx context.Context, req *FavoriteActionRequest) (r *FavoriteActionResponse, err error) UserFavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error) UserCommentAction(ctx context.Context, req *CommentActionRequest) (r *CommentActionResponse, err error) UserCommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error) }
type UserPlatServiceClient ¶
type UserPlatServiceClient struct {
// contains filtered or unexported fields
}
func NewUserPlatServiceClient ¶
func NewUserPlatServiceClient(c thrift.TClient) *UserPlatServiceClient
func NewUserPlatServiceClientFactory ¶
func NewUserPlatServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *UserPlatServiceClient
func NewUserPlatServiceClientProtocol ¶
func NewUserPlatServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *UserPlatServiceClient
func (*UserPlatServiceClient) Client_ ¶
func (p *UserPlatServiceClient) Client_() thrift.TClient
func (*UserPlatServiceClient) UserCommentAction ¶
func (p *UserPlatServiceClient) UserCommentAction(ctx context.Context, req *CommentActionRequest) (r *CommentActionResponse, err error)
func (*UserPlatServiceClient) UserCommentList ¶
func (p *UserPlatServiceClient) UserCommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error)
func (*UserPlatServiceClient) UserFavoriteAction ¶
func (p *UserPlatServiceClient) UserFavoriteAction(ctx context.Context, req *FavoriteActionRequest) (r *FavoriteActionResponse, err error)
func (*UserPlatServiceClient) UserFavoriteList ¶
func (p *UserPlatServiceClient) UserFavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error)
type UserPlatServiceProcessor ¶
type UserPlatServiceProcessor struct {
// contains filtered or unexported fields
}
func NewUserPlatServiceProcessor ¶
func NewUserPlatServiceProcessor(handler UserPlatService) *UserPlatServiceProcessor
func (*UserPlatServiceProcessor) AddToProcessorMap ¶
func (p *UserPlatServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*UserPlatServiceProcessor) GetProcessorFunction ¶
func (p *UserPlatServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*UserPlatServiceProcessor) Process ¶
func (p *UserPlatServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*UserPlatServiceProcessor) ProcessorMap ¶
func (p *UserPlatServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type UserPlatServiceUserCommentActionArgs ¶
type UserPlatServiceUserCommentActionArgs struct {
Req *CommentActionRequest `thrift:"Req,1" frugal:"1,default,CommentActionRequest" json:"Req"`
}
func NewUserPlatServiceUserCommentActionArgs ¶
func NewUserPlatServiceUserCommentActionArgs() *UserPlatServiceUserCommentActionArgs
func (*UserPlatServiceUserCommentActionArgs) BLength ¶
func (p *UserPlatServiceUserCommentActionArgs) BLength() int
func (*UserPlatServiceUserCommentActionArgs) DeepEqual ¶
func (p *UserPlatServiceUserCommentActionArgs) DeepEqual(ano *UserPlatServiceUserCommentActionArgs) bool
func (*UserPlatServiceUserCommentActionArgs) FastRead ¶
func (p *UserPlatServiceUserCommentActionArgs) FastRead(buf []byte) (int, error)
func (*UserPlatServiceUserCommentActionArgs) FastReadField1 ¶
func (p *UserPlatServiceUserCommentActionArgs) FastReadField1(buf []byte) (int, error)
func (*UserPlatServiceUserCommentActionArgs) FastWrite ¶
func (p *UserPlatServiceUserCommentActionArgs) FastWrite(buf []byte) int
for compatibility
func (*UserPlatServiceUserCommentActionArgs) FastWriteNocopy ¶
func (p *UserPlatServiceUserCommentActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserPlatServiceUserCommentActionArgs) Field1DeepEqual ¶
func (p *UserPlatServiceUserCommentActionArgs) Field1DeepEqual(src *CommentActionRequest) bool
func (*UserPlatServiceUserCommentActionArgs) GetFirstArgument ¶
func (p *UserPlatServiceUserCommentActionArgs) GetFirstArgument() interface{}
func (*UserPlatServiceUserCommentActionArgs) GetReq ¶
func (p *UserPlatServiceUserCommentActionArgs) GetReq() (v *CommentActionRequest)
func (*UserPlatServiceUserCommentActionArgs) InitDefault ¶
func (p *UserPlatServiceUserCommentActionArgs) InitDefault()
func (*UserPlatServiceUserCommentActionArgs) IsSetReq ¶
func (p *UserPlatServiceUserCommentActionArgs) IsSetReq() bool
func (*UserPlatServiceUserCommentActionArgs) Read ¶
func (p *UserPlatServiceUserCommentActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserPlatServiceUserCommentActionArgs) ReadField1 ¶
func (p *UserPlatServiceUserCommentActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserPlatServiceUserCommentActionArgs) SetReq ¶
func (p *UserPlatServiceUserCommentActionArgs) SetReq(val *CommentActionRequest)
func (*UserPlatServiceUserCommentActionArgs) String ¶
func (p *UserPlatServiceUserCommentActionArgs) String() string
type UserPlatServiceUserCommentActionResult ¶
type UserPlatServiceUserCommentActionResult struct {
Success *CommentActionResponse `thrift:"success,0,optional" frugal:"0,optional,CommentActionResponse" json:"success,omitempty"`
}
func NewUserPlatServiceUserCommentActionResult ¶
func NewUserPlatServiceUserCommentActionResult() *UserPlatServiceUserCommentActionResult
func (*UserPlatServiceUserCommentActionResult) BLength ¶
func (p *UserPlatServiceUserCommentActionResult) BLength() int
func (*UserPlatServiceUserCommentActionResult) DeepEqual ¶
func (p *UserPlatServiceUserCommentActionResult) DeepEqual(ano *UserPlatServiceUserCommentActionResult) bool
func (*UserPlatServiceUserCommentActionResult) FastRead ¶
func (p *UserPlatServiceUserCommentActionResult) FastRead(buf []byte) (int, error)
func (*UserPlatServiceUserCommentActionResult) FastReadField0 ¶
func (p *UserPlatServiceUserCommentActionResult) FastReadField0(buf []byte) (int, error)
func (*UserPlatServiceUserCommentActionResult) FastWrite ¶
func (p *UserPlatServiceUserCommentActionResult) FastWrite(buf []byte) int
for compatibility
func (*UserPlatServiceUserCommentActionResult) FastWriteNocopy ¶
func (p *UserPlatServiceUserCommentActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserPlatServiceUserCommentActionResult) Field0DeepEqual ¶
func (p *UserPlatServiceUserCommentActionResult) Field0DeepEqual(src *CommentActionResponse) bool
func (*UserPlatServiceUserCommentActionResult) GetResult ¶
func (p *UserPlatServiceUserCommentActionResult) GetResult() interface{}
func (*UserPlatServiceUserCommentActionResult) GetSuccess ¶
func (p *UserPlatServiceUserCommentActionResult) GetSuccess() (v *CommentActionResponse)
func (*UserPlatServiceUserCommentActionResult) InitDefault ¶
func (p *UserPlatServiceUserCommentActionResult) InitDefault()
func (*UserPlatServiceUserCommentActionResult) IsSetSuccess ¶
func (p *UserPlatServiceUserCommentActionResult) IsSetSuccess() bool
func (*UserPlatServiceUserCommentActionResult) Read ¶
func (p *UserPlatServiceUserCommentActionResult) Read(iprot thrift.TProtocol) (err error)
func (*UserPlatServiceUserCommentActionResult) ReadField0 ¶
func (p *UserPlatServiceUserCommentActionResult) ReadField0(iprot thrift.TProtocol) error
func (*UserPlatServiceUserCommentActionResult) SetSuccess ¶
func (p *UserPlatServiceUserCommentActionResult) SetSuccess(x interface{})
func (*UserPlatServiceUserCommentActionResult) String ¶
func (p *UserPlatServiceUserCommentActionResult) String() string
type UserPlatServiceUserCommentListArgs ¶
type UserPlatServiceUserCommentListArgs struct {
Req *CommentListRequest `thrift:"Req,1" frugal:"1,default,CommentListRequest" json:"Req"`
}
func NewUserPlatServiceUserCommentListArgs ¶
func NewUserPlatServiceUserCommentListArgs() *UserPlatServiceUserCommentListArgs
func (*UserPlatServiceUserCommentListArgs) BLength ¶
func (p *UserPlatServiceUserCommentListArgs) BLength() int
func (*UserPlatServiceUserCommentListArgs) DeepEqual ¶
func (p *UserPlatServiceUserCommentListArgs) DeepEqual(ano *UserPlatServiceUserCommentListArgs) bool
func (*UserPlatServiceUserCommentListArgs) FastRead ¶
func (p *UserPlatServiceUserCommentListArgs) FastRead(buf []byte) (int, error)
func (*UserPlatServiceUserCommentListArgs) FastReadField1 ¶
func (p *UserPlatServiceUserCommentListArgs) FastReadField1(buf []byte) (int, error)
func (*UserPlatServiceUserCommentListArgs) FastWrite ¶
func (p *UserPlatServiceUserCommentListArgs) FastWrite(buf []byte) int
for compatibility
func (*UserPlatServiceUserCommentListArgs) FastWriteNocopy ¶
func (p *UserPlatServiceUserCommentListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserPlatServiceUserCommentListArgs) Field1DeepEqual ¶
func (p *UserPlatServiceUserCommentListArgs) Field1DeepEqual(src *CommentListRequest) bool
func (*UserPlatServiceUserCommentListArgs) GetFirstArgument ¶
func (p *UserPlatServiceUserCommentListArgs) GetFirstArgument() interface{}
func (*UserPlatServiceUserCommentListArgs) GetReq ¶
func (p *UserPlatServiceUserCommentListArgs) GetReq() (v *CommentListRequest)
func (*UserPlatServiceUserCommentListArgs) InitDefault ¶
func (p *UserPlatServiceUserCommentListArgs) InitDefault()
func (*UserPlatServiceUserCommentListArgs) IsSetReq ¶
func (p *UserPlatServiceUserCommentListArgs) IsSetReq() bool
func (*UserPlatServiceUserCommentListArgs) Read ¶
func (p *UserPlatServiceUserCommentListArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserPlatServiceUserCommentListArgs) ReadField1 ¶
func (p *UserPlatServiceUserCommentListArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserPlatServiceUserCommentListArgs) SetReq ¶
func (p *UserPlatServiceUserCommentListArgs) SetReq(val *CommentListRequest)
func (*UserPlatServiceUserCommentListArgs) String ¶
func (p *UserPlatServiceUserCommentListArgs) String() string
type UserPlatServiceUserCommentListResult ¶
type UserPlatServiceUserCommentListResult struct {
Success *CommentListResponse `thrift:"success,0,optional" frugal:"0,optional,CommentListResponse" json:"success,omitempty"`
}
func NewUserPlatServiceUserCommentListResult ¶
func NewUserPlatServiceUserCommentListResult() *UserPlatServiceUserCommentListResult
func (*UserPlatServiceUserCommentListResult) BLength ¶
func (p *UserPlatServiceUserCommentListResult) BLength() int
func (*UserPlatServiceUserCommentListResult) DeepEqual ¶
func (p *UserPlatServiceUserCommentListResult) DeepEqual(ano *UserPlatServiceUserCommentListResult) bool
func (*UserPlatServiceUserCommentListResult) FastRead ¶
func (p *UserPlatServiceUserCommentListResult) FastRead(buf []byte) (int, error)
func (*UserPlatServiceUserCommentListResult) FastReadField0 ¶
func (p *UserPlatServiceUserCommentListResult) FastReadField0(buf []byte) (int, error)
func (*UserPlatServiceUserCommentListResult) FastWrite ¶
func (p *UserPlatServiceUserCommentListResult) FastWrite(buf []byte) int
for compatibility
func (*UserPlatServiceUserCommentListResult) FastWriteNocopy ¶
func (p *UserPlatServiceUserCommentListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserPlatServiceUserCommentListResult) Field0DeepEqual ¶
func (p *UserPlatServiceUserCommentListResult) Field0DeepEqual(src *CommentListResponse) bool
func (*UserPlatServiceUserCommentListResult) GetResult ¶
func (p *UserPlatServiceUserCommentListResult) GetResult() interface{}
func (*UserPlatServiceUserCommentListResult) GetSuccess ¶
func (p *UserPlatServiceUserCommentListResult) GetSuccess() (v *CommentListResponse)
func (*UserPlatServiceUserCommentListResult) InitDefault ¶
func (p *UserPlatServiceUserCommentListResult) InitDefault()
func (*UserPlatServiceUserCommentListResult) IsSetSuccess ¶
func (p *UserPlatServiceUserCommentListResult) IsSetSuccess() bool
func (*UserPlatServiceUserCommentListResult) Read ¶
func (p *UserPlatServiceUserCommentListResult) Read(iprot thrift.TProtocol) (err error)
func (*UserPlatServiceUserCommentListResult) ReadField0 ¶
func (p *UserPlatServiceUserCommentListResult) ReadField0(iprot thrift.TProtocol) error
func (*UserPlatServiceUserCommentListResult) SetSuccess ¶
func (p *UserPlatServiceUserCommentListResult) SetSuccess(x interface{})
func (*UserPlatServiceUserCommentListResult) String ¶
func (p *UserPlatServiceUserCommentListResult) String() string
type UserPlatServiceUserFavoriteActionArgs ¶
type UserPlatServiceUserFavoriteActionArgs struct {
Req *FavoriteActionRequest `thrift:"Req,1" frugal:"1,default,FavoriteActionRequest" json:"Req"`
}
func NewUserPlatServiceUserFavoriteActionArgs ¶
func NewUserPlatServiceUserFavoriteActionArgs() *UserPlatServiceUserFavoriteActionArgs
func (*UserPlatServiceUserFavoriteActionArgs) BLength ¶
func (p *UserPlatServiceUserFavoriteActionArgs) BLength() int
func (*UserPlatServiceUserFavoriteActionArgs) DeepEqual ¶
func (p *UserPlatServiceUserFavoriteActionArgs) DeepEqual(ano *UserPlatServiceUserFavoriteActionArgs) bool
func (*UserPlatServiceUserFavoriteActionArgs) FastRead ¶
func (p *UserPlatServiceUserFavoriteActionArgs) FastRead(buf []byte) (int, error)
func (*UserPlatServiceUserFavoriteActionArgs) FastReadField1 ¶
func (p *UserPlatServiceUserFavoriteActionArgs) FastReadField1(buf []byte) (int, error)
func (*UserPlatServiceUserFavoriteActionArgs) FastWrite ¶
func (p *UserPlatServiceUserFavoriteActionArgs) FastWrite(buf []byte) int
for compatibility
func (*UserPlatServiceUserFavoriteActionArgs) FastWriteNocopy ¶
func (p *UserPlatServiceUserFavoriteActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserPlatServiceUserFavoriteActionArgs) Field1DeepEqual ¶
func (p *UserPlatServiceUserFavoriteActionArgs) Field1DeepEqual(src *FavoriteActionRequest) bool
func (*UserPlatServiceUserFavoriteActionArgs) GetFirstArgument ¶
func (p *UserPlatServiceUserFavoriteActionArgs) GetFirstArgument() interface{}
func (*UserPlatServiceUserFavoriteActionArgs) GetReq ¶
func (p *UserPlatServiceUserFavoriteActionArgs) GetReq() (v *FavoriteActionRequest)
func (*UserPlatServiceUserFavoriteActionArgs) InitDefault ¶
func (p *UserPlatServiceUserFavoriteActionArgs) InitDefault()
func (*UserPlatServiceUserFavoriteActionArgs) IsSetReq ¶
func (p *UserPlatServiceUserFavoriteActionArgs) IsSetReq() bool
func (*UserPlatServiceUserFavoriteActionArgs) Read ¶
func (p *UserPlatServiceUserFavoriteActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserPlatServiceUserFavoriteActionArgs) ReadField1 ¶
func (p *UserPlatServiceUserFavoriteActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserPlatServiceUserFavoriteActionArgs) SetReq ¶
func (p *UserPlatServiceUserFavoriteActionArgs) SetReq(val *FavoriteActionRequest)
func (*UserPlatServiceUserFavoriteActionArgs) String ¶
func (p *UserPlatServiceUserFavoriteActionArgs) String() string
type UserPlatServiceUserFavoriteActionResult ¶
type UserPlatServiceUserFavoriteActionResult struct {
Success *FavoriteActionResponse `thrift:"success,0,optional" frugal:"0,optional,FavoriteActionResponse" json:"success,omitempty"`
}
func NewUserPlatServiceUserFavoriteActionResult ¶
func NewUserPlatServiceUserFavoriteActionResult() *UserPlatServiceUserFavoriteActionResult
func (*UserPlatServiceUserFavoriteActionResult) BLength ¶
func (p *UserPlatServiceUserFavoriteActionResult) BLength() int
func (*UserPlatServiceUserFavoriteActionResult) DeepEqual ¶
func (p *UserPlatServiceUserFavoriteActionResult) DeepEqual(ano *UserPlatServiceUserFavoriteActionResult) bool
func (*UserPlatServiceUserFavoriteActionResult) FastRead ¶
func (p *UserPlatServiceUserFavoriteActionResult) FastRead(buf []byte) (int, error)
func (*UserPlatServiceUserFavoriteActionResult) FastReadField0 ¶
func (p *UserPlatServiceUserFavoriteActionResult) FastReadField0(buf []byte) (int, error)
func (*UserPlatServiceUserFavoriteActionResult) FastWrite ¶
func (p *UserPlatServiceUserFavoriteActionResult) FastWrite(buf []byte) int
for compatibility
func (*UserPlatServiceUserFavoriteActionResult) FastWriteNocopy ¶
func (p *UserPlatServiceUserFavoriteActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserPlatServiceUserFavoriteActionResult) Field0DeepEqual ¶
func (p *UserPlatServiceUserFavoriteActionResult) Field0DeepEqual(src *FavoriteActionResponse) bool
func (*UserPlatServiceUserFavoriteActionResult) GetResult ¶
func (p *UserPlatServiceUserFavoriteActionResult) GetResult() interface{}
func (*UserPlatServiceUserFavoriteActionResult) GetSuccess ¶
func (p *UserPlatServiceUserFavoriteActionResult) GetSuccess() (v *FavoriteActionResponse)
func (*UserPlatServiceUserFavoriteActionResult) InitDefault ¶
func (p *UserPlatServiceUserFavoriteActionResult) InitDefault()
func (*UserPlatServiceUserFavoriteActionResult) IsSetSuccess ¶
func (p *UserPlatServiceUserFavoriteActionResult) IsSetSuccess() bool
func (*UserPlatServiceUserFavoriteActionResult) Read ¶
func (p *UserPlatServiceUserFavoriteActionResult) Read(iprot thrift.TProtocol) (err error)
func (*UserPlatServiceUserFavoriteActionResult) ReadField0 ¶
func (p *UserPlatServiceUserFavoriteActionResult) ReadField0(iprot thrift.TProtocol) error
func (*UserPlatServiceUserFavoriteActionResult) SetSuccess ¶
func (p *UserPlatServiceUserFavoriteActionResult) SetSuccess(x interface{})
func (*UserPlatServiceUserFavoriteActionResult) String ¶
func (p *UserPlatServiceUserFavoriteActionResult) String() string
type UserPlatServiceUserFavoriteListArgs ¶
type UserPlatServiceUserFavoriteListArgs struct {
Req *FavoriteListRequest `thrift:"Req,1" frugal:"1,default,FavoriteListRequest" json:"Req"`
}
func NewUserPlatServiceUserFavoriteListArgs ¶
func NewUserPlatServiceUserFavoriteListArgs() *UserPlatServiceUserFavoriteListArgs
func (*UserPlatServiceUserFavoriteListArgs) BLength ¶
func (p *UserPlatServiceUserFavoriteListArgs) BLength() int
func (*UserPlatServiceUserFavoriteListArgs) DeepEqual ¶
func (p *UserPlatServiceUserFavoriteListArgs) DeepEqual(ano *UserPlatServiceUserFavoriteListArgs) bool
func (*UserPlatServiceUserFavoriteListArgs) FastRead ¶
func (p *UserPlatServiceUserFavoriteListArgs) FastRead(buf []byte) (int, error)
func (*UserPlatServiceUserFavoriteListArgs) FastReadField1 ¶
func (p *UserPlatServiceUserFavoriteListArgs) FastReadField1(buf []byte) (int, error)
func (*UserPlatServiceUserFavoriteListArgs) FastWrite ¶
func (p *UserPlatServiceUserFavoriteListArgs) FastWrite(buf []byte) int
for compatibility
func (*UserPlatServiceUserFavoriteListArgs) FastWriteNocopy ¶
func (p *UserPlatServiceUserFavoriteListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserPlatServiceUserFavoriteListArgs) Field1DeepEqual ¶
func (p *UserPlatServiceUserFavoriteListArgs) Field1DeepEqual(src *FavoriteListRequest) bool
func (*UserPlatServiceUserFavoriteListArgs) GetFirstArgument ¶
func (p *UserPlatServiceUserFavoriteListArgs) GetFirstArgument() interface{}
func (*UserPlatServiceUserFavoriteListArgs) GetReq ¶
func (p *UserPlatServiceUserFavoriteListArgs) GetReq() (v *FavoriteListRequest)
func (*UserPlatServiceUserFavoriteListArgs) InitDefault ¶
func (p *UserPlatServiceUserFavoriteListArgs) InitDefault()
func (*UserPlatServiceUserFavoriteListArgs) IsSetReq ¶
func (p *UserPlatServiceUserFavoriteListArgs) IsSetReq() bool
func (*UserPlatServiceUserFavoriteListArgs) Read ¶
func (p *UserPlatServiceUserFavoriteListArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserPlatServiceUserFavoriteListArgs) ReadField1 ¶
func (p *UserPlatServiceUserFavoriteListArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserPlatServiceUserFavoriteListArgs) SetReq ¶
func (p *UserPlatServiceUserFavoriteListArgs) SetReq(val *FavoriteListRequest)
func (*UserPlatServiceUserFavoriteListArgs) String ¶
func (p *UserPlatServiceUserFavoriteListArgs) String() string
type UserPlatServiceUserFavoriteListResult ¶
type UserPlatServiceUserFavoriteListResult struct {
Success *FavoriteListResponse `thrift:"success,0,optional" frugal:"0,optional,FavoriteListResponse" json:"success,omitempty"`
}
func NewUserPlatServiceUserFavoriteListResult ¶
func NewUserPlatServiceUserFavoriteListResult() *UserPlatServiceUserFavoriteListResult
func (*UserPlatServiceUserFavoriteListResult) BLength ¶
func (p *UserPlatServiceUserFavoriteListResult) BLength() int
func (*UserPlatServiceUserFavoriteListResult) DeepEqual ¶
func (p *UserPlatServiceUserFavoriteListResult) DeepEqual(ano *UserPlatServiceUserFavoriteListResult) bool
func (*UserPlatServiceUserFavoriteListResult) FastRead ¶
func (p *UserPlatServiceUserFavoriteListResult) FastRead(buf []byte) (int, error)
func (*UserPlatServiceUserFavoriteListResult) FastReadField0 ¶
func (p *UserPlatServiceUserFavoriteListResult) FastReadField0(buf []byte) (int, error)
func (*UserPlatServiceUserFavoriteListResult) FastWrite ¶
func (p *UserPlatServiceUserFavoriteListResult) FastWrite(buf []byte) int
for compatibility
func (*UserPlatServiceUserFavoriteListResult) FastWriteNocopy ¶
func (p *UserPlatServiceUserFavoriteListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserPlatServiceUserFavoriteListResult) Field0DeepEqual ¶
func (p *UserPlatServiceUserFavoriteListResult) Field0DeepEqual(src *FavoriteListResponse) bool
func (*UserPlatServiceUserFavoriteListResult) GetResult ¶
func (p *UserPlatServiceUserFavoriteListResult) GetResult() interface{}
func (*UserPlatServiceUserFavoriteListResult) GetSuccess ¶
func (p *UserPlatServiceUserFavoriteListResult) GetSuccess() (v *FavoriteListResponse)
func (*UserPlatServiceUserFavoriteListResult) InitDefault ¶
func (p *UserPlatServiceUserFavoriteListResult) InitDefault()
func (*UserPlatServiceUserFavoriteListResult) IsSetSuccess ¶
func (p *UserPlatServiceUserFavoriteListResult) IsSetSuccess() bool
func (*UserPlatServiceUserFavoriteListResult) Read ¶
func (p *UserPlatServiceUserFavoriteListResult) Read(iprot thrift.TProtocol) (err error)
func (*UserPlatServiceUserFavoriteListResult) ReadField0 ¶
func (p *UserPlatServiceUserFavoriteListResult) ReadField0(iprot thrift.TProtocol) error
func (*UserPlatServiceUserFavoriteListResult) SetSuccess ¶
func (p *UserPlatServiceUserFavoriteListResult) SetSuccess(x interface{})
func (*UserPlatServiceUserFavoriteListResult) String ¶
func (p *UserPlatServiceUserFavoriteListResult) String() string
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:"PlayUrl,3" frugal:"3,default,string" json:"play_url"` CoverUrl string `thrift:"CoverUrl,4" frugal:"4,default,string" json:"cover_url"` FavoriteCount int64 `thrift:"FavoriteCount,5" frugal:"5,default,i64" json:"favorite_count"` CommentCount int64 `thrift:"CommentCount,6" frugal:"6,default,i64" json:"comment_count"` IsFavorite bool `thrift:"IsFavorite,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.