Documentation
¶
Index ¶
- type AddChatLogic
- type AddCommentLogic
- type AddRemarkLogic
- type AnalysisMessageLogic
- type DeleteCommentLogic
- type DeletesChatLogic
- type DeletesRemarkLogic
- type FindChatListLogic
- type FindCommentListLogic
- type FindCommentReplyListLogic
- type FindRemarkListLogic
- type FindTopicCommentCountsLogic
- type FindUserLikeCommentLogic
- type GetChatLogic
- type GetCommentLogic
- type GetRemarkLogic
- type LikeCommentLogic
- type UpdateChatLogic
- type UpdateCommentContentLogic
- type UpdateCommentReviewLogic
- type UpdateRemarkLogic
- type UpdateRemarkReviewLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddChatLogic ¶
func NewAddChatLogic ¶
func NewAddChatLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddChatLogic
func (*AddChatLogic) AddChat ¶
func (l *AddChatLogic) AddChat(in *messagerpc.ChatNewReq) (*messagerpc.ChatDetails, error)
创建聊天记录
type AddCommentLogic ¶
func NewAddCommentLogic ¶
func NewAddCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddCommentLogic
func (*AddCommentLogic) AddComment ¶
func (l *AddCommentLogic) AddComment(in *messagerpc.CommentNewReq) (*messagerpc.CommentDetails, error)
创建评论
type AddRemarkLogic ¶
func NewAddRemarkLogic ¶
func NewAddRemarkLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddRemarkLogic
func (*AddRemarkLogic) AddRemark ¶
func (l *AddRemarkLogic) AddRemark(in *messagerpc.RemarkNewReq) (*messagerpc.RemarkDetails, error)
创建留言
type AnalysisMessageLogic ¶
func NewAnalysisMessageLogic ¶
func NewAnalysisMessageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AnalysisMessageLogic
func (*AnalysisMessageLogic) AnalysisMessage ¶
func (l *AnalysisMessageLogic) AnalysisMessage(in *messagerpc.EmptyReq) (*messagerpc.AnalysisMessageResp, error)
消息数据分析
type DeleteCommentLogic ¶
func NewDeleteCommentLogic ¶
func NewDeleteCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCommentLogic
func (*DeleteCommentLogic) DeleteComment ¶
func (l *DeleteCommentLogic) DeleteComment(in *messagerpc.IdsReq) (*messagerpc.BatchResp, error)
删除评论
type DeletesChatLogic ¶
func NewDeletesChatLogic ¶
func NewDeletesChatLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletesChatLogic
func (*DeletesChatLogic) DeletesChat ¶
func (l *DeletesChatLogic) DeletesChat(in *messagerpc.IdsReq) (*messagerpc.BatchResp, error)
删除聊天记录
type DeletesRemarkLogic ¶
func NewDeletesRemarkLogic ¶
func NewDeletesRemarkLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletesRemarkLogic
func (*DeletesRemarkLogic) DeletesRemark ¶
func (l *DeletesRemarkLogic) DeletesRemark(in *messagerpc.IdsReq) (*messagerpc.BatchResp, error)
删除留言
type FindChatListLogic ¶
func NewFindChatListLogic ¶
func NewFindChatListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindChatListLogic
func (*FindChatListLogic) FindChatList ¶
func (l *FindChatListLogic) FindChatList(in *messagerpc.FindChatListReq) (*messagerpc.FindChatListResp, error)
查询聊天记录列表
type FindCommentListLogic ¶
func NewFindCommentListLogic ¶
func NewFindCommentListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindCommentListLogic
func (*FindCommentListLogic) FindCommentList ¶
func (l *FindCommentListLogic) FindCommentList(in *messagerpc.FindCommentListReq) (*messagerpc.FindCommentListResp, error)
分页获取评论列表
type FindCommentReplyListLogic ¶
func NewFindCommentReplyListLogic ¶
func NewFindCommentReplyListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindCommentReplyListLogic
func (*FindCommentReplyListLogic) FindCommentReplyList ¶
func (l *FindCommentReplyListLogic) FindCommentReplyList(in *messagerpc.FindCommentReplyListReq) (*messagerpc.FindCommentReplyListResp, error)
查询评论回复列表
type FindRemarkListLogic ¶
func NewFindRemarkListLogic ¶
func NewFindRemarkListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindRemarkListLogic
func (*FindRemarkListLogic) FindRemarkList ¶
func (l *FindRemarkListLogic) FindRemarkList(in *messagerpc.FindRemarkListReq) (*messagerpc.FindRemarkListResp, error)
查询留言列表
type FindTopicCommentCountsLogic ¶
func NewFindTopicCommentCountsLogic ¶
func NewFindTopicCommentCountsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindTopicCommentCountsLogic
func (*FindTopicCommentCountsLogic) FindTopicCommentCounts ¶
func (l *FindTopicCommentCountsLogic) FindTopicCommentCounts(in *messagerpc.IdsReq) (*messagerpc.FindTopicCommentCountsResp, error)
查询评论回复数量
type FindUserLikeCommentLogic ¶
func NewFindUserLikeCommentLogic ¶
func NewFindUserLikeCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindUserLikeCommentLogic
func (*FindUserLikeCommentLogic) FindUserLikeComment ¶
func (l *FindUserLikeCommentLogic) FindUserLikeComment(in *messagerpc.UserIdReq) (*messagerpc.FindLikeCommentResp, error)
用户点赞的评论
type GetChatLogic ¶
func NewGetChatLogic ¶
func NewGetChatLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetChatLogic
func (*GetChatLogic) GetChat ¶
func (l *GetChatLogic) GetChat(in *messagerpc.IdReq) (*messagerpc.ChatDetails, error)
查询聊天记录
type GetCommentLogic ¶
func NewGetCommentLogic ¶
func NewGetCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCommentLogic
func (*GetCommentLogic) GetComment ¶
func (l *GetCommentLogic) GetComment(in *messagerpc.IdReq) (*messagerpc.CommentDetails, error)
查询评论
type GetRemarkLogic ¶
func NewGetRemarkLogic ¶
func NewGetRemarkLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetRemarkLogic
func (*GetRemarkLogic) GetRemark ¶
func (l *GetRemarkLogic) GetRemark(in *messagerpc.IdReq) (*messagerpc.RemarkDetails, error)
查询留言
type LikeCommentLogic ¶
func NewLikeCommentLogic ¶
func NewLikeCommentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LikeCommentLogic
func (*LikeCommentLogic) LikeComment ¶
func (l *LikeCommentLogic) LikeComment(in *messagerpc.IdReq) (*messagerpc.EmptyResp, error)
点赞评论
type UpdateChatLogic ¶
func NewUpdateChatLogic ¶
func NewUpdateChatLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateChatLogic
func (*UpdateChatLogic) UpdateChat ¶
func (l *UpdateChatLogic) UpdateChat(in *messagerpc.ChatNewReq) (*messagerpc.ChatDetails, error)
更新聊天记录
type UpdateCommentContentLogic ¶
func NewUpdateCommentContentLogic ¶
func NewUpdateCommentContentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCommentContentLogic
func (*UpdateCommentContentLogic) UpdateCommentContent ¶
func (l *UpdateCommentContentLogic) UpdateCommentContent(in *messagerpc.UpdateCommentContentReq) (*messagerpc.CommentDetails, error)
更新评论
type UpdateCommentReviewLogic ¶
func NewUpdateCommentReviewLogic ¶
func NewUpdateCommentReviewLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCommentReviewLogic
func (*UpdateCommentReviewLogic) UpdateCommentReview ¶
func (l *UpdateCommentReviewLogic) UpdateCommentReview(in *messagerpc.UpdateCommentReviewReq) (*messagerpc.BatchResp, error)
更新评论审核状态
type UpdateRemarkLogic ¶
func NewUpdateRemarkLogic ¶
func NewUpdateRemarkLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateRemarkLogic
func (*UpdateRemarkLogic) UpdateRemark ¶
func (l *UpdateRemarkLogic) UpdateRemark(in *messagerpc.RemarkUpdateReq) (*messagerpc.RemarkDetails, error)
更新留言
type UpdateRemarkReviewLogic ¶
func NewUpdateRemarkReviewLogic ¶
func NewUpdateRemarkReviewLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateRemarkReviewLogic
func (*UpdateRemarkReviewLogic) UpdateRemarkReview ¶
func (l *UpdateRemarkReviewLogic) UpdateRemarkReview(in *messagerpc.UpdateRemarkReviewReq) (*messagerpc.BatchResp, error)
更新留言审核状态
Source Files
¶
- add_chat_logic.go
- add_comment_logic.go
- add_remark_logic.go
- analysis_message_logic.go
- delete_comment_logic.go
- deletes_chat_logic.go
- deletes_remark_logic.go
- find_chat_list_logic.go
- find_comment_list_logic.go
- find_comment_reply_list_logic.go
- find_remark_list_logic.go
- find_topic_comment_counts_logic.go
- find_user_like_comment_logic.go
- get_chat_logic.go
- get_comment_logic.go
- get_remark_logic.go
- like_comment_logic.go
- update_chat_logic.go
- update_comment_content_logic.go
- update_comment_review_logic.go
- update_remark_logic.go
- update_remark_review_logic.go
Click to show internal directories.
Click to hide internal directories.