Versions in this module Expand all Collapse all v1 v1.1.0 Jul 18, 2022 Changes in this version + var CommentListArgs_Req_DEFAULT *comment.CommentListRequest + var CommentListResult_Success_DEFAULT *comment.CommentListResponse + var CreateCommentArgs_Req_DEFAULT *comment.CreateCommentRequest + var CreateCommentResult_Success_DEFAULT *comment.CreateCommentResponse + var DeleteCommentArgs_Req_DEFAULT *comment.DeleteCommentRequest + var DeleteCommentResult_Success_DEFAULT *comment.DeleteCommentResponse + 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 interface + CommentList func(ctx context.Context, Req *comment.CommentListRequest, ...) (r *comment.CommentListResponse, err error) + CreateComment func(ctx context.Context, Req *comment.CreateCommentRequest, ...) (r *comment.CreateCommentResponse, err error) + DeleteComment func(ctx context.Context, Req *comment.DeleteCommentRequest, ...) (r *comment.DeleteCommentResponse, err error) + func MustNewClient(destService string, opts ...client.Option) Client + func NewClient(destService string, opts ...client.Option) (Client, error) + type CommentListArgs struct + Req *comment.CommentListRequest + func (p *CommentListArgs) GetReq() *comment.CommentListRequest + func (p *CommentListArgs) IsSetReq() bool + func (p *CommentListArgs) Marshal(out []byte) ([]byte, error) + func (p *CommentListArgs) Unmarshal(in []byte) error + type CommentListResult struct + Success *comment.CommentListResponse + 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) Unmarshal(in []byte) error + type CreateCommentArgs struct + Req *comment.CreateCommentRequest + func (p *CreateCommentArgs) GetReq() *comment.CreateCommentRequest + func (p *CreateCommentArgs) IsSetReq() bool + func (p *CreateCommentArgs) Marshal(out []byte) ([]byte, error) + func (p *CreateCommentArgs) Unmarshal(in []byte) error + type CreateCommentResult struct + Success *comment.CreateCommentResponse + func (p *CreateCommentResult) GetSuccess() *comment.CreateCommentResponse + func (p *CreateCommentResult) IsSetSuccess() bool + func (p *CreateCommentResult) Marshal(out []byte) ([]byte, error) + func (p *CreateCommentResult) SetSuccess(x interface{}) + func (p *CreateCommentResult) Unmarshal(in []byte) error + type DeleteCommentArgs struct + Req *comment.DeleteCommentRequest + func (p *DeleteCommentArgs) GetReq() *comment.DeleteCommentRequest + func (p *DeleteCommentArgs) IsSetReq() bool + func (p *DeleteCommentArgs) Marshal(out []byte) ([]byte, error) + func (p *DeleteCommentArgs) Unmarshal(in []byte) error + type DeleteCommentResult struct + Success *comment.DeleteCommentResponse + func (p *DeleteCommentResult) GetSuccess() *comment.DeleteCommentResponse + func (p *DeleteCommentResult) IsSetSuccess() bool + func (p *DeleteCommentResult) Marshal(out []byte) ([]byte, error) + func (p *DeleteCommentResult) SetSuccess(x interface{}) + func (p *DeleteCommentResult) Unmarshal(in []byte) error