server

package
v0.0.0-...-b32e05d Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 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 MessageRpcServer

type MessageRpcServer struct {
	messagerpc.UnimplementedMessageRpcServer
	// contains filtered or unexported fields
}

func NewMessageRpcServer

func NewMessageRpcServer(svcCtx *svc.ServiceContext) *MessageRpcServer

func (*MessageRpcServer) AddChat

创建聊天记录

func (*MessageRpcServer) AddComment

创建评论

func (*MessageRpcServer) AddRemark

创建留言

func (*MessageRpcServer) AnalysisMessage

消息数据分析

func (*MessageRpcServer) DeleteComment

func (s *MessageRpcServer) DeleteComment(ctx context.Context, in *messagerpc.IdsReq) (*messagerpc.BatchResp, error)

删除评论

func (*MessageRpcServer) DeletesChat

删除聊天记录

func (*MessageRpcServer) DeletesRemark

func (s *MessageRpcServer) DeletesRemark(ctx context.Context, in *messagerpc.IdsReq) (*messagerpc.BatchResp, error)

删除留言

func (*MessageRpcServer) FindChatList

查询聊天记录列表

func (*MessageRpcServer) FindCommentList

查询评论列表

func (*MessageRpcServer) FindCommentReplyList

查询评论回复列表

func (*MessageRpcServer) FindRemarkList

查询留言列表

func (*MessageRpcServer) FindTopicCommentCounts

查询评论回复数量

func (*MessageRpcServer) FindUserLikeComment

用户点赞的评论

func (*MessageRpcServer) GetChat

查询聊天记录

func (*MessageRpcServer) GetComment

查询评论

func (*MessageRpcServer) GetRemark

查询留言

func (*MessageRpcServer) LikeComment

点赞评论

func (*MessageRpcServer) UpdateChat

更新聊天记录

func (*MessageRpcServer) UpdateCommentContent

更新评论

func (*MessageRpcServer) UpdateCommentReview

更新评论审核状态

func (*MessageRpcServer) UpdateRemark

更新留言

func (*MessageRpcServer) UpdateRemarkReview

更新留言审核状态

Jump to

Keyboard shortcuts

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