server

package
v0.0.0-...-eea11df Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommentRpcServer

type CommentRpcServer struct {
	commentrpc.UnimplementedCommentRpcServer
	// contains filtered or unexported fields
}

func NewCommentRpcServer

func NewCommentRpcServer(svcCtx *svc.ServiceContext) *CommentRpcServer

func (*CommentRpcServer) AddComment

创建评论

func (*CommentRpcServer) DeleteComment

func (s *CommentRpcServer) DeleteComment(ctx context.Context, in *commentrpc.IdsReq) (*commentrpc.BatchResp, error)

删除评论

func (*CommentRpcServer) FindCommentList

查询评论列表

func (*CommentRpcServer) FindCommentReplyList

查询评论回复列表

func (*CommentRpcServer) FindTopicCommentCounts

查询评论回复数量

func (*CommentRpcServer) FindUserLikeComment

用户点赞的评论

func (*CommentRpcServer) GetComment

查询评论

func (*CommentRpcServer) LikeComment

点赞评论

func (*CommentRpcServer) UpdateCommentContent

更新评论

func (*CommentRpcServer) UpdateCommentReview

更新评论审核状态

Jump to

Keyboard shortcuts

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