Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterMessageRpcServer(s grpc.ServiceRegistrar, srv MessageRpcServer)
- type AnalysisMessageResp
- func (*AnalysisMessageResp) Descriptor() ([]byte, []int)deprecated
- func (x *AnalysisMessageResp) GetRemarkCount() int64
- func (*AnalysisMessageResp) ProtoMessage()
- func (x *AnalysisMessageResp) ProtoReflect() protoreflect.Message
- func (x *AnalysisMessageResp) Reset()
- func (x *AnalysisMessageResp) String() string
- type BatchResp
- type ChatDetails
- func (*ChatDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ChatDetails) GetContent() string
- func (x *ChatDetails) GetCreatedAt() int64
- func (x *ChatDetails) GetId() int64
- func (x *ChatDetails) GetIpAddress() string
- func (x *ChatDetails) GetIpSource() string
- func (x *ChatDetails) GetStatus() int64
- func (x *ChatDetails) GetTerminalId() string
- func (x *ChatDetails) GetType() string
- func (x *ChatDetails) GetUpdatedAt() int64
- func (x *ChatDetails) GetUserId() string
- func (*ChatDetails) ProtoMessage()
- func (x *ChatDetails) ProtoReflect() protoreflect.Message
- func (x *ChatDetails) Reset()
- func (x *ChatDetails) String() string
- type ChatNewReq
- func (*ChatNewReq) Descriptor() ([]byte, []int)deprecated
- func (x *ChatNewReq) GetContent() string
- func (x *ChatNewReq) GetIpAddress() string
- func (x *ChatNewReq) GetIpSource() string
- func (x *ChatNewReq) GetTerminalId() string
- func (x *ChatNewReq) GetType() string
- func (x *ChatNewReq) GetUserId() string
- func (*ChatNewReq) ProtoMessage()
- func (x *ChatNewReq) ProtoReflect() protoreflect.Message
- func (x *ChatNewReq) Reset()
- func (x *ChatNewReq) String() string
- type CommentDetails
- func (*CommentDetails) Descriptor() ([]byte, []int)deprecated
- func (x *CommentDetails) GetCommentContent() string
- func (x *CommentDetails) GetCreatedAt() int64
- func (x *CommentDetails) GetId() int64
- func (x *CommentDetails) GetIpAddress() string
- func (x *CommentDetails) GetIpSource() string
- func (x *CommentDetails) GetIsReview() int64
- func (x *CommentDetails) GetLikeCount() int64
- func (x *CommentDetails) GetParentId() int64
- func (x *CommentDetails) GetReplyMsgId() int64
- func (x *CommentDetails) GetReplyUserId() string
- func (x *CommentDetails) GetStatus() int64
- func (x *CommentDetails) GetTopicId() int64
- func (x *CommentDetails) GetType() int64
- func (x *CommentDetails) GetUpdatedAt() int64
- func (x *CommentDetails) GetUserId() string
- func (*CommentDetails) ProtoMessage()
- func (x *CommentDetails) ProtoReflect() protoreflect.Message
- func (x *CommentDetails) Reset()
- func (x *CommentDetails) String() string
- type CommentNewReq
- func (*CommentNewReq) Descriptor() ([]byte, []int)deprecated
- func (x *CommentNewReq) GetCommentContent() string
- func (x *CommentNewReq) GetIsReview() int64
- func (x *CommentNewReq) GetParentId() int64
- func (x *CommentNewReq) GetReplyMsgId() int64
- func (x *CommentNewReq) GetReplyUserId() string
- func (x *CommentNewReq) GetStatus() int64
- func (x *CommentNewReq) GetTopicId() int64
- func (x *CommentNewReq) GetType() int64
- func (x *CommentNewReq) GetUserId() string
- func (*CommentNewReq) ProtoMessage()
- func (x *CommentNewReq) ProtoReflect() protoreflect.Message
- func (x *CommentNewReq) Reset()
- func (x *CommentNewReq) String() string
- type EmptyReq
- type EmptyResp
- type FindChatListReq
- func (*FindChatListReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindChatListReq) GetAfter() int64
- func (x *FindChatListReq) GetBefore() int64
- func (x *FindChatListReq) GetContent() string
- func (x *FindChatListReq) GetLimit() int64
- func (x *FindChatListReq) GetStatus() int64
- func (x *FindChatListReq) GetType() string
- func (x *FindChatListReq) GetUserId() string
- func (*FindChatListReq) ProtoMessage()
- func (x *FindChatListReq) ProtoReflect() protoreflect.Message
- func (x *FindChatListReq) Reset()
- func (x *FindChatListReq) String() string
- type FindChatListResp
- func (*FindChatListResp) Descriptor() ([]byte, []int)deprecated
- func (x *FindChatListResp) GetList() []*ChatDetails
- func (x *FindChatListResp) GetTotal() int64
- func (*FindChatListResp) ProtoMessage()
- func (x *FindChatListResp) ProtoReflect() protoreflect.Message
- func (x *FindChatListResp) Reset()
- func (x *FindChatListResp) String() string
- type FindCommentListReq
- func (*FindCommentListReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindCommentListReq) GetPage() int64
- func (x *FindCommentListReq) GetPageSize() int64
- func (x *FindCommentListReq) GetParentId() int64
- func (x *FindCommentListReq) GetReplyMsgId() int64
- func (x *FindCommentListReq) GetSorts() []string
- func (x *FindCommentListReq) GetTopicId() int64
- func (x *FindCommentListReq) GetType() int64
- func (*FindCommentListReq) ProtoMessage()
- func (x *FindCommentListReq) ProtoReflect() protoreflect.Message
- func (x *FindCommentListReq) Reset()
- func (x *FindCommentListReq) String() string
- type FindCommentListResp
- func (*FindCommentListResp) Descriptor() ([]byte, []int)deprecated
- func (x *FindCommentListResp) GetList() []*CommentDetails
- func (x *FindCommentListResp) GetTotal() int64
- func (*FindCommentListResp) ProtoMessage()
- func (x *FindCommentListResp) ProtoReflect() protoreflect.Message
- func (x *FindCommentListResp) Reset()
- func (x *FindCommentListResp) String() string
- type FindCommentReplyListReq
- func (*FindCommentReplyListReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindCommentReplyListReq) GetPage() int64
- func (x *FindCommentReplyListReq) GetPageSize() int64
- func (x *FindCommentReplyListReq) GetParentId() int64
- func (x *FindCommentReplyListReq) GetReplyMsgId() int64
- func (x *FindCommentReplyListReq) GetSorts() []string
- func (x *FindCommentReplyListReq) GetTopicId() int64
- func (x *FindCommentReplyListReq) GetType() int64
- func (*FindCommentReplyListReq) ProtoMessage()
- func (x *FindCommentReplyListReq) ProtoReflect() protoreflect.Message
- func (x *FindCommentReplyListReq) Reset()
- func (x *FindCommentReplyListReq) String() string
- type FindCommentReplyListResp
- func (*FindCommentReplyListResp) Descriptor() ([]byte, []int)deprecated
- func (x *FindCommentReplyListResp) GetList() []*CommentDetails
- func (x *FindCommentReplyListResp) GetTotal() int64
- func (*FindCommentReplyListResp) ProtoMessage()
- func (x *FindCommentReplyListResp) ProtoReflect() protoreflect.Message
- func (x *FindCommentReplyListResp) Reset()
- func (x *FindCommentReplyListResp) String() string
- type FindLikeCommentResp
- func (*FindLikeCommentResp) Descriptor() ([]byte, []int)deprecated
- func (x *FindLikeCommentResp) GetLikeCommentList() []int64
- func (*FindLikeCommentResp) ProtoMessage()
- func (x *FindLikeCommentResp) ProtoReflect() protoreflect.Message
- func (x *FindLikeCommentResp) Reset()
- func (x *FindLikeCommentResp) String() string
- type FindRemarkListReq
- func (*FindRemarkListReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindRemarkListReq) GetIsReview() int64
- func (x *FindRemarkListReq) GetNickname() string
- func (x *FindRemarkListReq) GetPage() int64
- func (x *FindRemarkListReq) GetPageSize() int64
- func (x *FindRemarkListReq) GetSorts() []string
- func (*FindRemarkListReq) ProtoMessage()
- func (x *FindRemarkListReq) ProtoReflect() protoreflect.Message
- func (x *FindRemarkListReq) Reset()
- func (x *FindRemarkListReq) String() string
- type FindRemarkListResp
- func (*FindRemarkListResp) Descriptor() ([]byte, []int)deprecated
- func (x *FindRemarkListResp) GetList() []*RemarkDetails
- func (x *FindRemarkListResp) GetTotal() int64
- func (*FindRemarkListResp) ProtoMessage()
- func (x *FindRemarkListResp) ProtoReflect() protoreflect.Message
- func (x *FindRemarkListResp) Reset()
- func (x *FindRemarkListResp) String() string
- type FindTopicCommentCountsReq
- func (*FindTopicCommentCountsReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindTopicCommentCountsReq) GetTopicIds() []int64
- func (*FindTopicCommentCountsReq) ProtoMessage()
- func (x *FindTopicCommentCountsReq) ProtoReflect() protoreflect.Message
- func (x *FindTopicCommentCountsReq) Reset()
- func (x *FindTopicCommentCountsReq) String() string
- type FindTopicCommentCountsResp
- func (*FindTopicCommentCountsResp) Descriptor() ([]byte, []int)deprecated
- func (x *FindTopicCommentCountsResp) GetTopicCommentCounts() map[int64]int64
- func (*FindTopicCommentCountsResp) ProtoMessage()
- func (x *FindTopicCommentCountsResp) ProtoReflect() protoreflect.Message
- func (x *FindTopicCommentCountsResp) Reset()
- func (x *FindTopicCommentCountsResp) String() string
- type IdReq
- type IdsReq
- type MessageRpcClient
- type MessageRpcServer
- type RemarkDetails
- func (*RemarkDetails) Descriptor() ([]byte, []int)deprecated
- func (x *RemarkDetails) GetCreatedAt() int64
- func (x *RemarkDetails) GetId() int64
- func (x *RemarkDetails) GetIpAddress() string
- func (x *RemarkDetails) GetIpSource() string
- func (x *RemarkDetails) GetIsReview() int64
- func (x *RemarkDetails) GetMessageContent() string
- func (x *RemarkDetails) GetUpdatedAt() int64
- func (x *RemarkDetails) GetUserId() string
- func (*RemarkDetails) ProtoMessage()
- func (x *RemarkDetails) ProtoReflect() protoreflect.Message
- func (x *RemarkDetails) Reset()
- func (x *RemarkDetails) String() string
- type RemarkNewReq
- func (*RemarkNewReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemarkNewReq) GetMessageContent() string
- func (x *RemarkNewReq) GetUserId() string
- func (*RemarkNewReq) ProtoMessage()
- func (x *RemarkNewReq) ProtoReflect() protoreflect.Message
- func (x *RemarkNewReq) Reset()
- func (x *RemarkNewReq) String() string
- type RemarkUpdateReq
- func (*RemarkUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemarkUpdateReq) GetId() int64
- func (x *RemarkUpdateReq) GetIsReview() int64
- func (*RemarkUpdateReq) ProtoMessage()
- func (x *RemarkUpdateReq) ProtoReflect() protoreflect.Message
- func (x *RemarkUpdateReq) Reset()
- func (x *RemarkUpdateReq) String() string
- type UnimplementedMessageRpcServer
- func (UnimplementedMessageRpcServer) AddChat(context.Context, *ChatNewReq) (*ChatDetails, error)
- func (UnimplementedMessageRpcServer) AddComment(context.Context, *CommentNewReq) (*CommentDetails, error)
- func (UnimplementedMessageRpcServer) AddRemark(context.Context, *RemarkNewReq) (*RemarkDetails, error)
- func (UnimplementedMessageRpcServer) AnalysisMessage(context.Context, *EmptyReq) (*AnalysisMessageResp, error)
- func (UnimplementedMessageRpcServer) DeleteComment(context.Context, *IdsReq) (*BatchResp, error)
- func (UnimplementedMessageRpcServer) DeletesChat(context.Context, *IdsReq) (*BatchResp, error)
- func (UnimplementedMessageRpcServer) DeletesRemark(context.Context, *IdsReq) (*BatchResp, error)
- func (UnimplementedMessageRpcServer) FindChatList(context.Context, *FindChatListReq) (*FindChatListResp, error)
- func (UnimplementedMessageRpcServer) FindCommentList(context.Context, *FindCommentListReq) (*FindCommentListResp, error)
- func (UnimplementedMessageRpcServer) FindCommentReplyList(context.Context, *FindCommentReplyListReq) (*FindCommentReplyListResp, error)
- func (UnimplementedMessageRpcServer) FindRemarkList(context.Context, *FindRemarkListReq) (*FindRemarkListResp, error)
- func (UnimplementedMessageRpcServer) FindTopicCommentCounts(context.Context, *IdsReq) (*FindTopicCommentCountsResp, error)
- func (UnimplementedMessageRpcServer) FindUserLikeComment(context.Context, *UserIdReq) (*FindLikeCommentResp, error)
- func (UnimplementedMessageRpcServer) GetChat(context.Context, *IdReq) (*ChatDetails, error)
- func (UnimplementedMessageRpcServer) GetComment(context.Context, *IdReq) (*CommentDetails, error)
- func (UnimplementedMessageRpcServer) GetRemark(context.Context, *IdReq) (*RemarkDetails, error)
- func (UnimplementedMessageRpcServer) LikeComment(context.Context, *IdReq) (*EmptyResp, error)
- func (UnimplementedMessageRpcServer) UpdateChat(context.Context, *ChatNewReq) (*ChatDetails, error)
- func (UnimplementedMessageRpcServer) UpdateCommentContent(context.Context, *UpdateCommentContentReq) (*CommentDetails, error)
- func (UnimplementedMessageRpcServer) UpdateCommentReview(context.Context, *UpdateCommentReviewReq) (*BatchResp, error)
- func (UnimplementedMessageRpcServer) UpdateRemark(context.Context, *RemarkUpdateReq) (*RemarkDetails, error)
- func (UnimplementedMessageRpcServer) UpdateRemarkReview(context.Context, *UpdateRemarkReviewReq) (*BatchResp, error)
- type UnsafeMessageRpcServer
- type UpdateCommentContentReq
- func (*UpdateCommentContentReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCommentContentReq) GetCommentContent() string
- func (x *UpdateCommentContentReq) GetId() int64
- func (x *UpdateCommentContentReq) GetIsReview() int64
- func (x *UpdateCommentContentReq) GetParentId() int64
- func (x *UpdateCommentContentReq) GetReplyMsgId() int64
- func (x *UpdateCommentContentReq) GetReplyUserId() string
- func (x *UpdateCommentContentReq) GetStatus() int64
- func (x *UpdateCommentContentReq) GetTopicId() int64
- func (x *UpdateCommentContentReq) GetType() int64
- func (x *UpdateCommentContentReq) GetUserId() string
- func (*UpdateCommentContentReq) ProtoMessage()
- func (x *UpdateCommentContentReq) ProtoReflect() protoreflect.Message
- func (x *UpdateCommentContentReq) Reset()
- func (x *UpdateCommentContentReq) String() string
- type UpdateCommentReviewReq
- func (*UpdateCommentReviewReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCommentReviewReq) GetIds() []int64
- func (x *UpdateCommentReviewReq) GetIsReview() int64
- func (*UpdateCommentReviewReq) ProtoMessage()
- func (x *UpdateCommentReviewReq) ProtoReflect() protoreflect.Message
- func (x *UpdateCommentReviewReq) Reset()
- func (x *UpdateCommentReviewReq) String() string
- type UpdateRemarkReviewReq
- func (*UpdateRemarkReviewReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRemarkReviewReq) GetIds() []int64
- func (x *UpdateRemarkReviewReq) GetIsReview() int64
- func (*UpdateRemarkReviewReq) ProtoMessage()
- func (x *UpdateRemarkReviewReq) ProtoReflect() protoreflect.Message
- func (x *UpdateRemarkReviewReq) Reset()
- func (x *UpdateRemarkReviewReq) String() string
- type UserIdReq
Constants ¶
const ( MessageRpc_AnalysisMessage_FullMethodName = "/messagerpc.MessageRpc/AnalysisMessage" MessageRpc_AddChat_FullMethodName = "/messagerpc.MessageRpc/AddChat" MessageRpc_UpdateChat_FullMethodName = "/messagerpc.MessageRpc/UpdateChat" MessageRpc_DeletesChat_FullMethodName = "/messagerpc.MessageRpc/DeletesChat" MessageRpc_GetChat_FullMethodName = "/messagerpc.MessageRpc/GetChat" MessageRpc_FindChatList_FullMethodName = "/messagerpc.MessageRpc/FindChatList" MessageRpc_AddRemark_FullMethodName = "/messagerpc.MessageRpc/AddRemark" MessageRpc_UpdateRemark_FullMethodName = "/messagerpc.MessageRpc/UpdateRemark" MessageRpc_DeletesRemark_FullMethodName = "/messagerpc.MessageRpc/DeletesRemark" MessageRpc_GetRemark_FullMethodName = "/messagerpc.MessageRpc/GetRemark" MessageRpc_FindRemarkList_FullMethodName = "/messagerpc.MessageRpc/FindRemarkList" MessageRpc_UpdateRemarkReview_FullMethodName = "/messagerpc.MessageRpc/UpdateRemarkReview" MessageRpc_AddComment_FullMethodName = "/messagerpc.MessageRpc/AddComment" MessageRpc_DeleteComment_FullMethodName = "/messagerpc.MessageRpc/DeleteComment" MessageRpc_GetComment_FullMethodName = "/messagerpc.MessageRpc/GetComment" MessageRpc_FindCommentList_FullMethodName = "/messagerpc.MessageRpc/FindCommentList" MessageRpc_FindCommentReplyList_FullMethodName = "/messagerpc.MessageRpc/FindCommentReplyList" MessageRpc_FindTopicCommentCounts_FullMethodName = "/messagerpc.MessageRpc/FindTopicCommentCounts" MessageRpc_UpdateCommentReview_FullMethodName = "/messagerpc.MessageRpc/UpdateCommentReview" MessageRpc_UpdateCommentContent_FullMethodName = "/messagerpc.MessageRpc/UpdateCommentContent" MessageRpc_LikeComment_FullMethodName = "/messagerpc.MessageRpc/LikeComment" MessageRpc_FindUserLikeComment_FullMethodName = "/messagerpc.MessageRpc/FindUserLikeComment" )
Variables ¶
var File_message_proto protoreflect.FileDescriptor
var MessageRpc_ServiceDesc = grpc.ServiceDesc{ ServiceName: "messagerpc.MessageRpc", HandlerType: (*MessageRpcServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AnalysisMessage", Handler: _MessageRpc_AnalysisMessage_Handler, }, { MethodName: "AddChat", Handler: _MessageRpc_AddChat_Handler, }, { MethodName: "UpdateChat", Handler: _MessageRpc_UpdateChat_Handler, }, { MethodName: "DeletesChat", Handler: _MessageRpc_DeletesChat_Handler, }, { MethodName: "GetChat", Handler: _MessageRpc_GetChat_Handler, }, { MethodName: "FindChatList", Handler: _MessageRpc_FindChatList_Handler, }, { MethodName: "AddRemark", Handler: _MessageRpc_AddRemark_Handler, }, { MethodName: "UpdateRemark", Handler: _MessageRpc_UpdateRemark_Handler, }, { MethodName: "DeletesRemark", Handler: _MessageRpc_DeletesRemark_Handler, }, { MethodName: "GetRemark", Handler: _MessageRpc_GetRemark_Handler, }, { MethodName: "FindRemarkList", Handler: _MessageRpc_FindRemarkList_Handler, }, { MethodName: "UpdateRemarkReview", Handler: _MessageRpc_UpdateRemarkReview_Handler, }, { MethodName: "AddComment", Handler: _MessageRpc_AddComment_Handler, }, { MethodName: "DeleteComment", Handler: _MessageRpc_DeleteComment_Handler, }, { MethodName: "GetComment", Handler: _MessageRpc_GetComment_Handler, }, { MethodName: "FindCommentList", Handler: _MessageRpc_FindCommentList_Handler, }, { MethodName: "FindCommentReplyList", Handler: _MessageRpc_FindCommentReplyList_Handler, }, { MethodName: "FindTopicCommentCounts", Handler: _MessageRpc_FindTopicCommentCounts_Handler, }, { MethodName: "UpdateCommentReview", Handler: _MessageRpc_UpdateCommentReview_Handler, }, { MethodName: "UpdateCommentContent", Handler: _MessageRpc_UpdateCommentContent_Handler, }, { MethodName: "LikeComment", Handler: _MessageRpc_LikeComment_Handler, }, { MethodName: "FindUserLikeComment", Handler: _MessageRpc_FindUserLikeComment_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "message.proto", }
MessageRpc_ServiceDesc is the grpc.ServiceDesc for MessageRpc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMessageRpcServer ¶
func RegisterMessageRpcServer(s grpc.ServiceRegistrar, srv MessageRpcServer)
Types ¶
type AnalysisMessageResp ¶
type AnalysisMessageResp struct { RemarkCount int64 `protobuf:"varint,1,opt,name=remark_count,json=remarkCount,proto3" json:"remark_count,omitempty"` // contains filtered or unexported fields }
func (*AnalysisMessageResp) Descriptor
deprecated
func (*AnalysisMessageResp) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisMessageResp.ProtoReflect.Descriptor instead.
func (*AnalysisMessageResp) GetRemarkCount ¶
func (x *AnalysisMessageResp) GetRemarkCount() int64
func (*AnalysisMessageResp) ProtoMessage ¶
func (*AnalysisMessageResp) ProtoMessage()
func (*AnalysisMessageResp) ProtoReflect ¶
func (x *AnalysisMessageResp) ProtoReflect() protoreflect.Message
func (*AnalysisMessageResp) Reset ¶
func (x *AnalysisMessageResp) Reset()
func (*AnalysisMessageResp) String ¶
func (x *AnalysisMessageResp) String() string
type BatchResp ¶
type BatchResp struct { SuccessCount int64 `protobuf:"varint,1,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` // contains filtered or unexported fields }
func (*BatchResp) Descriptor
deprecated
func (*BatchResp) GetSuccessCount ¶
func (*BatchResp) ProtoMessage ¶
func (*BatchResp) ProtoMessage()
func (*BatchResp) ProtoReflect ¶
func (x *BatchResp) ProtoReflect() protoreflect.Message
type ChatDetails ¶
type ChatDetails struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 主键 UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id TerminalId string `protobuf:"bytes,3,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"` // 设备id IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // ip地址 IpSource string `protobuf:"bytes,5,opt,name=ip_source,json=ipSource,proto3" json:"ip_source,omitempty"` // ip来源 Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // 类型 Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` // 聊天内容 Status int64 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"` // 状态:0正常 1编辑 2撤回 3删除 CreatedAt int64 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间 UpdatedAt int64 `protobuf:"varint,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 更新时间 // contains filtered or unexported fields }
func (*ChatDetails) Descriptor
deprecated
func (*ChatDetails) Descriptor() ([]byte, []int)
Deprecated: Use ChatDetails.ProtoReflect.Descriptor instead.
func (*ChatDetails) GetContent ¶
func (x *ChatDetails) GetContent() string
func (*ChatDetails) GetCreatedAt ¶
func (x *ChatDetails) GetCreatedAt() int64
func (*ChatDetails) GetId ¶
func (x *ChatDetails) GetId() int64
func (*ChatDetails) GetIpAddress ¶
func (x *ChatDetails) GetIpAddress() string
func (*ChatDetails) GetIpSource ¶
func (x *ChatDetails) GetIpSource() string
func (*ChatDetails) GetStatus ¶
func (x *ChatDetails) GetStatus() int64
func (*ChatDetails) GetTerminalId ¶
func (x *ChatDetails) GetTerminalId() string
func (*ChatDetails) GetType ¶
func (x *ChatDetails) GetType() string
func (*ChatDetails) GetUpdatedAt ¶
func (x *ChatDetails) GetUpdatedAt() int64
func (*ChatDetails) GetUserId ¶
func (x *ChatDetails) GetUserId() string
func (*ChatDetails) ProtoMessage ¶
func (*ChatDetails) ProtoMessage()
func (*ChatDetails) ProtoReflect ¶
func (x *ChatDetails) ProtoReflect() protoreflect.Message
func (*ChatDetails) Reset ¶
func (x *ChatDetails) Reset()
func (*ChatDetails) String ¶
func (x *ChatDetails) String() string
type ChatNewReq ¶
type ChatNewReq struct { UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id TerminalId string `protobuf:"bytes,3,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"` // 设备id IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // ip地址 IpSource string `protobuf:"bytes,5,opt,name=ip_source,json=ipSource,proto3" json:"ip_source,omitempty"` // ip来源 Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // 类型 Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` // 聊天内容 // contains filtered or unexported fields }
************* blog 聊天记录 *************
func (*ChatNewReq) Descriptor
deprecated
func (*ChatNewReq) Descriptor() ([]byte, []int)
Deprecated: Use ChatNewReq.ProtoReflect.Descriptor instead.
func (*ChatNewReq) GetContent ¶
func (x *ChatNewReq) GetContent() string
func (*ChatNewReq) GetIpAddress ¶
func (x *ChatNewReq) GetIpAddress() string
func (*ChatNewReq) GetIpSource ¶
func (x *ChatNewReq) GetIpSource() string
func (*ChatNewReq) GetTerminalId ¶
func (x *ChatNewReq) GetTerminalId() string
func (*ChatNewReq) GetType ¶
func (x *ChatNewReq) GetType() string
func (*ChatNewReq) GetUserId ¶
func (x *ChatNewReq) GetUserId() string
func (*ChatNewReq) ProtoMessage ¶
func (*ChatNewReq) ProtoMessage()
func (*ChatNewReq) ProtoReflect ¶
func (x *ChatNewReq) ProtoReflect() protoreflect.Message
func (*ChatNewReq) Reset ¶
func (x *ChatNewReq) Reset()
func (*ChatNewReq) String ¶
func (x *ChatNewReq) String() string
type CommentDetails ¶
type CommentDetails struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 主键 UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 评论用户id TopicId int64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` // 主题id ParentId int64 `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父评论id ReplyMsgId int64 `protobuf:"varint,5,opt,name=reply_msg_id,json=replyMsgId,proto3" json:"reply_msg_id,omitempty"` // 会话id ReplyUserId string `protobuf:"bytes,6,opt,name=reply_user_id,json=replyUserId,proto3" json:"reply_user_id,omitempty"` // 评论回复用户id CommentContent string `protobuf:"bytes,7,opt,name=comment_content,json=commentContent,proto3" json:"comment_content,omitempty"` // 评论内容 Type int64 `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"` // 评论类型 1.文章 2.友链 3.说说 Status int64 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` // 状态 0.正常 1.已编辑 2.已删除 IsReview int64 `protobuf:"varint,10,opt,name=is_review,json=isReview,proto3" json:"is_review,omitempty"` // 是否审核 CreatedAt int64 `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 评论时间 UpdatedAt int64 `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 更新时间 LikeCount int64 `protobuf:"varint,13,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"` // 点赞数 IpAddress string `protobuf:"bytes,14,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // ip地址 127.0.0.1 IpSource string `protobuf:"bytes,15,opt,name=ip_source,json=ipSource,proto3" json:"ip_source,omitempty"` // ip来源 // contains filtered or unexported fields }
func (*CommentDetails) Descriptor
deprecated
func (*CommentDetails) Descriptor() ([]byte, []int)
Deprecated: Use CommentDetails.ProtoReflect.Descriptor instead.
func (*CommentDetails) GetCommentContent ¶
func (x *CommentDetails) GetCommentContent() string
func (*CommentDetails) GetCreatedAt ¶
func (x *CommentDetails) GetCreatedAt() int64
func (*CommentDetails) GetId ¶
func (x *CommentDetails) GetId() int64
func (*CommentDetails) GetIpAddress ¶
func (x *CommentDetails) GetIpAddress() string
func (*CommentDetails) GetIpSource ¶
func (x *CommentDetails) GetIpSource() string
func (*CommentDetails) GetIsReview ¶
func (x *CommentDetails) GetIsReview() int64
func (*CommentDetails) GetLikeCount ¶
func (x *CommentDetails) GetLikeCount() int64
func (*CommentDetails) GetParentId ¶
func (x *CommentDetails) GetParentId() int64
func (*CommentDetails) GetReplyMsgId ¶
func (x *CommentDetails) GetReplyMsgId() int64
func (*CommentDetails) GetReplyUserId ¶
func (x *CommentDetails) GetReplyUserId() string
func (*CommentDetails) GetStatus ¶
func (x *CommentDetails) GetStatus() int64
func (*CommentDetails) GetTopicId ¶
func (x *CommentDetails) GetTopicId() int64
func (*CommentDetails) GetType ¶
func (x *CommentDetails) GetType() int64
func (*CommentDetails) GetUpdatedAt ¶
func (x *CommentDetails) GetUpdatedAt() int64
func (*CommentDetails) GetUserId ¶
func (x *CommentDetails) GetUserId() string
func (*CommentDetails) ProtoMessage ¶
func (*CommentDetails) ProtoMessage()
func (*CommentDetails) ProtoReflect ¶
func (x *CommentDetails) ProtoReflect() protoreflect.Message
func (*CommentDetails) Reset ¶
func (x *CommentDetails) Reset()
func (*CommentDetails) String ¶
func (x *CommentDetails) String() string
type CommentNewReq ¶
type CommentNewReq struct { UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 评论用户id TopicId int64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` // 主题id ParentId int64 `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父评论id ReplyMsgId int64 `protobuf:"varint,5,opt,name=reply_msg_id,json=replyMsgId,proto3" json:"reply_msg_id,omitempty"` // 会话id ReplyUserId string `protobuf:"bytes,6,opt,name=reply_user_id,json=replyUserId,proto3" json:"reply_user_id,omitempty"` // 评论回复用户id CommentContent string `protobuf:"bytes,7,opt,name=comment_content,json=commentContent,proto3" json:"comment_content,omitempty"` // 评论内容 Type int64 `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"` // 评论类型 1.文章 2.友链 3.说说 Status int64 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` // 状态 0.正常 1.已编辑 2.已删除 IsReview int64 `protobuf:"varint,10,opt,name=is_review,json=isReview,proto3" json:"is_review,omitempty"` // 是否审核 // contains filtered or unexported fields }
************* blog 消息管理 *************
func (*CommentNewReq) Descriptor
deprecated
func (*CommentNewReq) Descriptor() ([]byte, []int)
Deprecated: Use CommentNewReq.ProtoReflect.Descriptor instead.
func (*CommentNewReq) GetCommentContent ¶
func (x *CommentNewReq) GetCommentContent() string
func (*CommentNewReq) GetIsReview ¶
func (x *CommentNewReq) GetIsReview() int64
func (*CommentNewReq) GetParentId ¶
func (x *CommentNewReq) GetParentId() int64
func (*CommentNewReq) GetReplyMsgId ¶
func (x *CommentNewReq) GetReplyMsgId() int64
func (*CommentNewReq) GetReplyUserId ¶
func (x *CommentNewReq) GetReplyUserId() string
func (*CommentNewReq) GetStatus ¶
func (x *CommentNewReq) GetStatus() int64
func (*CommentNewReq) GetTopicId ¶
func (x *CommentNewReq) GetTopicId() int64
func (*CommentNewReq) GetType ¶
func (x *CommentNewReq) GetType() int64
func (*CommentNewReq) GetUserId ¶
func (x *CommentNewReq) GetUserId() string
func (*CommentNewReq) ProtoMessage ¶
func (*CommentNewReq) ProtoMessage()
func (*CommentNewReq) ProtoReflect ¶
func (x *CommentNewReq) ProtoReflect() protoreflect.Message
func (*CommentNewReq) Reset ¶
func (x *CommentNewReq) Reset()
func (*CommentNewReq) String ¶
func (x *CommentNewReq) String() string
type EmptyReq ¶
type EmptyReq struct {
// contains filtered or unexported fields
}
func (*EmptyReq) Descriptor
deprecated
func (*EmptyReq) ProtoMessage ¶
func (*EmptyReq) ProtoMessage()
func (*EmptyReq) ProtoReflect ¶
func (x *EmptyReq) ProtoReflect() protoreflect.Message
type EmptyResp ¶
type EmptyResp struct {
// contains filtered or unexported fields
}
func (*EmptyResp) Descriptor
deprecated
func (*EmptyResp) ProtoMessage ¶
func (*EmptyResp) ProtoMessage()
func (*EmptyResp) ProtoReflect ¶
func (x *EmptyResp) ProtoReflect() protoreflect.Message
type FindChatListReq ¶
type FindChatListReq struct { After int64 `protobuf:"varint,101,opt,name=after,proto3" json:"after,omitempty"` Before int64 `protobuf:"varint,102,opt,name=before,proto3" json:"before,omitempty"` Limit int64 `protobuf:"varint,103,opt,name=limit,proto3" json:"limit,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // 类型 Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` // 聊天内容 Status int64 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"` // 状态:0正常 1编辑 2撤回 3删除 // contains filtered or unexported fields }
func (*FindChatListReq) Descriptor
deprecated
func (*FindChatListReq) Descriptor() ([]byte, []int)
Deprecated: Use FindChatListReq.ProtoReflect.Descriptor instead.
func (*FindChatListReq) GetAfter ¶
func (x *FindChatListReq) GetAfter() int64
func (*FindChatListReq) GetBefore ¶
func (x *FindChatListReq) GetBefore() int64
func (*FindChatListReq) GetContent ¶
func (x *FindChatListReq) GetContent() string
func (*FindChatListReq) GetLimit ¶
func (x *FindChatListReq) GetLimit() int64
func (*FindChatListReq) GetStatus ¶
func (x *FindChatListReq) GetStatus() int64
func (*FindChatListReq) GetType ¶
func (x *FindChatListReq) GetType() string
func (*FindChatListReq) GetUserId ¶
func (x *FindChatListReq) GetUserId() string
func (*FindChatListReq) ProtoMessage ¶
func (*FindChatListReq) ProtoMessage()
func (*FindChatListReq) ProtoReflect ¶
func (x *FindChatListReq) ProtoReflect() protoreflect.Message
func (*FindChatListReq) Reset ¶
func (x *FindChatListReq) Reset()
func (*FindChatListReq) String ¶
func (x *FindChatListReq) String() string
type FindChatListResp ¶
type FindChatListResp struct { List []*ChatDetails `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*FindChatListResp) Descriptor
deprecated
func (*FindChatListResp) Descriptor() ([]byte, []int)
Deprecated: Use FindChatListResp.ProtoReflect.Descriptor instead.
func (*FindChatListResp) GetList ¶
func (x *FindChatListResp) GetList() []*ChatDetails
func (*FindChatListResp) GetTotal ¶
func (x *FindChatListResp) GetTotal() int64
func (*FindChatListResp) ProtoMessage ¶
func (*FindChatListResp) ProtoMessage()
func (*FindChatListResp) ProtoReflect ¶
func (x *FindChatListResp) ProtoReflect() protoreflect.Message
func (*FindChatListResp) Reset ¶
func (x *FindChatListResp) Reset()
func (*FindChatListResp) String ¶
func (x *FindChatListResp) String() string
type FindCommentListReq ¶
type FindCommentListReq struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Sorts []string `protobuf:"bytes,3,rep,name=sorts,proto3" json:"sorts,omitempty"` // 排序 TopicId int64 `protobuf:"varint,4,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` // 主题id ParentId int64 `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父评论id ReplyMsgId int64 `protobuf:"varint,6,opt,name=reply_msg_id,json=replyMsgId,proto3" json:"reply_msg_id,omitempty"` // 会话id Type int64 `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"` // 评论类型 1.文章 2.友链 3.说说 // contains filtered or unexported fields }
func (*FindCommentListReq) Descriptor
deprecated
func (*FindCommentListReq) Descriptor() ([]byte, []int)
Deprecated: Use FindCommentListReq.ProtoReflect.Descriptor instead.
func (*FindCommentListReq) GetPage ¶
func (x *FindCommentListReq) GetPage() int64
func (*FindCommentListReq) GetPageSize ¶
func (x *FindCommentListReq) GetPageSize() int64
func (*FindCommentListReq) GetParentId ¶
func (x *FindCommentListReq) GetParentId() int64
func (*FindCommentListReq) GetReplyMsgId ¶
func (x *FindCommentListReq) GetReplyMsgId() int64
func (*FindCommentListReq) GetSorts ¶
func (x *FindCommentListReq) GetSorts() []string
func (*FindCommentListReq) GetTopicId ¶
func (x *FindCommentListReq) GetTopicId() int64
func (*FindCommentListReq) GetType ¶
func (x *FindCommentListReq) GetType() int64
func (*FindCommentListReq) ProtoMessage ¶
func (*FindCommentListReq) ProtoMessage()
func (*FindCommentListReq) ProtoReflect ¶
func (x *FindCommentListReq) ProtoReflect() protoreflect.Message
func (*FindCommentListReq) Reset ¶
func (x *FindCommentListReq) Reset()
func (*FindCommentListReq) String ¶
func (x *FindCommentListReq) String() string
type FindCommentListResp ¶
type FindCommentListResp struct { List []*CommentDetails `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*FindCommentListResp) Descriptor
deprecated
func (*FindCommentListResp) Descriptor() ([]byte, []int)
Deprecated: Use FindCommentListResp.ProtoReflect.Descriptor instead.
func (*FindCommentListResp) GetList ¶
func (x *FindCommentListResp) GetList() []*CommentDetails
func (*FindCommentListResp) GetTotal ¶
func (x *FindCommentListResp) GetTotal() int64
func (*FindCommentListResp) ProtoMessage ¶
func (*FindCommentListResp) ProtoMessage()
func (*FindCommentListResp) ProtoReflect ¶
func (x *FindCommentListResp) ProtoReflect() protoreflect.Message
func (*FindCommentListResp) Reset ¶
func (x *FindCommentListResp) Reset()
func (*FindCommentListResp) String ¶
func (x *FindCommentListResp) String() string
type FindCommentReplyListReq ¶
type FindCommentReplyListReq struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Sorts []string `protobuf:"bytes,3,rep,name=sorts,proto3" json:"sorts,omitempty"` // 排序 TopicId int64 `protobuf:"varint,4,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` // 主题id ParentId int64 `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父评论id ReplyMsgId int64 `protobuf:"varint,6,opt,name=reply_msg_id,json=replyMsgId,proto3" json:"reply_msg_id,omitempty"` // 会话id Type int64 `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"` // 评论类型 1.文章 2.友链 3.说说 // contains filtered or unexported fields }
func (*FindCommentReplyListReq) Descriptor
deprecated
func (*FindCommentReplyListReq) Descriptor() ([]byte, []int)
Deprecated: Use FindCommentReplyListReq.ProtoReflect.Descriptor instead.
func (*FindCommentReplyListReq) GetPage ¶
func (x *FindCommentReplyListReq) GetPage() int64
func (*FindCommentReplyListReq) GetPageSize ¶
func (x *FindCommentReplyListReq) GetPageSize() int64
func (*FindCommentReplyListReq) GetParentId ¶
func (x *FindCommentReplyListReq) GetParentId() int64
func (*FindCommentReplyListReq) GetReplyMsgId ¶
func (x *FindCommentReplyListReq) GetReplyMsgId() int64
func (*FindCommentReplyListReq) GetSorts ¶
func (x *FindCommentReplyListReq) GetSorts() []string
func (*FindCommentReplyListReq) GetTopicId ¶
func (x *FindCommentReplyListReq) GetTopicId() int64
func (*FindCommentReplyListReq) GetType ¶
func (x *FindCommentReplyListReq) GetType() int64
func (*FindCommentReplyListReq) ProtoMessage ¶
func (*FindCommentReplyListReq) ProtoMessage()
func (*FindCommentReplyListReq) ProtoReflect ¶
func (x *FindCommentReplyListReq) ProtoReflect() protoreflect.Message
func (*FindCommentReplyListReq) Reset ¶
func (x *FindCommentReplyListReq) Reset()
func (*FindCommentReplyListReq) String ¶
func (x *FindCommentReplyListReq) String() string
type FindCommentReplyListResp ¶
type FindCommentReplyListResp struct { List []*CommentDetails `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*FindCommentReplyListResp) Descriptor
deprecated
func (*FindCommentReplyListResp) Descriptor() ([]byte, []int)
Deprecated: Use FindCommentReplyListResp.ProtoReflect.Descriptor instead.
func (*FindCommentReplyListResp) GetList ¶
func (x *FindCommentReplyListResp) GetList() []*CommentDetails
func (*FindCommentReplyListResp) GetTotal ¶
func (x *FindCommentReplyListResp) GetTotal() int64
func (*FindCommentReplyListResp) ProtoMessage ¶
func (*FindCommentReplyListResp) ProtoMessage()
func (*FindCommentReplyListResp) ProtoReflect ¶
func (x *FindCommentReplyListResp) ProtoReflect() protoreflect.Message
func (*FindCommentReplyListResp) Reset ¶
func (x *FindCommentReplyListResp) Reset()
func (*FindCommentReplyListResp) String ¶
func (x *FindCommentReplyListResp) String() string
type FindLikeCommentResp ¶
type FindLikeCommentResp struct { LikeCommentList []int64 `protobuf:"varint,1,rep,packed,name=like_comment_list,json=likeCommentList,proto3" json:"like_comment_list,omitempty"` // contains filtered or unexported fields }
func (*FindLikeCommentResp) Descriptor
deprecated
func (*FindLikeCommentResp) Descriptor() ([]byte, []int)
Deprecated: Use FindLikeCommentResp.ProtoReflect.Descriptor instead.
func (*FindLikeCommentResp) GetLikeCommentList ¶
func (x *FindLikeCommentResp) GetLikeCommentList() []int64
func (*FindLikeCommentResp) ProtoMessage ¶
func (*FindLikeCommentResp) ProtoMessage()
func (*FindLikeCommentResp) ProtoReflect ¶
func (x *FindLikeCommentResp) ProtoReflect() protoreflect.Message
func (*FindLikeCommentResp) Reset ¶
func (x *FindLikeCommentResp) Reset()
func (*FindLikeCommentResp) String ¶
func (x *FindLikeCommentResp) String() string
type FindRemarkListReq ¶
type FindRemarkListReq struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Sorts []string `protobuf:"bytes,3,rep,name=sorts,proto3" json:"sorts,omitempty"` // 排序 Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称 IsReview int64 `protobuf:"varint,8,opt,name=is_review,json=isReview,proto3" json:"is_review,omitempty"` // 是否审核 // contains filtered or unexported fields }
func (*FindRemarkListReq) Descriptor
deprecated
func (*FindRemarkListReq) Descriptor() ([]byte, []int)
Deprecated: Use FindRemarkListReq.ProtoReflect.Descriptor instead.
func (*FindRemarkListReq) GetIsReview ¶
func (x *FindRemarkListReq) GetIsReview() int64
func (*FindRemarkListReq) GetNickname ¶
func (x *FindRemarkListReq) GetNickname() string
func (*FindRemarkListReq) GetPage ¶
func (x *FindRemarkListReq) GetPage() int64
func (*FindRemarkListReq) GetPageSize ¶
func (x *FindRemarkListReq) GetPageSize() int64
func (*FindRemarkListReq) GetSorts ¶
func (x *FindRemarkListReq) GetSorts() []string
func (*FindRemarkListReq) ProtoMessage ¶
func (*FindRemarkListReq) ProtoMessage()
func (*FindRemarkListReq) ProtoReflect ¶
func (x *FindRemarkListReq) ProtoReflect() protoreflect.Message
func (*FindRemarkListReq) Reset ¶
func (x *FindRemarkListReq) Reset()
func (*FindRemarkListReq) String ¶
func (x *FindRemarkListReq) String() string
type FindRemarkListResp ¶
type FindRemarkListResp struct { List []*RemarkDetails `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*FindRemarkListResp) Descriptor
deprecated
func (*FindRemarkListResp) Descriptor() ([]byte, []int)
Deprecated: Use FindRemarkListResp.ProtoReflect.Descriptor instead.
func (*FindRemarkListResp) GetList ¶
func (x *FindRemarkListResp) GetList() []*RemarkDetails
func (*FindRemarkListResp) GetTotal ¶
func (x *FindRemarkListResp) GetTotal() int64
func (*FindRemarkListResp) ProtoMessage ¶
func (*FindRemarkListResp) ProtoMessage()
func (*FindRemarkListResp) ProtoReflect ¶
func (x *FindRemarkListResp) ProtoReflect() protoreflect.Message
func (*FindRemarkListResp) Reset ¶
func (x *FindRemarkListResp) Reset()
func (*FindRemarkListResp) String ¶
func (x *FindRemarkListResp) String() string
type FindTopicCommentCountsReq ¶
type FindTopicCommentCountsReq struct { TopicIds []int64 `protobuf:"varint,1,rep,packed,name=topic_ids,json=topicIds,proto3" json:"topic_ids,omitempty"` // contains filtered or unexported fields }
func (*FindTopicCommentCountsReq) Descriptor
deprecated
func (*FindTopicCommentCountsReq) Descriptor() ([]byte, []int)
Deprecated: Use FindTopicCommentCountsReq.ProtoReflect.Descriptor instead.
func (*FindTopicCommentCountsReq) GetTopicIds ¶
func (x *FindTopicCommentCountsReq) GetTopicIds() []int64
func (*FindTopicCommentCountsReq) ProtoMessage ¶
func (*FindTopicCommentCountsReq) ProtoMessage()
func (*FindTopicCommentCountsReq) ProtoReflect ¶
func (x *FindTopicCommentCountsReq) ProtoReflect() protoreflect.Message
func (*FindTopicCommentCountsReq) Reset ¶
func (x *FindTopicCommentCountsReq) Reset()
func (*FindTopicCommentCountsReq) String ¶
func (x *FindTopicCommentCountsReq) String() string
type FindTopicCommentCountsResp ¶
type FindTopicCommentCountsResp struct { TopicCommentCounts map[int64]int64 `` /* 207-byte string literal not displayed */ // contains filtered or unexported fields }
func (*FindTopicCommentCountsResp) Descriptor
deprecated
func (*FindTopicCommentCountsResp) Descriptor() ([]byte, []int)
Deprecated: Use FindTopicCommentCountsResp.ProtoReflect.Descriptor instead.
func (*FindTopicCommentCountsResp) GetTopicCommentCounts ¶
func (x *FindTopicCommentCountsResp) GetTopicCommentCounts() map[int64]int64
func (*FindTopicCommentCountsResp) ProtoMessage ¶
func (*FindTopicCommentCountsResp) ProtoMessage()
func (*FindTopicCommentCountsResp) ProtoReflect ¶
func (x *FindTopicCommentCountsResp) ProtoReflect() protoreflect.Message
func (*FindTopicCommentCountsResp) Reset ¶
func (x *FindTopicCommentCountsResp) Reset()
func (*FindTopicCommentCountsResp) String ¶
func (x *FindTopicCommentCountsResp) String() string
type IdReq ¶
type IdReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*IdReq) Descriptor
deprecated
func (*IdReq) ProtoMessage ¶
func (*IdReq) ProtoMessage()
func (*IdReq) ProtoReflect ¶
func (x *IdReq) ProtoReflect() protoreflect.Message
type IdsReq ¶
type IdsReq struct { Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*IdsReq) Descriptor
deprecated
func (*IdsReq) ProtoMessage ¶
func (*IdsReq) ProtoMessage()
func (*IdsReq) ProtoReflect ¶
func (x *IdsReq) ProtoReflect() protoreflect.Message
type MessageRpcClient ¶
type MessageRpcClient 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) }
MessageRpcClient is the client API for MessageRpc service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMessageRpcClient ¶
func NewMessageRpcClient(cc grpc.ClientConnInterface) MessageRpcClient
type MessageRpcServer ¶
type MessageRpcServer interface { // 消息数据分析 AnalysisMessage(context.Context, *EmptyReq) (*AnalysisMessageResp, error) // 创建聊天记录 AddChat(context.Context, *ChatNewReq) (*ChatDetails, error) // 更新聊天记录 UpdateChat(context.Context, *ChatNewReq) (*ChatDetails, error) // 删除聊天记录 DeletesChat(context.Context, *IdsReq) (*BatchResp, error) // 查询聊天记录 GetChat(context.Context, *IdReq) (*ChatDetails, error) // 查询聊天记录列表 FindChatList(context.Context, *FindChatListReq) (*FindChatListResp, error) // 创建留言 AddRemark(context.Context, *RemarkNewReq) (*RemarkDetails, error) // 更新留言 UpdateRemark(context.Context, *RemarkUpdateReq) (*RemarkDetails, error) // 删除留言 DeletesRemark(context.Context, *IdsReq) (*BatchResp, error) // 查询留言 GetRemark(context.Context, *IdReq) (*RemarkDetails, error) // 查询留言列表 FindRemarkList(context.Context, *FindRemarkListReq) (*FindRemarkListResp, error) // 更新留言审核状态 UpdateRemarkReview(context.Context, *UpdateRemarkReviewReq) (*BatchResp, error) // 创建评论 AddComment(context.Context, *CommentNewReq) (*CommentDetails, error) // 删除评论 DeleteComment(context.Context, *IdsReq) (*BatchResp, error) // 查询评论 GetComment(context.Context, *IdReq) (*CommentDetails, error) // 查询评论列表 FindCommentList(context.Context, *FindCommentListReq) (*FindCommentListResp, error) // 查询评论回复列表 FindCommentReplyList(context.Context, *FindCommentReplyListReq) (*FindCommentReplyListResp, error) // 查询评论回复数量 FindTopicCommentCounts(context.Context, *IdsReq) (*FindTopicCommentCountsResp, error) // 更新评论审核状态 UpdateCommentReview(context.Context, *UpdateCommentReviewReq) (*BatchResp, error) // 更新评论 UpdateCommentContent(context.Context, *UpdateCommentContentReq) (*CommentDetails, error) // 点赞评论 LikeComment(context.Context, *IdReq) (*EmptyResp, error) // 用户点赞的评论 FindUserLikeComment(context.Context, *UserIdReq) (*FindLikeCommentResp, error) // contains filtered or unexported methods }
MessageRpcServer is the server API for MessageRpc service. All implementations must embed UnimplementedMessageRpcServer for forward compatibility
type RemarkDetails ¶
type RemarkDetails struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 主键id UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id MessageContent string `protobuf:"bytes,4,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 留言内容 IpAddress string `protobuf:"bytes,5,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // 用户ip IpSource string `protobuf:"bytes,6,opt,name=ip_source,json=ipSource,proto3" json:"ip_source,omitempty"` // 用户地址 IsReview int64 `protobuf:"varint,8,opt,name=is_review,json=isReview,proto3" json:"is_review,omitempty"` // 是否审核 CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 发布时间 UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 更新时间 // contains filtered or unexported fields }
func (*RemarkDetails) Descriptor
deprecated
func (*RemarkDetails) Descriptor() ([]byte, []int)
Deprecated: Use RemarkDetails.ProtoReflect.Descriptor instead.
func (*RemarkDetails) GetCreatedAt ¶
func (x *RemarkDetails) GetCreatedAt() int64
func (*RemarkDetails) GetId ¶
func (x *RemarkDetails) GetId() int64
func (*RemarkDetails) GetIpAddress ¶
func (x *RemarkDetails) GetIpAddress() string
func (*RemarkDetails) GetIpSource ¶
func (x *RemarkDetails) GetIpSource() string
func (*RemarkDetails) GetIsReview ¶
func (x *RemarkDetails) GetIsReview() int64
func (*RemarkDetails) GetMessageContent ¶
func (x *RemarkDetails) GetMessageContent() string
func (*RemarkDetails) GetUpdatedAt ¶
func (x *RemarkDetails) GetUpdatedAt() int64
func (*RemarkDetails) GetUserId ¶
func (x *RemarkDetails) GetUserId() string
func (*RemarkDetails) ProtoMessage ¶
func (*RemarkDetails) ProtoMessage()
func (*RemarkDetails) ProtoReflect ¶
func (x *RemarkDetails) ProtoReflect() protoreflect.Message
func (*RemarkDetails) Reset ¶
func (x *RemarkDetails) Reset()
func (*RemarkDetails) String ¶
func (x *RemarkDetails) String() string
type RemarkNewReq ¶
type RemarkNewReq struct { UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id MessageContent string `protobuf:"bytes,4,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // 留言内容 // contains filtered or unexported fields }
************* blog 留言 *************
func (*RemarkNewReq) Descriptor
deprecated
func (*RemarkNewReq) Descriptor() ([]byte, []int)
Deprecated: Use RemarkNewReq.ProtoReflect.Descriptor instead.
func (*RemarkNewReq) GetMessageContent ¶
func (x *RemarkNewReq) GetMessageContent() string
func (*RemarkNewReq) GetUserId ¶
func (x *RemarkNewReq) GetUserId() string
func (*RemarkNewReq) ProtoMessage ¶
func (*RemarkNewReq) ProtoMessage()
func (*RemarkNewReq) ProtoReflect ¶
func (x *RemarkNewReq) ProtoReflect() protoreflect.Message
func (*RemarkNewReq) Reset ¶
func (x *RemarkNewReq) Reset()
func (*RemarkNewReq) String ¶
func (x *RemarkNewReq) String() string
type RemarkUpdateReq ¶
type RemarkUpdateReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 主键id IsReview int64 `protobuf:"varint,8,opt,name=is_review,json=isReview,proto3" json:"is_review,omitempty"` // 是否审核 // contains filtered or unexported fields }
func (*RemarkUpdateReq) Descriptor
deprecated
func (*RemarkUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use RemarkUpdateReq.ProtoReflect.Descriptor instead.
func (*RemarkUpdateReq) GetId ¶
func (x *RemarkUpdateReq) GetId() int64
func (*RemarkUpdateReq) GetIsReview ¶
func (x *RemarkUpdateReq) GetIsReview() int64
func (*RemarkUpdateReq) ProtoMessage ¶
func (*RemarkUpdateReq) ProtoMessage()
func (*RemarkUpdateReq) ProtoReflect ¶
func (x *RemarkUpdateReq) ProtoReflect() protoreflect.Message
func (*RemarkUpdateReq) Reset ¶
func (x *RemarkUpdateReq) Reset()
func (*RemarkUpdateReq) String ¶
func (x *RemarkUpdateReq) String() string
type UnimplementedMessageRpcServer ¶
type UnimplementedMessageRpcServer struct { }
UnimplementedMessageRpcServer must be embedded to have forward compatible implementations.
func (UnimplementedMessageRpcServer) AddChat ¶
func (UnimplementedMessageRpcServer) AddChat(context.Context, *ChatNewReq) (*ChatDetails, error)
func (UnimplementedMessageRpcServer) AddComment ¶
func (UnimplementedMessageRpcServer) AddComment(context.Context, *CommentNewReq) (*CommentDetails, error)
func (UnimplementedMessageRpcServer) AddRemark ¶
func (UnimplementedMessageRpcServer) AddRemark(context.Context, *RemarkNewReq) (*RemarkDetails, error)
func (UnimplementedMessageRpcServer) AnalysisMessage ¶
func (UnimplementedMessageRpcServer) AnalysisMessage(context.Context, *EmptyReq) (*AnalysisMessageResp, error)
func (UnimplementedMessageRpcServer) DeleteComment ¶
func (UnimplementedMessageRpcServer) DeletesChat ¶
func (UnimplementedMessageRpcServer) DeletesRemark ¶
func (UnimplementedMessageRpcServer) FindChatList ¶
func (UnimplementedMessageRpcServer) FindChatList(context.Context, *FindChatListReq) (*FindChatListResp, error)
func (UnimplementedMessageRpcServer) FindCommentList ¶
func (UnimplementedMessageRpcServer) FindCommentList(context.Context, *FindCommentListReq) (*FindCommentListResp, error)
func (UnimplementedMessageRpcServer) FindCommentReplyList ¶
func (UnimplementedMessageRpcServer) FindCommentReplyList(context.Context, *FindCommentReplyListReq) (*FindCommentReplyListResp, error)
func (UnimplementedMessageRpcServer) FindRemarkList ¶
func (UnimplementedMessageRpcServer) FindRemarkList(context.Context, *FindRemarkListReq) (*FindRemarkListResp, error)
func (UnimplementedMessageRpcServer) FindTopicCommentCounts ¶
func (UnimplementedMessageRpcServer) FindTopicCommentCounts(context.Context, *IdsReq) (*FindTopicCommentCountsResp, error)
func (UnimplementedMessageRpcServer) FindUserLikeComment ¶
func (UnimplementedMessageRpcServer) FindUserLikeComment(context.Context, *UserIdReq) (*FindLikeCommentResp, error)
func (UnimplementedMessageRpcServer) GetChat ¶
func (UnimplementedMessageRpcServer) GetChat(context.Context, *IdReq) (*ChatDetails, error)
func (UnimplementedMessageRpcServer) GetComment ¶
func (UnimplementedMessageRpcServer) GetComment(context.Context, *IdReq) (*CommentDetails, error)
func (UnimplementedMessageRpcServer) GetRemark ¶
func (UnimplementedMessageRpcServer) GetRemark(context.Context, *IdReq) (*RemarkDetails, error)
func (UnimplementedMessageRpcServer) LikeComment ¶
func (UnimplementedMessageRpcServer) UpdateChat ¶
func (UnimplementedMessageRpcServer) UpdateChat(context.Context, *ChatNewReq) (*ChatDetails, error)
func (UnimplementedMessageRpcServer) UpdateCommentContent ¶
func (UnimplementedMessageRpcServer) UpdateCommentContent(context.Context, *UpdateCommentContentReq) (*CommentDetails, error)
func (UnimplementedMessageRpcServer) UpdateCommentReview ¶
func (UnimplementedMessageRpcServer) UpdateCommentReview(context.Context, *UpdateCommentReviewReq) (*BatchResp, error)
func (UnimplementedMessageRpcServer) UpdateRemark ¶
func (UnimplementedMessageRpcServer) UpdateRemark(context.Context, *RemarkUpdateReq) (*RemarkDetails, error)
func (UnimplementedMessageRpcServer) UpdateRemarkReview ¶
func (UnimplementedMessageRpcServer) UpdateRemarkReview(context.Context, *UpdateRemarkReviewReq) (*BatchResp, error)
type UnsafeMessageRpcServer ¶
type UnsafeMessageRpcServer interface {
// contains filtered or unexported methods
}
UnsafeMessageRpcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MessageRpcServer will result in compilation errors.
type UpdateCommentContentReq ¶
type UpdateCommentContentReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 主键 UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 评论用户id TopicId int64 `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"` // 主题id ParentId int64 `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // 父评论id ReplyMsgId int64 `protobuf:"varint,5,opt,name=reply_msg_id,json=replyMsgId,proto3" json:"reply_msg_id,omitempty"` // 会话id ReplyUserId string `protobuf:"bytes,6,opt,name=reply_user_id,json=replyUserId,proto3" json:"reply_user_id,omitempty"` // 评论回复用户id CommentContent string `protobuf:"bytes,7,opt,name=comment_content,json=commentContent,proto3" json:"comment_content,omitempty"` // 评论内容 Type int64 `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"` // 评论类型 1.文章 2.友链 3.说说 Status int64 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` // 状态 0.正常 1.已编辑 2.已删除 IsReview int64 `protobuf:"varint,10,opt,name=is_review,json=isReview,proto3" json:"is_review,omitempty"` // 是否审核 // contains filtered or unexported fields }
func (*UpdateCommentContentReq) Descriptor
deprecated
func (*UpdateCommentContentReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCommentContentReq.ProtoReflect.Descriptor instead.
func (*UpdateCommentContentReq) GetCommentContent ¶
func (x *UpdateCommentContentReq) GetCommentContent() string
func (*UpdateCommentContentReq) GetId ¶
func (x *UpdateCommentContentReq) GetId() int64
func (*UpdateCommentContentReq) GetIsReview ¶
func (x *UpdateCommentContentReq) GetIsReview() int64
func (*UpdateCommentContentReq) GetParentId ¶
func (x *UpdateCommentContentReq) GetParentId() int64
func (*UpdateCommentContentReq) GetReplyMsgId ¶
func (x *UpdateCommentContentReq) GetReplyMsgId() int64
func (*UpdateCommentContentReq) GetReplyUserId ¶
func (x *UpdateCommentContentReq) GetReplyUserId() string
func (*UpdateCommentContentReq) GetStatus ¶
func (x *UpdateCommentContentReq) GetStatus() int64
func (*UpdateCommentContentReq) GetTopicId ¶
func (x *UpdateCommentContentReq) GetTopicId() int64
func (*UpdateCommentContentReq) GetType ¶
func (x *UpdateCommentContentReq) GetType() int64
func (*UpdateCommentContentReq) GetUserId ¶
func (x *UpdateCommentContentReq) GetUserId() string
func (*UpdateCommentContentReq) ProtoMessage ¶
func (*UpdateCommentContentReq) ProtoMessage()
func (*UpdateCommentContentReq) ProtoReflect ¶
func (x *UpdateCommentContentReq) ProtoReflect() protoreflect.Message
func (*UpdateCommentContentReq) Reset ¶
func (x *UpdateCommentContentReq) Reset()
func (*UpdateCommentContentReq) String ¶
func (x *UpdateCommentContentReq) String() string
type UpdateCommentReviewReq ¶
type UpdateCommentReviewReq struct { Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // 主键 IsReview int64 `protobuf:"varint,2,opt,name=is_review,json=isReview,proto3" json:"is_review,omitempty"` // 是否审核 // contains filtered or unexported fields }
func (*UpdateCommentReviewReq) Descriptor
deprecated
func (*UpdateCommentReviewReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCommentReviewReq.ProtoReflect.Descriptor instead.
func (*UpdateCommentReviewReq) GetIds ¶
func (x *UpdateCommentReviewReq) GetIds() []int64
func (*UpdateCommentReviewReq) GetIsReview ¶
func (x *UpdateCommentReviewReq) GetIsReview() int64
func (*UpdateCommentReviewReq) ProtoMessage ¶
func (*UpdateCommentReviewReq) ProtoMessage()
func (*UpdateCommentReviewReq) ProtoReflect ¶
func (x *UpdateCommentReviewReq) ProtoReflect() protoreflect.Message
func (*UpdateCommentReviewReq) Reset ¶
func (x *UpdateCommentReviewReq) Reset()
func (*UpdateCommentReviewReq) String ¶
func (x *UpdateCommentReviewReq) String() string
type UpdateRemarkReviewReq ¶
type UpdateRemarkReviewReq struct { Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // 主键 IsReview int64 `protobuf:"varint,2,opt,name=is_review,json=isReview,proto3" json:"is_review,omitempty"` // 是否审核 // contains filtered or unexported fields }
func (*UpdateRemarkReviewReq) Descriptor
deprecated
func (*UpdateRemarkReviewReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRemarkReviewReq.ProtoReflect.Descriptor instead.
func (*UpdateRemarkReviewReq) GetIds ¶
func (x *UpdateRemarkReviewReq) GetIds() []int64
func (*UpdateRemarkReviewReq) GetIsReview ¶
func (x *UpdateRemarkReviewReq) GetIsReview() int64
func (*UpdateRemarkReviewReq) ProtoMessage ¶
func (*UpdateRemarkReviewReq) ProtoMessage()
func (*UpdateRemarkReviewReq) ProtoReflect ¶
func (x *UpdateRemarkReviewReq) ProtoReflect() protoreflect.Message
func (*UpdateRemarkReviewReq) Reset ¶
func (x *UpdateRemarkReviewReq) Reset()
func (*UpdateRemarkReviewReq) String ¶
func (x *UpdateRemarkReviewReq) String() string
type UserIdReq ¶
type UserIdReq struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UserIdReq) Descriptor
deprecated
func (*UserIdReq) ProtoMessage ¶
func (*UserIdReq) ProtoMessage()
func (*UserIdReq) ProtoReflect ¶
func (x *UserIdReq) ProtoReflect() protoreflect.Message