service

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 (*CommentService) CreateCommentDraft

func (*CommentService) CreateSubComment

func (s *CommentService) CreateSubComment(ctx context.Context, req *v1.CreateSubCommentReq) (*emptypb.Empty, error)

func (*CommentService) CreateSubCommentDbAndCache

func (*CommentService) GetCommentContentReview

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 (*CommentService) GetCommentUser

func (s *CommentService) GetCommentUser(ctx context.Context, req *v1.GetCommentUserReq) (*v1.GetCommentUserReply, error)

func (*CommentService) GetHealth

func (s *CommentService) GetHealth(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)

func (*CommentService) GetLastCommentDraft

func (*CommentService) GetSubCommentList

func (*CommentService) GetSubCommentListStatistic

func (s *CommentService) GetSubCommentListStatistic(ctx context.Context, req *v1.GetCommentListStatisticReq) (*v1.GetCommentListStatisticReply, error)

func (*CommentService) GetUserCommentAgree

func (*CommentService) GetUserCommentRepliedList

func (*CommentService) GetUserCommentTalkReplyList

func (*CommentService) GetUserSubCommentRepliedList

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL