Documentation ¶
Overview ¶
Code generated by Kitex v0.6.2. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler comment.CommentService, opts ...server.Option) server.Invoker
- func NewServer(handler comment.CommentService, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type Client
- type CommentActionArgs
- func (p *CommentActionArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CommentActionArgs) FastWrite(buf []byte) (n int)
- func (p *CommentActionArgs) GetFirstArgument() interface{}
- func (p *CommentActionArgs) GetReq() *comment.CommentActionRequest
- func (p *CommentActionArgs) IsSetReq() bool
- func (p *CommentActionArgs) Marshal(out []byte) ([]byte, error)
- func (p *CommentActionArgs) Size() (n int)
- func (p *CommentActionArgs) Unmarshal(in []byte) error
- type CommentActionResult
- func (p *CommentActionResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CommentActionResult) FastWrite(buf []byte) (n int)
- func (p *CommentActionResult) GetResult() interface{}
- func (p *CommentActionResult) GetSuccess() *comment.CommentActionResponse
- func (p *CommentActionResult) IsSetSuccess() bool
- func (p *CommentActionResult) Marshal(out []byte) ([]byte, error)
- func (p *CommentActionResult) SetSuccess(x interface{})
- func (p *CommentActionResult) Size() (n int)
- func (p *CommentActionResult) Unmarshal(in []byte) error
- type CommentListArgs
- func (p *CommentListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CommentListArgs) FastWrite(buf []byte) (n int)
- func (p *CommentListArgs) GetFirstArgument() interface{}
- func (p *CommentListArgs) GetReq() *comment.CommentListRequest
- func (p *CommentListArgs) IsSetReq() bool
- func (p *CommentListArgs) Marshal(out []byte) ([]byte, error)
- func (p *CommentListArgs) Size() (n int)
- func (p *CommentListArgs) Unmarshal(in []byte) error
- type CommentListResult
- func (p *CommentListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CommentListResult) FastWrite(buf []byte) (n int)
- func (p *CommentListResult) GetResult() interface{}
- func (p *CommentListResult) GetSuccess() *comment.CommentListResponse
- func (p *CommentListResult) IsSetSuccess() bool
- func (p *CommentListResult) Marshal(out []byte) ([]byte, error)
- func (p *CommentListResult) SetSuccess(x interface{})
- func (p *CommentListResult) Size() (n int)
- func (p *CommentListResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CommentActionArgs_Req_DEFAULT *comment.CommentActionRequest
View Source
var CommentActionResult_Success_DEFAULT *comment.CommentActionResponse
View Source
var CommentListArgs_Req_DEFAULT *comment.CommentListRequest
View Source
var CommentListResult_Success_DEFAULT *comment.CommentListResponse
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.CommentActionRequest, callOptions ...callopt.Option) (r *comment.CommentActionResponse, err error) CommentList(ctx context.Context, Req *comment.CommentListRequest, callOptions ...callopt.Option) (r *comment.CommentListResponse, 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.CommentActionRequest
}
func (*CommentActionArgs) FastWrite ¶
func (p *CommentActionArgs) FastWrite(buf []byte) (n int)
func (*CommentActionArgs) GetFirstArgument ¶
func (p *CommentActionArgs) GetFirstArgument() interface{}
func (*CommentActionArgs) GetReq ¶
func (p *CommentActionArgs) GetReq() *comment.CommentActionRequest
func (*CommentActionArgs) IsSetReq ¶
func (p *CommentActionArgs) IsSetReq() bool
func (*CommentActionArgs) Size ¶
func (p *CommentActionArgs) Size() (n int)
func (*CommentActionArgs) Unmarshal ¶
func (p *CommentActionArgs) Unmarshal(in []byte) error
type CommentActionResult ¶
type CommentActionResult struct {
Success *comment.CommentActionResponse
}
func (*CommentActionResult) FastWrite ¶
func (p *CommentActionResult) FastWrite(buf []byte) (n int)
func (*CommentActionResult) GetResult ¶
func (p *CommentActionResult) GetResult() interface{}
func (*CommentActionResult) GetSuccess ¶
func (p *CommentActionResult) GetSuccess() *comment.CommentActionResponse
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) Size ¶
func (p *CommentActionResult) Size() (n int)
func (*CommentActionResult) Unmarshal ¶
func (p *CommentActionResult) Unmarshal(in []byte) error
type CommentListArgs ¶
type CommentListArgs struct {
Req *comment.CommentListRequest
}
func (*CommentListArgs) FastWrite ¶
func (p *CommentListArgs) FastWrite(buf []byte) (n int)
func (*CommentListArgs) GetFirstArgument ¶
func (p *CommentListArgs) GetFirstArgument() interface{}
func (*CommentListArgs) GetReq ¶
func (p *CommentListArgs) GetReq() *comment.CommentListRequest
func (*CommentListArgs) IsSetReq ¶
func (p *CommentListArgs) IsSetReq() bool
func (*CommentListArgs) Size ¶
func (p *CommentListArgs) Size() (n int)
func (*CommentListArgs) Unmarshal ¶
func (p *CommentListArgs) Unmarshal(in []byte) error
type CommentListResult ¶
type CommentListResult struct {
Success *comment.CommentListResponse
}
func (*CommentListResult) FastWrite ¶
func (p *CommentListResult) FastWrite(buf []byte) (n int)
func (*CommentListResult) GetResult ¶
func (p *CommentListResult) GetResult() interface{}
func (*CommentListResult) GetSuccess ¶
func (p *CommentListResult) GetSuccess() *comment.CommentListResponse
func (*CommentListResult) IsSetSuccess ¶
func (p *CommentListResult) IsSetSuccess() bool
func (*CommentListResult) SetSuccess ¶
func (p *CommentListResult) SetSuccess(x interface{})
func (*CommentListResult) Size ¶
func (p *CommentListResult) Size() (n int)
func (*CommentListResult) Unmarshal ¶
func (p *CommentListResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.