Documentation ¶
Index ¶
- Variables
- type CommentService
- func (s *CommentService) AddCommentContentReviewDbAndCache(ctx context.Context, req *v1.AddCommentContentReviewDbAndCacheReq) (*emptypb.Empty, error)
- func (s *CommentService) CancelCommentAgree(ctx context.Context, req *v1.CancelCommentAgreeReq) (*emptypb.Empty, error)
- func (s *CommentService) CancelCommentAgreeDbAndCache(ctx context.Context, req *v1.CancelCommentAgreeReq) (*emptypb.Empty, error)
- func (s *CommentService) CancelSubCommentAgree(ctx context.Context, req *v1.CancelSubCommentAgreeReq) (*emptypb.Empty, error)
- func (s *CommentService) CancelSubCommentAgreeDbAndCache(ctx context.Context, req *v1.CancelSubCommentAgreeReq) (*emptypb.Empty, error)
- func (s *CommentService) CommentContentIrregular(ctx context.Context, req *v1.CommentContentIrregularReq) (*emptypb.Empty, error)
- func (s *CommentService) CreateComment(ctx context.Context, req *v1.CreateCommentReq) (*emptypb.Empty, error)
- func (s *CommentService) CreateCommentDbAndCache(ctx context.Context, req *v1.CreateCommentDbAndCacheReq) (*v1.CreateCommentDbAndCacheReply, error)
- func (s *CommentService) CreateCommentDraft(ctx context.Context, req *v1.CreateCommentDraftReq) (*v1.CreateCommentDraftReply, error)
- func (s *CommentService) CreateSubComment(ctx context.Context, req *v1.CreateSubCommentReq) (*emptypb.Empty, error)
- func (s *CommentService) CreateSubCommentDbAndCache(ctx context.Context, req *v1.CreateSubCommentDbAndCacheReq) (*v1.CreateSubCommentDbAndCacheReply, error)
- func (s *CommentService) GetCommentContentReview(ctx context.Context, req *v1.GetCommentContentReviewReq) (*v1.GetCommentContentReviewReply, error)
- func (s *CommentService) GetCommentList(ctx context.Context, req *v1.GetCommentListReq) (*v1.GetCommentListReply, error)
- func (s *CommentService) GetCommentListHot(ctx context.Context, req *v1.GetCommentListReq) (*v1.GetCommentListReply, error)
- func (s *CommentService) GetCommentListStatistic(ctx context.Context, req *v1.GetCommentListStatisticReq) (*v1.GetCommentListStatisticReply, error)
- func (s *CommentService) GetCommentUser(ctx context.Context, req *v1.GetCommentUserReq) (*v1.GetCommentUserReply, error)
- func (s *CommentService) GetHealth(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (s *CommentService) GetLastCommentDraft(ctx context.Context, req *v1.GetLastCommentDraftReq) (*v1.GetLastCommentDraftReply, error)
- func (s *CommentService) GetSubCommentList(ctx context.Context, req *v1.GetSubCommentListReq) (*v1.GetSubCommentListReply, error)
- func (s *CommentService) GetSubCommentListStatistic(ctx context.Context, req *v1.GetCommentListStatisticReq) (*v1.GetCommentListStatisticReply, error)
- func (s *CommentService) GetUserCommentAgree(ctx context.Context, req *v1.GetUserCommentAgreeReq) (*v1.GetUserCommentAgreeReply, error)
- func (s *CommentService) GetUserCommentArticleRepliedList(ctx context.Context, req *v1.GetUserCommentArticleRepliedListReq) (*v1.GetUserCommentArticleRepliedListReply, error)
- func (s *CommentService) GetUserCommentArticleReplyList(ctx context.Context, req *v1.GetUserCommentArticleReplyListReq) (*v1.GetUserCommentArticleReplyListReply, error)
- func (s *CommentService) GetUserCommentRepliedList(ctx context.Context, req *v1.GetUserCommentRepliedListReq) (*v1.GetUserCommentRepliedListReply, error)
- func (s *CommentService) GetUserCommentTalkRepliedList(ctx context.Context, req *v1.GetUserCommentTalkRepliedListReq) (*v1.GetUserCommentTalkRepliedListReply, error)
- func (s *CommentService) GetUserCommentTalkReplyList(ctx context.Context, req *v1.GetUserCommentTalkReplyListReq) (*v1.GetUserCommentTalkReplyListReply, error)
- func (s *CommentService) GetUserSubCommentArticleRepliedList(ctx context.Context, req *v1.GetUserSubCommentArticleRepliedListReq) (*v1.GetUserSubCommentArticleRepliedListReply, error)
- func (s *CommentService) GetUserSubCommentArticleReplyList(ctx context.Context, req *v1.GetUserSubCommentArticleReplyListReq) (*v1.GetUserSubCommentArticleReplyListReply, error)
- func (s *CommentService) GetUserSubCommentRepliedList(ctx context.Context, req *v1.GetUserSubCommentRepliedListReq) (*v1.GetUserSubCommentRepliedListReply, error)
- func (s *CommentService) GetUserSubCommentTalkRepliedList(ctx context.Context, req *v1.GetUserSubCommentTalkRepliedListReq) (*v1.GetUserSubCommentTalkRepliedListReply, error)
- func (s *CommentService) GetUserSubCommentTalkReplyList(ctx context.Context, req *v1.GetUserSubCommentTalkReplyListReq) (*v1.GetUserSubCommentTalkReplyListReply, error)
- func (s *CommentService) RemoveComment(ctx context.Context, req *v1.RemoveCommentReq) (*emptypb.Empty, error)
- func (s *CommentService) RemoveCommentDbAndCache(ctx context.Context, req *v1.RemoveCommentDbAndCacheReq) (*emptypb.Empty, error)
- func (s *CommentService) RemoveSubComment(ctx context.Context, req *v1.RemoveSubCommentReq) (*emptypb.Empty, error)
- func (s *CommentService) RemoveSubCommentDbAndCache(ctx context.Context, req *v1.RemoveSubCommentDbAndCacheReq) (*emptypb.Empty, error)
- func (s *CommentService) SendComment(ctx context.Context, req *v1.SendCommentReq) (*emptypb.Empty, error)
- func (s *CommentService) SendSubComment(ctx context.Context, req *v1.SendSubCommentReq) (*emptypb.Empty, error)
- func (s *CommentService) SetCommentAgree(ctx context.Context, req *v1.SetCommentAgreeReq) (*emptypb.Empty, error)
- func (s *CommentService) SetCommentAgreeDbAndCache(ctx context.Context, req *v1.SetCommentAgreeReq) (*emptypb.Empty, error)
- func (s *CommentService) SetSubCommentAgree(ctx context.Context, req *v1.SetSubCommentAgreeReq) (*emptypb.Empty, error)
- func (s *CommentService) SetSubCommentAgreeDbAndCache(ctx context.Context, req *v1.SetSubCommentAgreeReq) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewCommentService)
Functions ¶
This section is empty.
Types ¶
type CommentService ¶
type CommentService struct { v1.UnimplementedCommentServer // contains filtered or unexported fields }
func NewCommentService ¶
func NewCommentService(cc *biz.CommentUseCase, logger log.Logger) *CommentService
func (*CommentService) AddCommentContentReviewDbAndCache ¶
func (s *CommentService) AddCommentContentReviewDbAndCache(ctx context.Context, req *v1.AddCommentContentReviewDbAndCacheReq) (*emptypb.Empty, error)
func (*CommentService) CancelCommentAgree ¶
func (s *CommentService) CancelCommentAgree(ctx context.Context, req *v1.CancelCommentAgreeReq) (*emptypb.Empty, error)
func (*CommentService) CancelCommentAgreeDbAndCache ¶
func (s *CommentService) CancelCommentAgreeDbAndCache(ctx context.Context, req *v1.CancelCommentAgreeReq) (*emptypb.Empty, error)
func (*CommentService) CancelSubCommentAgree ¶
func (s *CommentService) CancelSubCommentAgree(ctx context.Context, req *v1.CancelSubCommentAgreeReq) (*emptypb.Empty, error)
func (*CommentService) CancelSubCommentAgreeDbAndCache ¶
func (s *CommentService) CancelSubCommentAgreeDbAndCache(ctx context.Context, req *v1.CancelSubCommentAgreeReq) (*emptypb.Empty, error)
func (*CommentService) CommentContentIrregular ¶
func (s *CommentService) CommentContentIrregular(ctx context.Context, req *v1.CommentContentIrregularReq) (*emptypb.Empty, error)
func (*CommentService) CreateComment ¶
func (s *CommentService) CreateComment(ctx context.Context, req *v1.CreateCommentReq) (*emptypb.Empty, error)
func (*CommentService) CreateCommentDbAndCache ¶
func (s *CommentService) CreateCommentDbAndCache(ctx context.Context, req *v1.CreateCommentDbAndCacheReq) (*v1.CreateCommentDbAndCacheReply, error)
func (*CommentService) CreateCommentDraft ¶
func (s *CommentService) CreateCommentDraft(ctx context.Context, req *v1.CreateCommentDraftReq) (*v1.CreateCommentDraftReply, error)
func (*CommentService) CreateSubComment ¶
func (s *CommentService) CreateSubComment(ctx context.Context, req *v1.CreateSubCommentReq) (*emptypb.Empty, error)
func (*CommentService) CreateSubCommentDbAndCache ¶
func (s *CommentService) CreateSubCommentDbAndCache(ctx context.Context, req *v1.CreateSubCommentDbAndCacheReq) (*v1.CreateSubCommentDbAndCacheReply, error)
func (*CommentService) GetCommentContentReview ¶
func (s *CommentService) GetCommentContentReview(ctx context.Context, req *v1.GetCommentContentReviewReq) (*v1.GetCommentContentReviewReply, error)
func (*CommentService) GetCommentList ¶
func (s *CommentService) GetCommentList(ctx context.Context, req *v1.GetCommentListReq) (*v1.GetCommentListReply, error)
func (*CommentService) GetCommentListHot ¶
func (s *CommentService) GetCommentListHot(ctx context.Context, req *v1.GetCommentListReq) (*v1.GetCommentListReply, error)
func (*CommentService) GetCommentListStatistic ¶
func (s *CommentService) GetCommentListStatistic(ctx context.Context, req *v1.GetCommentListStatisticReq) (*v1.GetCommentListStatisticReply, error)
func (*CommentService) GetCommentUser ¶
func (s *CommentService) GetCommentUser(ctx context.Context, req *v1.GetCommentUserReq) (*v1.GetCommentUserReply, error)
func (*CommentService) GetLastCommentDraft ¶
func (s *CommentService) GetLastCommentDraft(ctx context.Context, req *v1.GetLastCommentDraftReq) (*v1.GetLastCommentDraftReply, error)
func (*CommentService) GetSubCommentList ¶
func (s *CommentService) GetSubCommentList(ctx context.Context, req *v1.GetSubCommentListReq) (*v1.GetSubCommentListReply, error)
func (*CommentService) GetSubCommentListStatistic ¶
func (s *CommentService) GetSubCommentListStatistic(ctx context.Context, req *v1.GetCommentListStatisticReq) (*v1.GetCommentListStatisticReply, error)
func (*CommentService) GetUserCommentAgree ¶
func (s *CommentService) GetUserCommentAgree(ctx context.Context, req *v1.GetUserCommentAgreeReq) (*v1.GetUserCommentAgreeReply, error)
func (*CommentService) GetUserCommentArticleRepliedList ¶
func (s *CommentService) GetUserCommentArticleRepliedList(ctx context.Context, req *v1.GetUserCommentArticleRepliedListReq) (*v1.GetUserCommentArticleRepliedListReply, error)
func (*CommentService) GetUserCommentArticleReplyList ¶
func (s *CommentService) GetUserCommentArticleReplyList(ctx context.Context, req *v1.GetUserCommentArticleReplyListReq) (*v1.GetUserCommentArticleReplyListReply, error)
func (*CommentService) GetUserCommentRepliedList ¶
func (s *CommentService) GetUserCommentRepliedList(ctx context.Context, req *v1.GetUserCommentRepliedListReq) (*v1.GetUserCommentRepliedListReply, error)
func (*CommentService) GetUserCommentTalkRepliedList ¶
func (s *CommentService) GetUserCommentTalkRepliedList(ctx context.Context, req *v1.GetUserCommentTalkRepliedListReq) (*v1.GetUserCommentTalkRepliedListReply, error)
func (*CommentService) GetUserCommentTalkReplyList ¶
func (s *CommentService) GetUserCommentTalkReplyList(ctx context.Context, req *v1.GetUserCommentTalkReplyListReq) (*v1.GetUserCommentTalkReplyListReply, error)
func (*CommentService) GetUserSubCommentArticleRepliedList ¶
func (s *CommentService) GetUserSubCommentArticleRepliedList(ctx context.Context, req *v1.GetUserSubCommentArticleRepliedListReq) (*v1.GetUserSubCommentArticleRepliedListReply, error)
func (*CommentService) GetUserSubCommentArticleReplyList ¶
func (s *CommentService) GetUserSubCommentArticleReplyList(ctx context.Context, req *v1.GetUserSubCommentArticleReplyListReq) (*v1.GetUserSubCommentArticleReplyListReply, error)
func (*CommentService) GetUserSubCommentRepliedList ¶
func (s *CommentService) GetUserSubCommentRepliedList(ctx context.Context, req *v1.GetUserSubCommentRepliedListReq) (*v1.GetUserSubCommentRepliedListReply, error)
func (*CommentService) GetUserSubCommentTalkRepliedList ¶
func (s *CommentService) GetUserSubCommentTalkRepliedList(ctx context.Context, req *v1.GetUserSubCommentTalkRepliedListReq) (*v1.GetUserSubCommentTalkRepliedListReply, error)
func (*CommentService) GetUserSubCommentTalkReplyList ¶
func (s *CommentService) GetUserSubCommentTalkReplyList(ctx context.Context, req *v1.GetUserSubCommentTalkReplyListReq) (*v1.GetUserSubCommentTalkReplyListReply, error)
func (*CommentService) RemoveComment ¶
func (s *CommentService) RemoveComment(ctx context.Context, req *v1.RemoveCommentReq) (*emptypb.Empty, error)
func (*CommentService) RemoveCommentDbAndCache ¶
func (s *CommentService) RemoveCommentDbAndCache(ctx context.Context, req *v1.RemoveCommentDbAndCacheReq) (*emptypb.Empty, error)
func (*CommentService) RemoveSubComment ¶
func (s *CommentService) RemoveSubComment(ctx context.Context, req *v1.RemoveSubCommentReq) (*emptypb.Empty, error)
func (*CommentService) RemoveSubCommentDbAndCache ¶
func (s *CommentService) RemoveSubCommentDbAndCache(ctx context.Context, req *v1.RemoveSubCommentDbAndCacheReq) (*emptypb.Empty, error)
func (*CommentService) SendComment ¶
func (s *CommentService) SendComment(ctx context.Context, req *v1.SendCommentReq) (*emptypb.Empty, error)
func (*CommentService) SendSubComment ¶
func (s *CommentService) SendSubComment(ctx context.Context, req *v1.SendSubCommentReq) (*emptypb.Empty, error)
func (*CommentService) SetCommentAgree ¶
func (s *CommentService) SetCommentAgree(ctx context.Context, req *v1.SetCommentAgreeReq) (*emptypb.Empty, error)
func (*CommentService) SetCommentAgreeDbAndCache ¶
func (s *CommentService) SetCommentAgreeDbAndCache(ctx context.Context, req *v1.SetCommentAgreeReq) (*emptypb.Empty, error)
func (*CommentService) SetSubCommentAgree ¶
func (s *CommentService) SetSubCommentAgree(ctx context.Context, req *v1.SetSubCommentAgreeReq) (*emptypb.Empty, error)
func (*CommentService) SetSubCommentAgreeDbAndCache ¶
func (s *CommentService) SetSubCommentAgreeDbAndCache(ctx context.Context, req *v1.SetSubCommentAgreeReq) (*emptypb.Empty, error)
Click to show internal directories.
Click to hide internal directories.