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) 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) 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 CommentService
- type CommentServiceClient
- func NewCommentServiceClient(c thrift.TClient) *CommentServiceClient
- func NewCommentServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *CommentServiceClient
- func NewCommentServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *CommentServiceClient
- func (p *CommentServiceClient) Client_() thrift.TClient
- func (p *CommentServiceClient) CommentAction(ctx context.Context, req *CommentActionRequest) (r *CommentActionResponse, err error)
- func (p *CommentServiceClient) CommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error)
- type CommentServiceCommentActionArgs
- func (p *CommentServiceCommentActionArgs) BLength() int
- func (p *CommentServiceCommentActionArgs) DeepEqual(ano *CommentServiceCommentActionArgs) bool
- func (p *CommentServiceCommentActionArgs) FastRead(buf []byte) (int, error)
- func (p *CommentServiceCommentActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *CommentServiceCommentActionArgs) FastWrite(buf []byte) int
- func (p *CommentServiceCommentActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CommentServiceCommentActionArgs) Field1DeepEqual(src *CommentActionRequest) bool
- func (p *CommentServiceCommentActionArgs) GetFirstArgument() interface{}
- func (p *CommentServiceCommentActionArgs) GetReq() (v *CommentActionRequest)
- func (p *CommentServiceCommentActionArgs) InitDefault()
- func (p *CommentServiceCommentActionArgs) IsSetReq() bool
- func (p *CommentServiceCommentActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentServiceCommentActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentServiceCommentActionArgs) SetReq(val *CommentActionRequest)
- func (p *CommentServiceCommentActionArgs) String() string
- func (p *CommentServiceCommentActionArgs) Write(oprot thrift.TProtocol) (err error)
- type CommentServiceCommentActionResult
- func (p *CommentServiceCommentActionResult) BLength() int
- func (p *CommentServiceCommentActionResult) DeepEqual(ano *CommentServiceCommentActionResult) bool
- func (p *CommentServiceCommentActionResult) FastRead(buf []byte) (int, error)
- func (p *CommentServiceCommentActionResult) FastReadField0(buf []byte) (int, error)
- func (p *CommentServiceCommentActionResult) FastWrite(buf []byte) int
- func (p *CommentServiceCommentActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CommentServiceCommentActionResult) Field0DeepEqual(src *CommentActionResponse) bool
- func (p *CommentServiceCommentActionResult) GetResult() interface{}
- func (p *CommentServiceCommentActionResult) GetSuccess() (v *CommentActionResponse)
- func (p *CommentServiceCommentActionResult) InitDefault()
- func (p *CommentServiceCommentActionResult) IsSetSuccess() bool
- func (p *CommentServiceCommentActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentServiceCommentActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CommentServiceCommentActionResult) SetSuccess(x interface{})
- func (p *CommentServiceCommentActionResult) String() string
- func (p *CommentServiceCommentActionResult) Write(oprot thrift.TProtocol) (err error)
- type CommentServiceCommentListArgs
- func (p *CommentServiceCommentListArgs) BLength() int
- func (p *CommentServiceCommentListArgs) DeepEqual(ano *CommentServiceCommentListArgs) bool
- func (p *CommentServiceCommentListArgs) FastRead(buf []byte) (int, error)
- func (p *CommentServiceCommentListArgs) FastReadField1(buf []byte) (int, error)
- func (p *CommentServiceCommentListArgs) FastWrite(buf []byte) int
- func (p *CommentServiceCommentListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CommentServiceCommentListArgs) Field1DeepEqual(src *CommentListRequest) bool
- func (p *CommentServiceCommentListArgs) GetFirstArgument() interface{}
- func (p *CommentServiceCommentListArgs) GetReq() (v *CommentListRequest)
- func (p *CommentServiceCommentListArgs) InitDefault()
- func (p *CommentServiceCommentListArgs) IsSetReq() bool
- func (p *CommentServiceCommentListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentServiceCommentListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentServiceCommentListArgs) SetReq(val *CommentListRequest)
- func (p *CommentServiceCommentListArgs) String() string
- func (p *CommentServiceCommentListArgs) Write(oprot thrift.TProtocol) (err error)
- type CommentServiceCommentListResult
- func (p *CommentServiceCommentListResult) BLength() int
- func (p *CommentServiceCommentListResult) DeepEqual(ano *CommentServiceCommentListResult) bool
- func (p *CommentServiceCommentListResult) FastRead(buf []byte) (int, error)
- func (p *CommentServiceCommentListResult) FastReadField0(buf []byte) (int, error)
- func (p *CommentServiceCommentListResult) FastWrite(buf []byte) int
- func (p *CommentServiceCommentListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CommentServiceCommentListResult) Field0DeepEqual(src *CommentListResponse) bool
- func (p *CommentServiceCommentListResult) GetResult() interface{}
- func (p *CommentServiceCommentListResult) GetSuccess() (v *CommentListResponse)
- func (p *CommentServiceCommentListResult) InitDefault()
- func (p *CommentServiceCommentListResult) IsSetSuccess() bool
- func (p *CommentServiceCommentListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentServiceCommentListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CommentServiceCommentListResult) SetSuccess(x interface{})
- func (p *CommentServiceCommentListResult) String() string
- func (p *CommentServiceCommentListResult) Write(oprot thrift.TProtocol) (err error)
- type CommentServiceProcessor
- func (p *CommentServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *CommentServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *CommentServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *CommentServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type User
- func (p *User) BLength() int
- func (p *User) DeepEqual(ano *User) bool
- func (p *User) FastRead(buf []byte) (int, error)
- func (p *User) FastReadField1(buf []byte) (int, error)
- func (p *User) FastReadField10(buf []byte) (int, error)
- func (p *User) FastReadField11(buf []byte) (int, error)
- func (p *User) FastReadField2(buf []byte) (int, error)
- func (p *User) FastReadField3(buf []byte) (int, error)
- func (p *User) FastReadField4(buf []byte) (int, error)
- func (p *User) FastReadField5(buf []byte) (int, error)
- func (p *User) FastReadField6(buf []byte) (int, error)
- func (p *User) FastReadField7(buf []byte) (int, error)
- func (p *User) FastReadField8(buf []byte) (int, error)
- func (p *User) FastReadField9(buf []byte) (int, error)
- func (p *User) FastWrite(buf []byte) int
- func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *User) Field10DeepEqual(src int64) bool
- func (p *User) Field11DeepEqual(src int64) bool
- func (p *User) Field1DeepEqual(src int64) bool
- func (p *User) Field2DeepEqual(src string) bool
- func (p *User) Field3DeepEqual(src int64) bool
- func (p *User) Field4DeepEqual(src int64) bool
- func (p *User) Field5DeepEqual(src bool) bool
- func (p *User) Field6DeepEqual(src string) bool
- func (p *User) Field7DeepEqual(src string) bool
- func (p *User) Field8DeepEqual(src string) bool
- func (p *User) Field9DeepEqual(src int64) bool
- func (p *User) GetAvatar() (v string)
- func (p *User) GetBackgroundImage() (v string)
- func (p *User) GetFavoriteCount() (v int64)
- func (p *User) GetFollowCount() (v int64)
- func (p *User) GetFollowerCount() (v int64)
- func (p *User) GetId() (v int64)
- func (p *User) GetIsFollow() (v bool)
- func (p *User) GetName() (v string)
- func (p *User) GetSignature() (v string)
- func (p *User) GetTotalFavorited() (v int64)
- func (p *User) GetWorkCount() (v int64)
- func (p *User) InitDefault()
- func (p *User) Read(iprot thrift.TProtocol) (err error)
- func (p *User) ReadField1(iprot thrift.TProtocol) error
- func (p *User) ReadField10(iprot thrift.TProtocol) error
- func (p *User) ReadField11(iprot thrift.TProtocol) error
- func (p *User) ReadField2(iprot thrift.TProtocol) error
- func (p *User) ReadField3(iprot thrift.TProtocol) error
- func (p *User) ReadField4(iprot thrift.TProtocol) error
- func (p *User) ReadField5(iprot thrift.TProtocol) error
- func (p *User) ReadField6(iprot thrift.TProtocol) error
- func (p *User) ReadField7(iprot thrift.TProtocol) error
- func (p *User) ReadField8(iprot thrift.TProtocol) error
- func (p *User) ReadField9(iprot thrift.TProtocol) error
- func (p *User) SetAvatar(val string)
- func (p *User) SetBackgroundImage(val string)
- func (p *User) SetFavoriteCount(val int64)
- func (p *User) SetFollowCount(val int64)
- func (p *User) SetFollowerCount(val int64)
- func (p *User) SetId(val int64)
- func (p *User) SetIsFollow(val bool)
- func (p *User) SetName(val string)
- func (p *User) SetSignature(val string)
- func (p *User) SetTotalFavorited(val int64)
- func (p *User) SetWorkCount(val int64)
- func (p *User) String() string
- func (p *User) Write(oprot thrift.TProtocol) (err error)
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 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 `thrift:"user,2" frugal:"2,default,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) 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:"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,optional" frugal:"4,optional,string" json:"comment_text,omitempty"` CommentId *int64 `thrift:"comment_id,5,optional" frugal:"5,optional,i64" json:"comment_id,omitempty"` }
var CommentServiceCommentActionArgs_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) 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,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` Comment *Comment `thrift:"comment,3,optional" frugal:"3,optional,Comment" json:"comment,omitempty"` }
var CommentServiceCommentActionResult_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:"video_id,2" frugal:"2,default,i64" json:"video_id"` }
var CommentServiceCommentListArgs_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,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` CommentList []*Comment `thrift:"comment_list,3" frugal:"3,default,list<Comment>" json:"comment_list"` }
var CommentServiceCommentListResult_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 CommentService ¶
type CommentService interface { CommentAction(ctx context.Context, req *CommentActionRequest) (r *CommentActionResponse, err error) CommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error) }
type CommentServiceClient ¶
type CommentServiceClient struct {
// contains filtered or unexported fields
}
func NewCommentServiceClient ¶
func NewCommentServiceClient(c thrift.TClient) *CommentServiceClient
func NewCommentServiceClientFactory ¶
func NewCommentServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *CommentServiceClient
func NewCommentServiceClientProtocol ¶
func NewCommentServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *CommentServiceClient
func (*CommentServiceClient) Client_ ¶
func (p *CommentServiceClient) Client_() thrift.TClient
func (*CommentServiceClient) CommentAction ¶
func (p *CommentServiceClient) CommentAction(ctx context.Context, req *CommentActionRequest) (r *CommentActionResponse, err error)
func (*CommentServiceClient) CommentList ¶
func (p *CommentServiceClient) CommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error)
type CommentServiceCommentActionArgs ¶
type CommentServiceCommentActionArgs struct {
Req *CommentActionRequest `thrift:"req,1" frugal:"1,default,CommentActionRequest" json:"req"`
}
func NewCommentServiceCommentActionArgs ¶
func NewCommentServiceCommentActionArgs() *CommentServiceCommentActionArgs
func (*CommentServiceCommentActionArgs) BLength ¶
func (p *CommentServiceCommentActionArgs) BLength() int
func (*CommentServiceCommentActionArgs) DeepEqual ¶
func (p *CommentServiceCommentActionArgs) DeepEqual(ano *CommentServiceCommentActionArgs) bool
func (*CommentServiceCommentActionArgs) FastRead ¶
func (p *CommentServiceCommentActionArgs) FastRead(buf []byte) (int, error)
func (*CommentServiceCommentActionArgs) FastReadField1 ¶
func (p *CommentServiceCommentActionArgs) FastReadField1(buf []byte) (int, error)
func (*CommentServiceCommentActionArgs) FastWrite ¶
func (p *CommentServiceCommentActionArgs) FastWrite(buf []byte) int
for compatibility
func (*CommentServiceCommentActionArgs) FastWriteNocopy ¶
func (p *CommentServiceCommentActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CommentServiceCommentActionArgs) Field1DeepEqual ¶
func (p *CommentServiceCommentActionArgs) Field1DeepEqual(src *CommentActionRequest) bool
func (*CommentServiceCommentActionArgs) GetFirstArgument ¶
func (p *CommentServiceCommentActionArgs) GetFirstArgument() interface{}
func (*CommentServiceCommentActionArgs) GetReq ¶
func (p *CommentServiceCommentActionArgs) GetReq() (v *CommentActionRequest)
func (*CommentServiceCommentActionArgs) InitDefault ¶
func (p *CommentServiceCommentActionArgs) InitDefault()
func (*CommentServiceCommentActionArgs) IsSetReq ¶
func (p *CommentServiceCommentActionArgs) IsSetReq() bool
func (*CommentServiceCommentActionArgs) Read ¶
func (p *CommentServiceCommentActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*CommentServiceCommentActionArgs) ReadField1 ¶
func (p *CommentServiceCommentActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*CommentServiceCommentActionArgs) SetReq ¶
func (p *CommentServiceCommentActionArgs) SetReq(val *CommentActionRequest)
func (*CommentServiceCommentActionArgs) String ¶
func (p *CommentServiceCommentActionArgs) String() string
type CommentServiceCommentActionResult ¶
type CommentServiceCommentActionResult struct {
Success *CommentActionResponse `thrift:"success,0,optional" frugal:"0,optional,CommentActionResponse" json:"success,omitempty"`
}
func NewCommentServiceCommentActionResult ¶
func NewCommentServiceCommentActionResult() *CommentServiceCommentActionResult
func (*CommentServiceCommentActionResult) BLength ¶
func (p *CommentServiceCommentActionResult) BLength() int
func (*CommentServiceCommentActionResult) DeepEqual ¶
func (p *CommentServiceCommentActionResult) DeepEqual(ano *CommentServiceCommentActionResult) bool
func (*CommentServiceCommentActionResult) FastRead ¶
func (p *CommentServiceCommentActionResult) FastRead(buf []byte) (int, error)
func (*CommentServiceCommentActionResult) FastReadField0 ¶
func (p *CommentServiceCommentActionResult) FastReadField0(buf []byte) (int, error)
func (*CommentServiceCommentActionResult) FastWrite ¶
func (p *CommentServiceCommentActionResult) FastWrite(buf []byte) int
for compatibility
func (*CommentServiceCommentActionResult) FastWriteNocopy ¶
func (p *CommentServiceCommentActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CommentServiceCommentActionResult) Field0DeepEqual ¶
func (p *CommentServiceCommentActionResult) Field0DeepEqual(src *CommentActionResponse) bool
func (*CommentServiceCommentActionResult) GetResult ¶
func (p *CommentServiceCommentActionResult) GetResult() interface{}
func (*CommentServiceCommentActionResult) GetSuccess ¶
func (p *CommentServiceCommentActionResult) GetSuccess() (v *CommentActionResponse)
func (*CommentServiceCommentActionResult) InitDefault ¶
func (p *CommentServiceCommentActionResult) InitDefault()
func (*CommentServiceCommentActionResult) IsSetSuccess ¶
func (p *CommentServiceCommentActionResult) IsSetSuccess() bool
func (*CommentServiceCommentActionResult) Read ¶
func (p *CommentServiceCommentActionResult) Read(iprot thrift.TProtocol) (err error)
func (*CommentServiceCommentActionResult) ReadField0 ¶
func (p *CommentServiceCommentActionResult) ReadField0(iprot thrift.TProtocol) error
func (*CommentServiceCommentActionResult) SetSuccess ¶
func (p *CommentServiceCommentActionResult) SetSuccess(x interface{})
func (*CommentServiceCommentActionResult) String ¶
func (p *CommentServiceCommentActionResult) String() string
type CommentServiceCommentListArgs ¶
type CommentServiceCommentListArgs struct {
Req *CommentListRequest `thrift:"req,1" frugal:"1,default,CommentListRequest" json:"req"`
}
func NewCommentServiceCommentListArgs ¶
func NewCommentServiceCommentListArgs() *CommentServiceCommentListArgs
func (*CommentServiceCommentListArgs) BLength ¶
func (p *CommentServiceCommentListArgs) BLength() int
func (*CommentServiceCommentListArgs) DeepEqual ¶
func (p *CommentServiceCommentListArgs) DeepEqual(ano *CommentServiceCommentListArgs) bool
func (*CommentServiceCommentListArgs) FastRead ¶
func (p *CommentServiceCommentListArgs) FastRead(buf []byte) (int, error)
func (*CommentServiceCommentListArgs) FastReadField1 ¶
func (p *CommentServiceCommentListArgs) FastReadField1(buf []byte) (int, error)
func (*CommentServiceCommentListArgs) FastWrite ¶
func (p *CommentServiceCommentListArgs) FastWrite(buf []byte) int
for compatibility
func (*CommentServiceCommentListArgs) FastWriteNocopy ¶
func (p *CommentServiceCommentListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CommentServiceCommentListArgs) Field1DeepEqual ¶
func (p *CommentServiceCommentListArgs) Field1DeepEqual(src *CommentListRequest) bool
func (*CommentServiceCommentListArgs) GetFirstArgument ¶
func (p *CommentServiceCommentListArgs) GetFirstArgument() interface{}
func (*CommentServiceCommentListArgs) GetReq ¶
func (p *CommentServiceCommentListArgs) GetReq() (v *CommentListRequest)
func (*CommentServiceCommentListArgs) InitDefault ¶
func (p *CommentServiceCommentListArgs) InitDefault()
func (*CommentServiceCommentListArgs) IsSetReq ¶
func (p *CommentServiceCommentListArgs) IsSetReq() bool
func (*CommentServiceCommentListArgs) Read ¶
func (p *CommentServiceCommentListArgs) Read(iprot thrift.TProtocol) (err error)
func (*CommentServiceCommentListArgs) ReadField1 ¶
func (p *CommentServiceCommentListArgs) ReadField1(iprot thrift.TProtocol) error
func (*CommentServiceCommentListArgs) SetReq ¶
func (p *CommentServiceCommentListArgs) SetReq(val *CommentListRequest)
func (*CommentServiceCommentListArgs) String ¶
func (p *CommentServiceCommentListArgs) String() string
type CommentServiceCommentListResult ¶
type CommentServiceCommentListResult struct {
Success *CommentListResponse `thrift:"success,0,optional" frugal:"0,optional,CommentListResponse" json:"success,omitempty"`
}
func NewCommentServiceCommentListResult ¶
func NewCommentServiceCommentListResult() *CommentServiceCommentListResult
func (*CommentServiceCommentListResult) BLength ¶
func (p *CommentServiceCommentListResult) BLength() int
func (*CommentServiceCommentListResult) DeepEqual ¶
func (p *CommentServiceCommentListResult) DeepEqual(ano *CommentServiceCommentListResult) bool
func (*CommentServiceCommentListResult) FastRead ¶
func (p *CommentServiceCommentListResult) FastRead(buf []byte) (int, error)
func (*CommentServiceCommentListResult) FastReadField0 ¶
func (p *CommentServiceCommentListResult) FastReadField0(buf []byte) (int, error)
func (*CommentServiceCommentListResult) FastWrite ¶
func (p *CommentServiceCommentListResult) FastWrite(buf []byte) int
for compatibility
func (*CommentServiceCommentListResult) FastWriteNocopy ¶
func (p *CommentServiceCommentListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*CommentServiceCommentListResult) Field0DeepEqual ¶
func (p *CommentServiceCommentListResult) Field0DeepEqual(src *CommentListResponse) bool
func (*CommentServiceCommentListResult) GetResult ¶
func (p *CommentServiceCommentListResult) GetResult() interface{}
func (*CommentServiceCommentListResult) GetSuccess ¶
func (p *CommentServiceCommentListResult) GetSuccess() (v *CommentListResponse)
func (*CommentServiceCommentListResult) InitDefault ¶
func (p *CommentServiceCommentListResult) InitDefault()
func (*CommentServiceCommentListResult) IsSetSuccess ¶
func (p *CommentServiceCommentListResult) IsSetSuccess() bool
func (*CommentServiceCommentListResult) Read ¶
func (p *CommentServiceCommentListResult) Read(iprot thrift.TProtocol) (err error)
func (*CommentServiceCommentListResult) ReadField0 ¶
func (p *CommentServiceCommentListResult) ReadField0(iprot thrift.TProtocol) error
func (*CommentServiceCommentListResult) SetSuccess ¶
func (p *CommentServiceCommentListResult) SetSuccess(x interface{})
func (*CommentServiceCommentListResult) String ¶
func (p *CommentServiceCommentListResult) String() string
type CommentServiceProcessor ¶
type CommentServiceProcessor struct {
// contains filtered or unexported fields
}
func NewCommentServiceProcessor ¶
func NewCommentServiceProcessor(handler CommentService) *CommentServiceProcessor
func (*CommentServiceProcessor) AddToProcessorMap ¶
func (p *CommentServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*CommentServiceProcessor) GetProcessorFunction ¶
func (p *CommentServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*CommentServiceProcessor) Process ¶
func (p *CommentServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*CommentServiceProcessor) ProcessorMap ¶
func (p *CommentServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type User ¶
type User struct { Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"` Name string `thrift:"name,2" frugal:"2,default,string" json:"name"` FollowCount int64 `thrift:"follow_count,3" frugal:"3,default,i64" json:"follow_count"` FollowerCount int64 `thrift:"follower_count,4" frugal:"4,default,i64" json:"follower_count"` IsFollow bool `thrift:"is_follow,5" frugal:"5,default,bool" json:"is_follow"` Avatar string `thrift:"avatar,6" frugal:"6,default,string" json:"avatar"` BackgroundImage string `thrift:"background_image,7" frugal:"7,default,string" json:"background_image"` Signature string `thrift:"signature,8" frugal:"8,default,string" json:"signature"` TotalFavorited int64 `thrift:"total_favorited,9" frugal:"9,default,i64" json:"total_favorited"` WorkCount int64 `thrift:"work_count,10" frugal:"10,default,i64" json:"work_count"` FavoriteCount int64 `thrift:"favorite_count,11" frugal:"11,default,i64" json:"favorite_count"` }
var Comment_User_DEFAULT *User
func (*User) FastWriteNocopy ¶
func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*User) Field10DeepEqual ¶
func (*User) Field11DeepEqual ¶
func (*User) Field1DeepEqual ¶
func (*User) Field2DeepEqual ¶
func (*User) Field3DeepEqual ¶
func (*User) Field4DeepEqual ¶
func (*User) Field5DeepEqual ¶
func (*User) Field6DeepEqual ¶
func (*User) Field7DeepEqual ¶
func (*User) Field8DeepEqual ¶
func (*User) Field9DeepEqual ¶
func (*User) GetBackgroundImage ¶
func (*User) GetFavoriteCount ¶
func (*User) GetFollowCount ¶
func (*User) GetFollowerCount ¶
func (*User) GetIsFollow ¶
func (*User) GetSignature ¶
func (*User) GetTotalFavorited ¶
func (*User) GetWorkCount ¶
func (*User) InitDefault ¶
func (p *User) InitDefault()
func (*User) SetBackgroundImage ¶
func (*User) SetFavoriteCount ¶
func (*User) SetFollowCount ¶
func (*User) SetFollowerCount ¶
func (*User) SetIsFollow ¶
func (*User) SetSignature ¶
func (*User) SetTotalFavorited ¶
func (*User) SetWorkCount ¶
Click to show internal directories.
Click to hide internal directories.