Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApproveLogic ¶
func NewApproveLogic ¶
func NewApproveLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ApproveLogic
func (*ApproveLogic) Approve ¶
func (l *ApproveLogic) Approve(in *comment.ApproveReq) (*comment.Comment, error)
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
type GetLogic ¶
func NewGetLogic ¶
func NewGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetLogic
type ListByBlogLogic ¶
func NewListByBlogLogic ¶
func NewListByBlogLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListByBlogLogic
func (*ListByBlogLogic) ListByBlog ¶
func (l *ListByBlogLogic) ListByBlog(in *comment.ListByBlogReq) (*comment.ListByBlogResp, error)
type ListLogic ¶
func NewListLogic ¶
func NewListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListLogic
type MarkAsSpamLogic ¶
func NewMarkAsSpamLogic ¶
func NewMarkAsSpamLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MarkAsSpamLogic
func (*MarkAsSpamLogic) MarkAsSpam ¶
func (l *MarkAsSpamLogic) MarkAsSpam(in *comment.MarkAsSpamReq) (*comment.Comment, error)
type RemoveContentLogic ¶
func NewRemoveContentLogic ¶
func NewRemoveContentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RemoveContentLogic
func (*RemoveContentLogic) RemoveContent ¶
func (l *RemoveContentLogic) RemoveContent(in *comment.RemoveContentReq) (*comment.Comment, error)
Click to show internal directories.
Click to hide internal directories.