Documentation
¶
Index ¶
- Variables
- func RegisterImUserServiceServer(s grpc.ServiceRegistrar, srv ImUserServiceServer)
- type CommonResp
- type GetGroupMemberIDListFromCacheReq
- func (*GetGroupMemberIDListFromCacheReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupMemberIDListFromCacheReq) GetGroupID() string
- func (*GetGroupMemberIDListFromCacheReq) ProtoMessage()
- func (x *GetGroupMemberIDListFromCacheReq) ProtoReflect() protoreflect.Message
- func (x *GetGroupMemberIDListFromCacheReq) Reset()
- func (x *GetGroupMemberIDListFromCacheReq) String() string
- type GetGroupMemberIDListFromCacheResp
- func (*GetGroupMemberIDListFromCacheResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupMemberIDListFromCacheResp) GetCommonResp() *CommonResp
- func (x *GetGroupMemberIDListFromCacheResp) GetMemberIDList() []string
- func (*GetGroupMemberIDListFromCacheResp) ProtoMessage()
- func (x *GetGroupMemberIDListFromCacheResp) ProtoReflect() protoreflect.Message
- func (x *GetGroupMemberIDListFromCacheResp) Reset()
- func (x *GetGroupMemberIDListFromCacheResp) String() string
- type GetSingleConversationRecvMsgOptsReq
- func (*GetSingleConversationRecvMsgOptsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetSingleConversationRecvMsgOptsReq) GetSenderUserID() string
- func (x *GetSingleConversationRecvMsgOptsReq) GetUserID() string
- func (*GetSingleConversationRecvMsgOptsReq) ProtoMessage()
- func (x *GetSingleConversationRecvMsgOptsReq) ProtoReflect() protoreflect.Message
- func (x *GetSingleConversationRecvMsgOptsReq) Reset()
- func (x *GetSingleConversationRecvMsgOptsReq) String() string
- type GetSingleConversationRecvMsgOptsResp
- func (*GetSingleConversationRecvMsgOptsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetSingleConversationRecvMsgOptsResp) GetCommonResp() *CommonResp
- func (x *GetSingleConversationRecvMsgOptsResp) GetOpts() RecvMsgOpt
- func (*GetSingleConversationRecvMsgOptsResp) ProtoMessage()
- func (x *GetSingleConversationRecvMsgOptsResp) ProtoReflect() protoreflect.Message
- func (x *GetSingleConversationRecvMsgOptsResp) Reset()
- func (x *GetSingleConversationRecvMsgOptsResp) String() string
- type GetUserListFromGroupWithOptReq
- func (*GetUserListFromGroupWithOptReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserListFromGroupWithOptReq) GetGroupID() string
- func (x *GetUserListFromGroupWithOptReq) GetOpts() []RecvMsgOpt
- func (x *GetUserListFromGroupWithOptReq) GetUserIDList() []string
- func (*GetUserListFromGroupWithOptReq) ProtoMessage()
- func (x *GetUserListFromGroupWithOptReq) ProtoReflect() protoreflect.Message
- func (x *GetUserListFromGroupWithOptReq) Reset()
- func (x *GetUserListFromGroupWithOptReq) String() string
- type GetUserListFromGroupWithOptResp
- func (*GetUserListFromGroupWithOptResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserListFromGroupWithOptResp) GetCommonResp() *CommonResp
- func (x *GetUserListFromGroupWithOptResp) GetUserIDOptList() []*UserIDOpt
- func (*GetUserListFromGroupWithOptResp) ProtoMessage()
- func (x *GetUserListFromGroupWithOptResp) ProtoReflect() protoreflect.Message
- func (x *GetUserListFromGroupWithOptResp) Reset()
- func (x *GetUserListFromGroupWithOptResp) String() string
- type IfAInBBlacklistReq
- func (*IfAInBBlacklistReq) Descriptor() ([]byte, []int)deprecated
- func (x *IfAInBBlacklistReq) GetAUserID() string
- func (x *IfAInBBlacklistReq) GetBUserID() string
- func (*IfAInBBlacklistReq) ProtoMessage()
- func (x *IfAInBBlacklistReq) ProtoReflect() protoreflect.Message
- func (x *IfAInBBlacklistReq) Reset()
- func (x *IfAInBBlacklistReq) String() string
- type IfAInBBlacklistResp
- func (*IfAInBBlacklistResp) Descriptor() ([]byte, []int)deprecated
- func (x *IfAInBBlacklistResp) GetCommonResp() *CommonResp
- func (x *IfAInBBlacklistResp) GetIsInBlacklist() bool
- func (*IfAInBBlacklistResp) ProtoMessage()
- func (x *IfAInBBlacklistResp) ProtoReflect() protoreflect.Message
- func (x *IfAInBBlacklistResp) Reset()
- func (x *IfAInBBlacklistResp) String() string
- type IfAInBFriendListReq
- func (*IfAInBFriendListReq) Descriptor() ([]byte, []int)deprecated
- func (x *IfAInBFriendListReq) GetAUserID() string
- func (x *IfAInBFriendListReq) GetBUserID() string
- func (*IfAInBFriendListReq) ProtoMessage()
- func (x *IfAInBFriendListReq) ProtoReflect() protoreflect.Message
- func (x *IfAInBFriendListReq) Reset()
- func (x *IfAInBFriendListReq) String() string
- type IfAInBFriendListResp
- func (*IfAInBFriendListResp) Descriptor() ([]byte, []int)deprecated
- func (x *IfAInBFriendListResp) GetCommonResp() *CommonResp
- func (x *IfAInBFriendListResp) GetIsInFriendList() bool
- func (*IfAInBFriendListResp) ProtoMessage()
- func (x *IfAInBFriendListResp) ProtoReflect() protoreflect.Message
- func (x *IfAInBFriendListResp) Reset()
- func (x *IfAInBFriendListResp) String() string
- type IfPreviewMessageReq
- func (*IfPreviewMessageReq) Descriptor() ([]byte, []int)deprecated
- func (x *IfPreviewMessageReq) GetGroupID() string
- func (x *IfPreviewMessageReq) GetReceiverID() string
- func (x *IfPreviewMessageReq) GetSenderID() string
- func (*IfPreviewMessageReq) ProtoMessage()
- func (x *IfPreviewMessageReq) ProtoReflect() protoreflect.Message
- func (x *IfPreviewMessageReq) Reset()
- func (x *IfPreviewMessageReq) String() string
- type IfPreviewMessageResp
- func (*IfPreviewMessageResp) Descriptor() ([]byte, []int)deprecated
- func (x *IfPreviewMessageResp) GetCommonResp() *CommonResp
- func (x *IfPreviewMessageResp) GetIfPreview() bool
- func (x *IfPreviewMessageResp) GetReplaceTitle() string
- func (*IfPreviewMessageResp) ProtoMessage()
- func (x *IfPreviewMessageResp) ProtoReflect() protoreflect.Message
- func (x *IfPreviewMessageResp) Reset()
- func (x *IfPreviewMessageResp) String() string
- type ImUserServiceClient
- type ImUserServiceServer
- type RecvMsgOpt
- type UnimplementedImUserServiceServer
- func (UnimplementedImUserServiceServer) GetSingleConversationRecvMsgOpts(context.Context, *GetSingleConversationRecvMsgOptsReq) (*GetSingleConversationRecvMsgOptsResp, error)
- func (UnimplementedImUserServiceServer) GetUserListFromGroupWithOpt(context.Context, *GetUserListFromGroupWithOptReq) (*GetUserListFromGroupWithOptResp, error)
- func (UnimplementedImUserServiceServer) IfAInBBlacklist(context.Context, *IfAInBBlacklistReq) (*IfAInBBlacklistResp, error)
- func (UnimplementedImUserServiceServer) IfAInBFriendList(context.Context, *IfAInBFriendListReq) (*IfAInBFriendListResp, error)
- func (UnimplementedImUserServiceServer) IfPreviewMessage(context.Context, *IfPreviewMessageReq) (*IfPreviewMessageResp, error)
- func (UnimplementedImUserServiceServer) VerifyToken(context.Context, *VerifyTokenReq) (*VerifyTokenResp, error)
- type UnsafeImUserServiceServer
- type UserIDOpt
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetAppMangerLevel() int32
- func (x *UserInfo) GetBirth() uint32
- func (x *UserInfo) GetCreateTime() uint32
- func (x *UserInfo) GetEmail() string
- func (x *UserInfo) GetEx() string
- func (x *UserInfo) GetFaceURL() string
- func (x *UserInfo) GetGender() int32
- func (x *UserInfo) GetNickname() string
- func (x *UserInfo) GetPhoneNumber() string
- func (x *UserInfo) GetUserID() string
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- type VerifyTokenReq
- func (*VerifyTokenReq) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyTokenReq) GetPlatform() string
- func (x *VerifyTokenReq) GetSendID() string
- func (x *VerifyTokenReq) GetToken() string
- func (*VerifyTokenReq) ProtoMessage()
- func (x *VerifyTokenReq) ProtoReflect() protoreflect.Message
- func (x *VerifyTokenReq) Reset()
- func (x *VerifyTokenReq) String() string
- type VerifyTokenResp
- func (*VerifyTokenResp) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyTokenResp) GetErrMsg() string
- func (x *VerifyTokenResp) GetSuccess() bool
- func (x *VerifyTokenResp) GetUid() string
- func (*VerifyTokenResp) ProtoMessage()
- func (x *VerifyTokenResp) ProtoReflect() protoreflect.Message
- func (x *VerifyTokenResp) Reset()
- func (x *VerifyTokenResp) String() string
Constants ¶
This section is empty.
Variables ¶
var ( RecvMsgOpt_name = map[int32]string{ 0: "ReceiveMessage", 1: "NotReceiveMessage", 2: "ReceiveNotNotifyMessage", } RecvMsgOpt_value = map[string]int32{ "ReceiveMessage": 0, "NotReceiveMessage": 1, "ReceiveNotNotifyMessage": 2, } )
Enum value maps for RecvMsgOpt.
var File_im_user_proto protoreflect.FileDescriptor
var ImUserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "imuser.imUserService", HandlerType: (*ImUserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IfAInBBlacklist", Handler: _ImUserService_IfAInBBlacklist_Handler, }, { MethodName: "IfAInBFriendList", Handler: _ImUserService_IfAInBFriendList_Handler, }, { MethodName: "GetSingleConversationRecvMsgOpts", Handler: _ImUserService_GetSingleConversationRecvMsgOpts_Handler, }, { MethodName: "GetUserListFromGroupWithOpt", Handler: _ImUserService_GetUserListFromGroupWithOpt_Handler, }, { MethodName: "VerifyToken", Handler: _ImUserService_VerifyToken_Handler, }, { MethodName: "IfPreviewMessage", Handler: _ImUserService_IfPreviewMessage_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "im-user.proto", }
ImUserService_ServiceDesc is the grpc.ServiceDesc for ImUserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterImUserServiceServer ¶
func RegisterImUserServiceServer(s grpc.ServiceRegistrar, srv ImUserServiceServer)
Types ¶
type CommonResp ¶
type CommonResp struct {
ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"`
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
// contains filtered or unexported fields
}
func (*CommonResp) Descriptor
deprecated
func (*CommonResp) Descriptor() ([]byte, []int)
Deprecated: Use CommonResp.ProtoReflect.Descriptor instead.
func (*CommonResp) GetErrCode ¶
func (x *CommonResp) GetErrCode() int32
func (*CommonResp) GetErrMsg ¶
func (x *CommonResp) GetErrMsg() string
func (*CommonResp) ProtoMessage ¶
func (*CommonResp) ProtoMessage()
func (*CommonResp) ProtoReflect ¶
func (x *CommonResp) ProtoReflect() protoreflect.Message
func (*CommonResp) Reset ¶
func (x *CommonResp) Reset()
func (*CommonResp) String ¶
func (x *CommonResp) String() string
type GetGroupMemberIDListFromCacheReq ¶
type GetGroupMemberIDListFromCacheReq struct {
GroupID string `protobuf:"bytes,1,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
// contains filtered or unexported fields
}
func (*GetGroupMemberIDListFromCacheReq) Descriptor
deprecated
func (*GetGroupMemberIDListFromCacheReq) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupMemberIDListFromCacheReq.ProtoReflect.Descriptor instead.
func (*GetGroupMemberIDListFromCacheReq) GetGroupID ¶
func (x *GetGroupMemberIDListFromCacheReq) GetGroupID() string
func (*GetGroupMemberIDListFromCacheReq) ProtoMessage ¶
func (*GetGroupMemberIDListFromCacheReq) ProtoMessage()
func (*GetGroupMemberIDListFromCacheReq) ProtoReflect ¶
func (x *GetGroupMemberIDListFromCacheReq) ProtoReflect() protoreflect.Message
func (*GetGroupMemberIDListFromCacheReq) Reset ¶
func (x *GetGroupMemberIDListFromCacheReq) Reset()
func (*GetGroupMemberIDListFromCacheReq) String ¶
func (x *GetGroupMemberIDListFromCacheReq) String() string
type GetGroupMemberIDListFromCacheResp ¶
type GetGroupMemberIDListFromCacheResp struct {
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
MemberIDList []string `protobuf:"bytes,2,rep,name=memberIDList,proto3" json:"memberIDList,omitempty"`
// contains filtered or unexported fields
}
func (*GetGroupMemberIDListFromCacheResp) Descriptor
deprecated
func (*GetGroupMemberIDListFromCacheResp) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupMemberIDListFromCacheResp.ProtoReflect.Descriptor instead.
func (*GetGroupMemberIDListFromCacheResp) GetCommonResp ¶
func (x *GetGroupMemberIDListFromCacheResp) GetCommonResp() *CommonResp
func (*GetGroupMemberIDListFromCacheResp) GetMemberIDList ¶
func (x *GetGroupMemberIDListFromCacheResp) GetMemberIDList() []string
func (*GetGroupMemberIDListFromCacheResp) ProtoMessage ¶
func (*GetGroupMemberIDListFromCacheResp) ProtoMessage()
func (*GetGroupMemberIDListFromCacheResp) ProtoReflect ¶
func (x *GetGroupMemberIDListFromCacheResp) ProtoReflect() protoreflect.Message
func (*GetGroupMemberIDListFromCacheResp) Reset ¶
func (x *GetGroupMemberIDListFromCacheResp) Reset()
func (*GetGroupMemberIDListFromCacheResp) String ¶
func (x *GetGroupMemberIDListFromCacheResp) String() string
type GetSingleConversationRecvMsgOptsReq ¶
type GetSingleConversationRecvMsgOptsReq struct {
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
SenderUserID string `protobuf:"bytes,2,opt,name=senderUserID,proto3" json:"senderUserID,omitempty"`
// contains filtered or unexported fields
}
func (*GetSingleConversationRecvMsgOptsReq) Descriptor
deprecated
func (*GetSingleConversationRecvMsgOptsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetSingleConversationRecvMsgOptsReq.ProtoReflect.Descriptor instead.
func (*GetSingleConversationRecvMsgOptsReq) GetSenderUserID ¶
func (x *GetSingleConversationRecvMsgOptsReq) GetSenderUserID() string
func (*GetSingleConversationRecvMsgOptsReq) GetUserID ¶
func (x *GetSingleConversationRecvMsgOptsReq) GetUserID() string
func (*GetSingleConversationRecvMsgOptsReq) ProtoMessage ¶
func (*GetSingleConversationRecvMsgOptsReq) ProtoMessage()
func (*GetSingleConversationRecvMsgOptsReq) ProtoReflect ¶
func (x *GetSingleConversationRecvMsgOptsReq) ProtoReflect() protoreflect.Message
func (*GetSingleConversationRecvMsgOptsReq) Reset ¶
func (x *GetSingleConversationRecvMsgOptsReq) Reset()
func (*GetSingleConversationRecvMsgOptsReq) String ¶
func (x *GetSingleConversationRecvMsgOptsReq) String() string
type GetSingleConversationRecvMsgOptsResp ¶
type GetSingleConversationRecvMsgOptsResp struct {
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
Opts RecvMsgOpt `protobuf:"varint,2,opt,name=opts,proto3,enum=imuser.RecvMsgOpt" json:"opts,omitempty"`
// contains filtered or unexported fields
}
func (*GetSingleConversationRecvMsgOptsResp) Descriptor
deprecated
func (*GetSingleConversationRecvMsgOptsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetSingleConversationRecvMsgOptsResp.ProtoReflect.Descriptor instead.
func (*GetSingleConversationRecvMsgOptsResp) GetCommonResp ¶
func (x *GetSingleConversationRecvMsgOptsResp) GetCommonResp() *CommonResp
func (*GetSingleConversationRecvMsgOptsResp) GetOpts ¶
func (x *GetSingleConversationRecvMsgOptsResp) GetOpts() RecvMsgOpt
func (*GetSingleConversationRecvMsgOptsResp) ProtoMessage ¶
func (*GetSingleConversationRecvMsgOptsResp) ProtoMessage()
func (*GetSingleConversationRecvMsgOptsResp) ProtoReflect ¶
func (x *GetSingleConversationRecvMsgOptsResp) ProtoReflect() protoreflect.Message
func (*GetSingleConversationRecvMsgOptsResp) Reset ¶
func (x *GetSingleConversationRecvMsgOptsResp) Reset()
func (*GetSingleConversationRecvMsgOptsResp) String ¶
func (x *GetSingleConversationRecvMsgOptsResp) String() string
type GetUserListFromGroupWithOptReq ¶
type GetUserListFromGroupWithOptReq struct {
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
Opts []RecvMsgOpt `protobuf:"varint,2,rep,packed,name=opts,proto3,enum=imuser.RecvMsgOpt" json:"opts,omitempty"`
UserIDList []string `protobuf:"bytes,3,rep,name=userIDList,proto3" json:"userIDList,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserListFromGroupWithOptReq) Descriptor
deprecated
func (*GetUserListFromGroupWithOptReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserListFromGroupWithOptReq.ProtoReflect.Descriptor instead.
func (*GetUserListFromGroupWithOptReq) GetGroupID ¶
func (x *GetUserListFromGroupWithOptReq) GetGroupID() string
func (*GetUserListFromGroupWithOptReq) GetOpts ¶
func (x *GetUserListFromGroupWithOptReq) GetOpts() []RecvMsgOpt
func (*GetUserListFromGroupWithOptReq) GetUserIDList ¶
func (x *GetUserListFromGroupWithOptReq) GetUserIDList() []string
func (*GetUserListFromGroupWithOptReq) ProtoMessage ¶
func (*GetUserListFromGroupWithOptReq) ProtoMessage()
func (*GetUserListFromGroupWithOptReq) ProtoReflect ¶
func (x *GetUserListFromGroupWithOptReq) ProtoReflect() protoreflect.Message
func (*GetUserListFromGroupWithOptReq) Reset ¶
func (x *GetUserListFromGroupWithOptReq) Reset()
func (*GetUserListFromGroupWithOptReq) String ¶
func (x *GetUserListFromGroupWithOptReq) String() string
type GetUserListFromGroupWithOptResp ¶
type GetUserListFromGroupWithOptResp struct {
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
UserIDOptList []*UserIDOpt `protobuf:"bytes,2,rep,name=UserIDOptList,proto3" json:"UserIDOptList,omitempty"`
// contains filtered or unexported fields
}
func (*GetUserListFromGroupWithOptResp) Descriptor
deprecated
func (*GetUserListFromGroupWithOptResp) Descriptor() ([]byte, []int)
Deprecated: Use GetUserListFromGroupWithOptResp.ProtoReflect.Descriptor instead.
func (*GetUserListFromGroupWithOptResp) GetCommonResp ¶
func (x *GetUserListFromGroupWithOptResp) GetCommonResp() *CommonResp
func (*GetUserListFromGroupWithOptResp) GetUserIDOptList ¶
func (x *GetUserListFromGroupWithOptResp) GetUserIDOptList() []*UserIDOpt
func (*GetUserListFromGroupWithOptResp) ProtoMessage ¶
func (*GetUserListFromGroupWithOptResp) ProtoMessage()
func (*GetUserListFromGroupWithOptResp) ProtoReflect ¶
func (x *GetUserListFromGroupWithOptResp) ProtoReflect() protoreflect.Message
func (*GetUserListFromGroupWithOptResp) Reset ¶
func (x *GetUserListFromGroupWithOptResp) Reset()
func (*GetUserListFromGroupWithOptResp) String ¶
func (x *GetUserListFromGroupWithOptResp) String() string
type IfAInBBlacklistReq ¶
type IfAInBBlacklistReq struct {
AUserID string `protobuf:"bytes,1,opt,name=aUserID,proto3" json:"aUserID,omitempty"`
BUserID string `protobuf:"bytes,2,opt,name=bUserID,proto3" json:"bUserID,omitempty"`
// contains filtered or unexported fields
}
func (*IfAInBBlacklistReq) Descriptor
deprecated
func (*IfAInBBlacklistReq) Descriptor() ([]byte, []int)
Deprecated: Use IfAInBBlacklistReq.ProtoReflect.Descriptor instead.
func (*IfAInBBlacklistReq) GetAUserID ¶
func (x *IfAInBBlacklistReq) GetAUserID() string
func (*IfAInBBlacklistReq) GetBUserID ¶
func (x *IfAInBBlacklistReq) GetBUserID() string
func (*IfAInBBlacklistReq) ProtoMessage ¶
func (*IfAInBBlacklistReq) ProtoMessage()
func (*IfAInBBlacklistReq) ProtoReflect ¶
func (x *IfAInBBlacklistReq) ProtoReflect() protoreflect.Message
func (*IfAInBBlacklistReq) Reset ¶
func (x *IfAInBBlacklistReq) Reset()
func (*IfAInBBlacklistReq) String ¶
func (x *IfAInBBlacklistReq) String() string
type IfAInBBlacklistResp ¶
type IfAInBBlacklistResp struct {
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
IsInBlacklist bool `protobuf:"varint,2,opt,name=isInBlacklist,proto3" json:"isInBlacklist,omitempty"`
// contains filtered or unexported fields
}
func (*IfAInBBlacklistResp) Descriptor
deprecated
func (*IfAInBBlacklistResp) Descriptor() ([]byte, []int)
Deprecated: Use IfAInBBlacklistResp.ProtoReflect.Descriptor instead.
func (*IfAInBBlacklistResp) GetCommonResp ¶
func (x *IfAInBBlacklistResp) GetCommonResp() *CommonResp
func (*IfAInBBlacklistResp) GetIsInBlacklist ¶
func (x *IfAInBBlacklistResp) GetIsInBlacklist() bool
func (*IfAInBBlacklistResp) ProtoMessage ¶
func (*IfAInBBlacklistResp) ProtoMessage()
func (*IfAInBBlacklistResp) ProtoReflect ¶
func (x *IfAInBBlacklistResp) ProtoReflect() protoreflect.Message
func (*IfAInBBlacklistResp) Reset ¶
func (x *IfAInBBlacklistResp) Reset()
func (*IfAInBBlacklistResp) String ¶
func (x *IfAInBBlacklistResp) String() string
type IfAInBFriendListReq ¶
type IfAInBFriendListReq struct {
AUserID string `protobuf:"bytes,1,opt,name=aUserID,proto3" json:"aUserID,omitempty"`
BUserID string `protobuf:"bytes,2,opt,name=bUserID,proto3" json:"bUserID,omitempty"`
// contains filtered or unexported fields
}
func (*IfAInBFriendListReq) Descriptor
deprecated
func (*IfAInBFriendListReq) Descriptor() ([]byte, []int)
Deprecated: Use IfAInBFriendListReq.ProtoReflect.Descriptor instead.
func (*IfAInBFriendListReq) GetAUserID ¶
func (x *IfAInBFriendListReq) GetAUserID() string
func (*IfAInBFriendListReq) GetBUserID ¶
func (x *IfAInBFriendListReq) GetBUserID() string
func (*IfAInBFriendListReq) ProtoMessage ¶
func (*IfAInBFriendListReq) ProtoMessage()
func (*IfAInBFriendListReq) ProtoReflect ¶
func (x *IfAInBFriendListReq) ProtoReflect() protoreflect.Message
func (*IfAInBFriendListReq) Reset ¶
func (x *IfAInBFriendListReq) Reset()
func (*IfAInBFriendListReq) String ¶
func (x *IfAInBFriendListReq) String() string
type IfAInBFriendListResp ¶
type IfAInBFriendListResp struct {
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
IsInFriendList bool `protobuf:"varint,2,opt,name=isInFriendList,proto3" json:"isInFriendList,omitempty"`
// contains filtered or unexported fields
}
func (*IfAInBFriendListResp) Descriptor
deprecated
func (*IfAInBFriendListResp) Descriptor() ([]byte, []int)
Deprecated: Use IfAInBFriendListResp.ProtoReflect.Descriptor instead.
func (*IfAInBFriendListResp) GetCommonResp ¶
func (x *IfAInBFriendListResp) GetCommonResp() *CommonResp
func (*IfAInBFriendListResp) GetIsInFriendList ¶
func (x *IfAInBFriendListResp) GetIsInFriendList() bool
func (*IfAInBFriendListResp) ProtoMessage ¶
func (*IfAInBFriendListResp) ProtoMessage()
func (*IfAInBFriendListResp) ProtoReflect ¶
func (x *IfAInBFriendListResp) ProtoReflect() protoreflect.Message
func (*IfAInBFriendListResp) Reset ¶
func (x *IfAInBFriendListResp) Reset()
func (*IfAInBFriendListResp) String ¶
func (x *IfAInBFriendListResp) String() string
type IfPreviewMessageReq ¶
type IfPreviewMessageReq struct {
SenderID string `protobuf:"bytes,1,opt,name=senderID,proto3" json:"senderID,omitempty"`
ReceiverID string `protobuf:"bytes,2,opt,name=receiverID,proto3" json:"receiverID,omitempty"`
GroupID string `protobuf:"bytes,3,opt,name=groupID,proto3" json:"groupID,omitempty"`
// contains filtered or unexported fields
}
func (*IfPreviewMessageReq) Descriptor
deprecated
func (*IfPreviewMessageReq) Descriptor() ([]byte, []int)
Deprecated: Use IfPreviewMessageReq.ProtoReflect.Descriptor instead.
func (*IfPreviewMessageReq) GetGroupID ¶
func (x *IfPreviewMessageReq) GetGroupID() string
func (*IfPreviewMessageReq) GetReceiverID ¶
func (x *IfPreviewMessageReq) GetReceiverID() string
func (*IfPreviewMessageReq) GetSenderID ¶
func (x *IfPreviewMessageReq) GetSenderID() string
func (*IfPreviewMessageReq) ProtoMessage ¶
func (*IfPreviewMessageReq) ProtoMessage()
func (*IfPreviewMessageReq) ProtoReflect ¶
func (x *IfPreviewMessageReq) ProtoReflect() protoreflect.Message
func (*IfPreviewMessageReq) Reset ¶
func (x *IfPreviewMessageReq) Reset()
func (*IfPreviewMessageReq) String ¶
func (x *IfPreviewMessageReq) String() string
type IfPreviewMessageResp ¶
type IfPreviewMessageResp struct {
CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
IfPreview bool `protobuf:"varint,2,opt,name=ifPreview,proto3" json:"ifPreview,omitempty"`
ReplaceTitle string `protobuf:"bytes,3,opt,name=replaceTitle,proto3" json:"replaceTitle,omitempty"`
// contains filtered or unexported fields
}
func (*IfPreviewMessageResp) Descriptor
deprecated
func (*IfPreviewMessageResp) Descriptor() ([]byte, []int)
Deprecated: Use IfPreviewMessageResp.ProtoReflect.Descriptor instead.
func (*IfPreviewMessageResp) GetCommonResp ¶
func (x *IfPreviewMessageResp) GetCommonResp() *CommonResp
func (*IfPreviewMessageResp) GetIfPreview ¶
func (x *IfPreviewMessageResp) GetIfPreview() bool
func (*IfPreviewMessageResp) GetReplaceTitle ¶
func (x *IfPreviewMessageResp) GetReplaceTitle() string
func (*IfPreviewMessageResp) ProtoMessage ¶
func (*IfPreviewMessageResp) ProtoMessage()
func (*IfPreviewMessageResp) ProtoReflect ¶
func (x *IfPreviewMessageResp) ProtoReflect() protoreflect.Message
func (*IfPreviewMessageResp) Reset ¶
func (x *IfPreviewMessageResp) Reset()
func (*IfPreviewMessageResp) String ¶
func (x *IfPreviewMessageResp) String() string
type ImUserServiceClient ¶
type ImUserServiceClient interface {
// 判断用户A是否在B黑名单中
IfAInBBlacklist(ctx context.Context, in *IfAInBBlacklistReq, opts ...grpc.CallOption) (*IfAInBBlacklistResp, error)
// 判断用户A是否在B好友列表中
IfAInBFriendList(ctx context.Context, in *IfAInBFriendListReq, opts ...grpc.CallOption) (*IfAInBFriendListResp, error)
// 获取单聊会话的消息接收选项
GetSingleConversationRecvMsgOpts(ctx context.Context, in *GetSingleConversationRecvMsgOptsReq, opts ...grpc.CallOption) (*GetSingleConversationRecvMsgOptsResp, error)
// 获取群成员列表 通过消息接收选项
GetUserListFromGroupWithOpt(ctx context.Context, in *GetUserListFromGroupWithOptReq, opts ...grpc.CallOption) (*GetUserListFromGroupWithOptResp, error)
// 检查token
VerifyToken(ctx context.Context, in *VerifyTokenReq, opts ...grpc.CallOption) (*VerifyTokenResp, error)
// 是否预览消息
IfPreviewMessage(ctx context.Context, in *IfPreviewMessageReq, opts ...grpc.CallOption) (*IfPreviewMessageResp, error)
}
ImUserServiceClient is the client API for ImUserService 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 NewImUserServiceClient ¶
func NewImUserServiceClient(cc grpc.ClientConnInterface) ImUserServiceClient
type ImUserServiceServer ¶
type ImUserServiceServer interface {
// 判断用户A是否在B黑名单中
IfAInBBlacklist(context.Context, *IfAInBBlacklistReq) (*IfAInBBlacklistResp, error)
// 判断用户A是否在B好友列表中
IfAInBFriendList(context.Context, *IfAInBFriendListReq) (*IfAInBFriendListResp, error)
// 获取单聊会话的消息接收选项
GetSingleConversationRecvMsgOpts(context.Context, *GetSingleConversationRecvMsgOptsReq) (*GetSingleConversationRecvMsgOptsResp, error)
// 获取群成员列表 通过消息接收选项
GetUserListFromGroupWithOpt(context.Context, *GetUserListFromGroupWithOptReq) (*GetUserListFromGroupWithOptResp, error)
// 检查token
VerifyToken(context.Context, *VerifyTokenReq) (*VerifyTokenResp, error)
// 是否预览消息
IfPreviewMessage(context.Context, *IfPreviewMessageReq) (*IfPreviewMessageResp, error)
// contains filtered or unexported methods
}
ImUserServiceServer is the server API for ImUserService service. All implementations must embed UnimplementedImUserServiceServer for forward compatibility
type RecvMsgOpt ¶
type RecvMsgOpt int32
const ( RecvMsgOpt_ReceiveMessage RecvMsgOpt = 0 RecvMsgOpt_NotReceiveMessage RecvMsgOpt = 1 RecvMsgOpt_ReceiveNotNotifyMessage RecvMsgOpt = 2 )
func (RecvMsgOpt) Descriptor ¶
func (RecvMsgOpt) Descriptor() protoreflect.EnumDescriptor
func (RecvMsgOpt) Enum ¶
func (x RecvMsgOpt) Enum() *RecvMsgOpt
func (RecvMsgOpt) EnumDescriptor
deprecated
func (RecvMsgOpt) EnumDescriptor() ([]byte, []int)
Deprecated: Use RecvMsgOpt.Descriptor instead.
func (RecvMsgOpt) Number ¶
func (x RecvMsgOpt) Number() protoreflect.EnumNumber
func (RecvMsgOpt) String ¶
func (x RecvMsgOpt) String() string
func (RecvMsgOpt) Type ¶
func (RecvMsgOpt) Type() protoreflect.EnumType
type UnimplementedImUserServiceServer ¶
type UnimplementedImUserServiceServer struct {
}
UnimplementedImUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedImUserServiceServer) GetSingleConversationRecvMsgOpts ¶
func (UnimplementedImUserServiceServer) GetSingleConversationRecvMsgOpts(context.Context, *GetSingleConversationRecvMsgOptsReq) (*GetSingleConversationRecvMsgOptsResp, error)
func (UnimplementedImUserServiceServer) GetUserListFromGroupWithOpt ¶
func (UnimplementedImUserServiceServer) GetUserListFromGroupWithOpt(context.Context, *GetUserListFromGroupWithOptReq) (*GetUserListFromGroupWithOptResp, error)
func (UnimplementedImUserServiceServer) IfAInBBlacklist ¶
func (UnimplementedImUserServiceServer) IfAInBBlacklist(context.Context, *IfAInBBlacklistReq) (*IfAInBBlacklistResp, error)
func (UnimplementedImUserServiceServer) IfAInBFriendList ¶
func (UnimplementedImUserServiceServer) IfAInBFriendList(context.Context, *IfAInBFriendListReq) (*IfAInBFriendListResp, error)
func (UnimplementedImUserServiceServer) IfPreviewMessage ¶
func (UnimplementedImUserServiceServer) IfPreviewMessage(context.Context, *IfPreviewMessageReq) (*IfPreviewMessageResp, error)
func (UnimplementedImUserServiceServer) VerifyToken ¶
func (UnimplementedImUserServiceServer) VerifyToken(context.Context, *VerifyTokenReq) (*VerifyTokenResp, error)
type UnsafeImUserServiceServer ¶
type UnsafeImUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeImUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ImUserServiceServer will result in compilation errors.
type UserIDOpt ¶
type UserIDOpt struct {
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
Opts RecvMsgOpt `protobuf:"varint,2,opt,name=opts,proto3,enum=imuser.RecvMsgOpt" json:"opts,omitempty"`
// contains filtered or unexported fields
}
func (*UserIDOpt) Descriptor
deprecated
func (*UserIDOpt) GetOpts ¶
func (x *UserIDOpt) GetOpts() RecvMsgOpt
func (*UserIDOpt) ProtoMessage ¶
func (*UserIDOpt) ProtoMessage()
func (*UserIDOpt) ProtoReflect ¶
func (x *UserIDOpt) ProtoReflect() protoreflect.Message
type UserInfo ¶
type UserInfo struct {
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL,omitempty"`
Gender int32 `protobuf:"varint,4,opt,name=gender,proto3" json:"gender,omitempty"`
PhoneNumber string `protobuf:"bytes,5,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"`
Birth uint32 `protobuf:"varint,6,opt,name=birth,proto3" json:"birth,omitempty"`
Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
Ex string `protobuf:"bytes,8,opt,name=ex,proto3" json:"ex,omitempty"`
CreateTime uint32 `protobuf:"varint,9,opt,name=createTime,proto3" json:"createTime,omitempty"`
AppMangerLevel int32 `protobuf:"varint,10,opt,name=appMangerLevel,proto3" json:"appMangerLevel,omitempty"`
// contains filtered or unexported fields
}
func (*UserInfo) Descriptor
deprecated
func (*UserInfo) GetAppMangerLevel ¶
func (*UserInfo) GetCreateTime ¶
func (*UserInfo) GetFaceURL ¶
func (*UserInfo) GetNickname ¶
func (*UserInfo) GetPhoneNumber ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶
func (x *UserInfo) ProtoReflect() protoreflect.Message
type VerifyTokenReq ¶
type VerifyTokenReq struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
SendID string `protobuf:"bytes,3,opt,name=sendID,proto3" json:"sendID,omitempty"`
// contains filtered or unexported fields
}
func (*VerifyTokenReq) Descriptor
deprecated
func (*VerifyTokenReq) Descriptor() ([]byte, []int)
Deprecated: Use VerifyTokenReq.ProtoReflect.Descriptor instead.
func (*VerifyTokenReq) GetPlatform ¶
func (x *VerifyTokenReq) GetPlatform() string
func (*VerifyTokenReq) GetSendID ¶
func (x *VerifyTokenReq) GetSendID() string
func (*VerifyTokenReq) GetToken ¶
func (x *VerifyTokenReq) GetToken() string
func (*VerifyTokenReq) ProtoMessage ¶
func (*VerifyTokenReq) ProtoMessage()
func (*VerifyTokenReq) ProtoReflect ¶
func (x *VerifyTokenReq) ProtoReflect() protoreflect.Message
func (*VerifyTokenReq) Reset ¶
func (x *VerifyTokenReq) Reset()
func (*VerifyTokenReq) String ¶
func (x *VerifyTokenReq) String() string
type VerifyTokenResp ¶
type VerifyTokenResp struct {
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
ErrMsg string `protobuf:"bytes,3,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
// contains filtered or unexported fields
}
func (*VerifyTokenResp) Descriptor
deprecated
func (*VerifyTokenResp) Descriptor() ([]byte, []int)
Deprecated: Use VerifyTokenResp.ProtoReflect.Descriptor instead.
func (*VerifyTokenResp) GetErrMsg ¶
func (x *VerifyTokenResp) GetErrMsg() string
func (*VerifyTokenResp) GetSuccess ¶
func (x *VerifyTokenResp) GetSuccess() bool
func (*VerifyTokenResp) GetUid ¶
func (x *VerifyTokenResp) GetUid() string
func (*VerifyTokenResp) ProtoMessage ¶
func (*VerifyTokenResp) ProtoMessage()
func (*VerifyTokenResp) ProtoReflect ¶
func (x *VerifyTokenResp) ProtoReflect() protoreflect.Message
func (*VerifyTokenResp) Reset ¶
func (x *VerifyTokenResp) Reset()
func (*VerifyTokenResp) String ¶
func (x *VerifyTokenResp) String() string