Documentation ¶
Index ¶
- Variables
- 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 int64) 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) GetUserId() (v int64)
- 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) SetUserId(val int64)
- 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) FastWrite(buf []byte) int
- func (p *CommentActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CommentActionResponse) Field1DeepEqual(src *rpcmodel.Comment) bool
- func (p *CommentActionResponse) GetComment() (v *rpcmodel.Comment)
- func (p *CommentActionResponse) InitDefault()
- func (p *CommentActionResponse) IsSetComment() bool
- func (p *CommentActionResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentActionResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentActionResponse) SetComment(val *rpcmodel.Comment)
- 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 int64) bool
- func (p *CommentListRequest) Field2DeepEqual(src int64) bool
- func (p *CommentListRequest) GetUserViewId() (v int64)
- 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) SetUserViewId(val int64)
- 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) FastWrite(buf []byte) int
- func (p *CommentListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CommentListResponse) Field1DeepEqual(src []*rpcmodel.Comment) bool
- func (p *CommentListResponse) GetCommentList() (v []*rpcmodel.Comment)
- func (p *CommentListResponse) InitDefault()
- func (p *CommentListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentListResponse) SetCommentList(val []*rpcmodel.Comment)
- 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
Constants ¶
This section is empty.
Variables ¶
View Source
var CommentActionRequest_CommentId_DEFAULT int64
View Source
var CommentActionRequest_CommentText_DEFAULT string
View Source
var CommentActionResponse_Comment_DEFAULT *rpcmodel.Comment
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type CommentActionRequest ¶
type CommentActionRequest struct { VideoId int64 `thrift:"VideoId,1,required" frugal:"1,required,i64" json:"VideoId"` UserId int64 `thrift:"UserId,2,required" frugal:"2,required,i64" json:"UserId"` ActionType int32 `thrift:"ActionType,3,required" frugal:"3,required,i32" json:"ActionType"` CommentText *string `thrift:"CommentText,4,optional" frugal:"4,optional,string" json:"CommentText,omitempty"` CommentId *int64 `thrift:"CommentId,5,optional" frugal:"5,optional,i64" json:"CommentId,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 int64) 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) GetUserId ¶
func (p *CommentActionRequest) GetUserId() (v int64)
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) SetUserId ¶
func (p *CommentActionRequest) SetUserId(val int64)
func (*CommentActionRequest) SetVideoId ¶
func (p *CommentActionRequest) SetVideoId(val int64)
func (*CommentActionRequest) String ¶
func (p *CommentActionRequest) String() string
type CommentActionResponse ¶
type CommentActionResponse struct {
Comment *rpcmodel.Comment `thrift:"Comment,1,optional" frugal:"1,optional,rpcmodel.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) 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 *rpcmodel.Comment) bool
func (*CommentActionResponse) GetComment ¶
func (p *CommentActionResponse) GetComment() (v *rpcmodel.Comment)
func (*CommentActionResponse) InitDefault ¶
func (p *CommentActionResponse) InitDefault()
func (*CommentActionResponse) IsSetComment ¶
func (p *CommentActionResponse) IsSetComment() bool
func (*CommentActionResponse) Read ¶
func (p *CommentActionResponse) Read(iprot thrift.TProtocol) (err error)
func (*CommentActionResponse) ReadField1 ¶
func (p *CommentActionResponse) ReadField1(iprot thrift.TProtocol) error
func (*CommentActionResponse) SetComment ¶
func (p *CommentActionResponse) SetComment(val *rpcmodel.Comment)
func (*CommentActionResponse) String ¶
func (p *CommentActionResponse) String() string
type CommentListRequest ¶
type CommentListRequest struct { VideoId int64 `thrift:"VideoId,1,required" frugal:"1,required,i64" json:"VideoId"` UserViewId int64 `thrift:"UserViewId,2,required" frugal:"2,required,i64" json:"UserViewId"` }
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 ¶ added in v0.0.2
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 int64) bool
func (*CommentListRequest) Field2DeepEqual ¶ added in v0.0.2
func (p *CommentListRequest) Field2DeepEqual(src int64) bool
func (*CommentListRequest) GetUserViewId ¶ added in v0.0.2
func (p *CommentListRequest) GetUserViewId() (v int64)
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 ¶ added in v0.0.2
func (p *CommentListRequest) ReadField2(iprot thrift.TProtocol) error
func (*CommentListRequest) SetUserViewId ¶ added in v0.0.2
func (p *CommentListRequest) SetUserViewId(val int64)
func (*CommentListRequest) SetVideoId ¶
func (p *CommentListRequest) SetVideoId(val int64)
func (*CommentListRequest) String ¶
func (p *CommentListRequest) String() string
type CommentListResponse ¶
type CommentListResponse struct {
CommentList []*rpcmodel.Comment `thrift:"CommentList,1,required" frugal:"1,required,list<rpcmodel.Comment>" json:"CommentList"`
}
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) 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 []*rpcmodel.Comment) bool
func (*CommentListResponse) GetCommentList ¶
func (p *CommentListResponse) GetCommentList() (v []*rpcmodel.Comment)
func (*CommentListResponse) InitDefault ¶
func (p *CommentListResponse) InitDefault()
func (*CommentListResponse) Read ¶
func (p *CommentListResponse) Read(iprot thrift.TProtocol) (err error)
func (*CommentListResponse) ReadField1 ¶
func (p *CommentListResponse) ReadField1(iprot thrift.TProtocol) error
func (*CommentListResponse) SetCommentList ¶
func (p *CommentListResponse) SetCommentList(val []*rpcmodel.Comment)
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
Click to show internal directories.
Click to hide internal directories.