Documentation ¶
Index ¶
- type CommentServiceServer
- func (s *CommentServiceServer) Approve(ctx context.Context, in *comment.ApproveReq) (*comment.Comment, error)
- func (s *CommentServiceServer) Delete(ctx context.Context, in *comment.DeleteReq) (*comment.EmptyResp, error)
- func (s *CommentServiceServer) Get(ctx context.Context, in *comment.GetReq) (*comment.Comment, error)
- func (s *CommentServiceServer) List(ctx context.Context, in *comment.ListReq) (*comment.ListResp, error)
- func (s *CommentServiceServer) ListByBlog(ctx context.Context, in *comment.ListByBlogReq) (*comment.ListByBlogResp, error)
- func (s *CommentServiceServer) MarkAsSpam(ctx context.Context, in *comment.MarkAsSpamReq) (*comment.Comment, error)
- func (s *CommentServiceServer) RemoveContent(ctx context.Context, in *comment.RemoveContentReq) (*comment.Comment, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentServiceServer ¶
type CommentServiceServer struct { comment.UnimplementedCommentServiceServer // contains filtered or unexported fields }
func NewCommentServiceServer ¶
func NewCommentServiceServer(svcCtx *svc.ServiceContext) *CommentServiceServer
func (*CommentServiceServer) Approve ¶
func (s *CommentServiceServer) Approve(ctx context.Context, in *comment.ApproveReq) (*comment.Comment, error)
func (*CommentServiceServer) ListByBlog ¶
func (s *CommentServiceServer) ListByBlog(ctx context.Context, in *comment.ListByBlogReq) (*comment.ListByBlogResp, error)
func (*CommentServiceServer) MarkAsSpam ¶
func (s *CommentServiceServer) MarkAsSpam(ctx context.Context, in *comment.MarkAsSpamReq) (*comment.Comment, error)
func (*CommentServiceServer) RemoveContent ¶
func (s *CommentServiceServer) RemoveContent(ctx context.Context, in *comment.RemoveContentReq) (*comment.Comment, error)
Click to show internal directories.
Click to hide internal directories.