Documentation ¶
Index ¶
- type CommentServerImpl
- func (s *CommentServerImpl) CountCommentByParent(ctx context.Context, req *comment.CountCommentByParentReq) (res *comment.CountCommentByParentResp, err error)
- func (s *CommentServerImpl) CreateComment(ctx context.Context, req *comment.CreateCommentReq) (res *comment.CreateCommentResp, err error)
- func (s *CommentServerImpl) DeleteComment(ctx context.Context, req *comment.DeleteCommentByIdReq) (res *comment.DeleteCommentByIdResp, err error)
- func (s *CommentServerImpl) ListCommentByAuthorIdAndType(ctx context.Context, req *comment.ListCommentByAuthorIdAndTypeReq) (res *comment.ListCommentByAuthorIdAndTypeResp, err error)
- func (s *CommentServerImpl) ListCommentByParent(ctx context.Context, req *comment.ListCommentByParentReq) (res *comment.ListCommentByParentResp, err error)
- func (s *CommentServerImpl) ListCommentByReplyToAndType(ctx context.Context, req *comment.ListCommentByReplyToAndTypeReq) (res *comment.ListCommentByReplyToAndTypeResp, err error)
- func (s *CommentServerImpl) RetrieveCommentById(ctx context.Context, req *comment.RetrieveCommentByIdReq) (res *comment.RetrieveCommentByIdResp, err error)
- func (s *CommentServerImpl) UpdateComment(ctx context.Context, req *comment.UpdateCommentReq) (res *comment.UpdateCommentResp, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentServerImpl ¶
type CommentServerImpl struct { *config.Config CommentService service.ICommentService }
func (*CommentServerImpl) CountCommentByParent ¶
func (s *CommentServerImpl) CountCommentByParent(ctx context.Context, req *comment.CountCommentByParentReq) (res *comment.CountCommentByParentResp, err error)
func (*CommentServerImpl) CreateComment ¶
func (s *CommentServerImpl) CreateComment(ctx context.Context, req *comment.CreateCommentReq) (res *comment.CreateCommentResp, err error)
func (*CommentServerImpl) DeleteComment ¶
func (s *CommentServerImpl) DeleteComment(ctx context.Context, req *comment.DeleteCommentByIdReq) (res *comment.DeleteCommentByIdResp, err error)
func (*CommentServerImpl) ListCommentByAuthorIdAndType ¶
func (s *CommentServerImpl) ListCommentByAuthorIdAndType(ctx context.Context, req *comment.ListCommentByAuthorIdAndTypeReq) (res *comment.ListCommentByAuthorIdAndTypeResp, err error)
func (*CommentServerImpl) ListCommentByParent ¶
func (s *CommentServerImpl) ListCommentByParent(ctx context.Context, req *comment.ListCommentByParentReq) (res *comment.ListCommentByParentResp, err error)
func (*CommentServerImpl) ListCommentByReplyToAndType ¶
func (s *CommentServerImpl) ListCommentByReplyToAndType(ctx context.Context, req *comment.ListCommentByReplyToAndTypeReq) (res *comment.ListCommentByReplyToAndTypeResp, err error)
func (*CommentServerImpl) RetrieveCommentById ¶
func (s *CommentServerImpl) RetrieveCommentById(ctx context.Context, req *comment.RetrieveCommentByIdReq) (res *comment.RetrieveCommentByIdResp, err error)
func (*CommentServerImpl) UpdateComment ¶
func (s *CommentServerImpl) UpdateComment(ctx context.Context, req *comment.UpdateCommentReq) (res *comment.UpdateCommentResp, err error)
Click to show internal directories.
Click to hide internal directories.