Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchResp ¶
type BatchResp = messagerpc.BatchResp
type ChatMessageDetails ¶
type ChatMessageDetails = messagerpc.ChatMessageDetails
type ChatMessageNewReq ¶
type ChatMessageNewReq = messagerpc.ChatMessageNewReq
type EmptyReq ¶
type EmptyReq = messagerpc.EmptyReq
type EmptyResp ¶
type EmptyResp = messagerpc.EmptyResp
type FindChatMessageListReq ¶
type FindChatMessageListReq = messagerpc.FindChatMessageListReq
type FindChatMessageListResp ¶
type FindChatMessageListResp = messagerpc.FindChatMessageListResp
type FindRemarkListReq ¶
type FindRemarkListReq = messagerpc.FindRemarkListReq
type FindRemarkListResp ¶
type FindRemarkListResp = messagerpc.FindRemarkListResp
type IdReq ¶
type IdReq = messagerpc.IdReq
type IdsReq ¶
type IdsReq = messagerpc.IdsReq
type MessageRpc ¶
type MessageRpc interface { // 创建聊天记录 AddChatMessage(ctx context.Context, in *ChatMessageNewReq, opts ...grpc.CallOption) (*ChatMessageDetails, error) // 更新聊天记录 UpdateChatMessage(ctx context.Context, in *ChatMessageNewReq, opts ...grpc.CallOption) (*ChatMessageDetails, error) // 删除聊天记录 DeletesChatMessage(ctx context.Context, in *IdsReq, opts ...grpc.CallOption) (*BatchResp, error) // 查询聊天记录 GetChatMessage(ctx context.Context, in *IdReq, opts ...grpc.CallOption) (*ChatMessageDetails, error) // 查询聊天记录列表 FindChatMessageList(ctx context.Context, in *FindChatMessageListReq, opts ...grpc.CallOption) (*FindChatMessageListResp, 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) }
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
Click to show internal directories.
Click to hide internal directories.