Documentation ¶
Overview ¶
Code generated by Kitex v0.3.2. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler comment.CommentSrv, opts ...server.Option) server.Invoker
- func NewServer(handler comment.CommentSrv, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type Client
- type CommentActionArgs
- type CommentActionResult
- func (p *CommentActionResult) GetSuccess() *comment.DouyinCommentActionResponse
- func (p *CommentActionResult) IsSetSuccess() bool
- func (p *CommentActionResult) Marshal(out []byte) ([]byte, error)
- func (p *CommentActionResult) SetSuccess(x interface{})
- func (p *CommentActionResult) Unmarshal(in []byte) error
- type CommentListArgs
- type CommentListResult
Constants ¶
This section is empty.
Variables ¶
View Source
var CommentActionArgs_Req_DEFAULT *comment.DouyinCommentActionRequest
View Source
var CommentActionResult_Success_DEFAULT *comment.DouyinCommentActionResponse
View Source
var CommentListArgs_Req_DEFAULT *comment.DouyinCommentListRequest
View Source
var CommentListResult_Success_DEFAULT *comment.DouyinCommentListResponse
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type Client ¶
type Client interface { CommentAction(ctx context.Context, Req *comment.DouyinCommentActionRequest, callOptions ...callopt.Option) (r *comment.DouyinCommentActionResponse, err error) CommentList(ctx context.Context, Req *comment.DouyinCommentListRequest, callOptions ...callopt.Option) (r *comment.DouyinCommentListResponse, err error) }
Client is designed to provide IDL-compatible methods with call-option parameter for kitex framework.
func MustNewClient ¶
MustNewClient creates a client for the service defined in IDL. It panics if any error occurs.
type CommentActionArgs ¶
type CommentActionArgs struct {
Req *comment.DouyinCommentActionRequest
}
func (*CommentActionArgs) GetReq ¶
func (p *CommentActionArgs) GetReq() *comment.DouyinCommentActionRequest
func (*CommentActionArgs) IsSetReq ¶
func (p *CommentActionArgs) IsSetReq() bool
func (*CommentActionArgs) Unmarshal ¶
func (p *CommentActionArgs) Unmarshal(in []byte) error
type CommentActionResult ¶
type CommentActionResult struct {
Success *comment.DouyinCommentActionResponse
}
func (*CommentActionResult) GetSuccess ¶
func (p *CommentActionResult) GetSuccess() *comment.DouyinCommentActionResponse
func (*CommentActionResult) IsSetSuccess ¶
func (p *CommentActionResult) IsSetSuccess() bool
func (*CommentActionResult) Marshal ¶
func (p *CommentActionResult) Marshal(out []byte) ([]byte, error)
func (*CommentActionResult) SetSuccess ¶
func (p *CommentActionResult) SetSuccess(x interface{})
func (*CommentActionResult) Unmarshal ¶
func (p *CommentActionResult) Unmarshal(in []byte) error
type CommentListArgs ¶
type CommentListArgs struct {
Req *comment.DouyinCommentListRequest
}
func (*CommentListArgs) GetReq ¶
func (p *CommentListArgs) GetReq() *comment.DouyinCommentListRequest
func (*CommentListArgs) IsSetReq ¶
func (p *CommentListArgs) IsSetReq() bool
func (*CommentListArgs) Unmarshal ¶
func (p *CommentListArgs) Unmarshal(in []byte) error
type CommentListResult ¶
type CommentListResult struct {
Success *comment.DouyinCommentListResponse
}
func (*CommentListResult) GetSuccess ¶
func (p *CommentListResult) GetSuccess() *comment.DouyinCommentListResponse
func (*CommentListResult) IsSetSuccess ¶
func (p *CommentListResult) IsSetSuccess() bool
func (*CommentListResult) SetSuccess ¶
func (p *CommentListResult) SetSuccess(x interface{})
func (*CommentListResult) Unmarshal ¶
func (p *CommentListResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.