messagerpc

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 AnalysisMessageResp

type AnalysisMessageResp = messagerpc.AnalysisMessageResp

type BatchResp

type BatchResp = messagerpc.BatchResp

type ChatDetails

type ChatDetails = messagerpc.ChatDetails

type ChatNewReq

type ChatNewReq = messagerpc.ChatNewReq

type CommentDetails

type CommentDetails = messagerpc.CommentDetails

type CommentNewReq

type CommentNewReq = messagerpc.CommentNewReq

type EmptyReq

type EmptyReq = messagerpc.EmptyReq

type EmptyResp

type EmptyResp = messagerpc.EmptyResp

type FindChatListReq

type FindChatListReq = messagerpc.FindChatListReq

type FindChatListResp

type FindChatListResp = messagerpc.FindChatListResp

type FindCommentListReq

type FindCommentListReq = messagerpc.FindCommentListReq

type FindCommentListResp

type FindCommentListResp = messagerpc.FindCommentListResp

type FindCommentReplyListReq

type FindCommentReplyListReq = messagerpc.FindCommentReplyListReq

type FindCommentReplyListResp

type FindCommentReplyListResp = messagerpc.FindCommentReplyListResp

type FindLikeCommentResp

type FindLikeCommentResp = messagerpc.FindLikeCommentResp

type FindRemarkListReq

type FindRemarkListReq = messagerpc.FindRemarkListReq

type FindRemarkListResp

type FindRemarkListResp = messagerpc.FindRemarkListResp

type FindTopicCommentCountsReq

type FindTopicCommentCountsReq = messagerpc.FindTopicCommentCountsReq

type FindTopicCommentCountsResp

type FindTopicCommentCountsResp = messagerpc.FindTopicCommentCountsResp

type IdReq

type IdReq = messagerpc.IdReq

type IdsReq

type IdsReq = messagerpc.IdsReq

type MessageRpc

type MessageRpc interface {
	// 消息数据分析
	AnalysisMessage(ctx context.Context, in *EmptyReq, opts ...grpc.CallOption) (*AnalysisMessageResp, error)
	// 创建聊天记录
	AddChat(ctx context.Context, in *ChatNewReq, opts ...grpc.CallOption) (*ChatDetails, error)
	// 更新聊天记录
	UpdateChat(ctx context.Context, in *ChatNewReq, opts ...grpc.CallOption) (*ChatDetails, error)
	// 删除聊天记录
	DeletesChat(ctx context.Context, in *IdsReq, opts ...grpc.CallOption) (*BatchResp, error)
	// 查询聊天记录
	GetChat(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*ChatDetails, error)
	// 查询聊天记录列表
	FindChatList(ctx context.Context, in *FindChatListReq, opts ...grpc.CallOption) (*FindChatListResp, error)
	// 创建留言
	AddRemark(ctx context.Context, in *RemarkNewReq, opts ...grpc.CallOption) (*RemarkDetails, error)
	// 更新留言
	UpdateRemark(ctx context.Context, in *RemarkUpdateReq, opts ...grpc.CallOption) (*RemarkDetails, error)
	// 删除留言
	DeletesRemark(ctx context.Context, in *IdsReq, opts ...grpc.CallOption) (*BatchResp, error)
	// 查询留言
	GetRemark(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*RemarkDetails, error)
	// 查询留言列表
	FindRemarkList(ctx context.Context, in *FindRemarkListReq, opts ...grpc.CallOption) (*FindRemarkListResp, error)
	// 更新留言审核状态
	UpdateRemarkReview(ctx context.Context, in *UpdateRemarkReviewReq, opts ...grpc.CallOption) (*BatchResp, error)
	// 创建评论
	AddComment(ctx context.Context, in *CommentNewReq, opts ...grpc.CallOption) (*CommentDetails, error)
	// 删除评论
	DeleteComment(ctx context.Context, in *IdsReq, opts ...grpc.CallOption) (*BatchResp, error)
	// 查询评论
	GetComment(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*CommentDetails, error)
	// 查询评论列表
	FindCommentList(ctx context.Context, in *FindCommentListReq, opts ...grpc.CallOption) (*FindCommentListResp, error)
	// 查询评论回复列表
	FindCommentReplyList(ctx context.Context, in *FindCommentReplyListReq, opts ...grpc.CallOption) (*FindCommentReplyListResp, error)
	// 查询评论回复数量
	FindTopicCommentCounts(ctx context.Context, in *IdsReq, opts ...grpc.CallOption) (*FindTopicCommentCountsResp, error)
	// 更新评论审核状态
	UpdateCommentReview(ctx context.Context, in *UpdateCommentReviewReq, opts ...grpc.CallOption) (*BatchResp, error)
	// 更新评论
	UpdateCommentContent(ctx context.Context, in *UpdateCommentContentReq, opts ...grpc.CallOption) (*CommentDetails, error)
	// 点赞评论
	LikeComment(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*EmptyResp, error)
	// 用户点赞的评论
	FindUserLikeComment(ctx context.Context, in *UserIdReq, opts ...grpc.CallOption) (*FindLikeCommentResp, error)
}

func NewMessageRpc

func NewMessageRpc(cli zrpc.Client) MessageRpc

type RemarkDetails

type RemarkDetails = messagerpc.RemarkDetails

type RemarkNewReq

type RemarkNewReq = messagerpc.RemarkNewReq

type RemarkUpdateReq

type RemarkUpdateReq = messagerpc.RemarkUpdateReq

type UpdateCommentContentReq

type UpdateCommentContentReq = messagerpc.UpdateCommentContentReq

type UpdateCommentReviewReq

type UpdateCommentReviewReq = messagerpc.UpdateCommentReviewReq

type UpdateRemarkReviewReq

type UpdateRemarkReviewReq = messagerpc.UpdateRemarkReviewReq

type UserIdReq

type UserIdReq = messagerpc.UserIdReq

Jump to

Keyboard shortcuts

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