Documentation ¶
Index ¶
- Variables
- func RegisterImUserServiceServer(s grpc.ServiceRegistrar, srv ImUserServiceServer)
- func RegisterRelationServiceServer(s grpc.ServiceRegistrar, srv RelationServiceServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type ApplyFriendReq
- func (*ApplyFriendReq) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyFriendReq) GetApplyUserId() string
- func (x *ApplyFriendReq) GetMessage() string
- func (x *ApplyFriendReq) GetUserId() string
- func (*ApplyFriendReq) ProtoMessage()
- func (x *ApplyFriendReq) ProtoReflect() protoreflect.Message
- func (x *ApplyFriendReq) Reset()
- func (x *ApplyFriendReq) String() string
- type ApplyFriendResp
- type BaseResp
- type BaseResp_Errno
- func (BaseResp_Errno) Descriptor() protoreflect.EnumDescriptor
- func (x BaseResp_Errno) Enum() *BaseResp_Errno
- func (BaseResp_Errno) EnumDescriptor() ([]byte, []int)deprecated
- func (x BaseResp_Errno) Number() protoreflect.EnumNumber
- func (x BaseResp_Errno) String() string
- func (BaseResp_Errno) Type() protoreflect.EnumType
- type BlackUserReq
- func (*BlackUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *BlackUserReq) GetSelfId() string
- func (x *BlackUserReq) GetUserId() string
- func (*BlackUserReq) ProtoMessage()
- func (x *BlackUserReq) ProtoReflect() protoreflect.Message
- func (x *BlackUserReq) Reset()
- func (x *BlackUserReq) String() string
- type BlackUserResp
- type CommonResp
- type DeleteBlackReq
- func (*DeleteBlackReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBlackReq) GetSelfId() string
- func (x *DeleteBlackReq) GetUserId() string
- func (*DeleteBlackReq) ProtoMessage()
- func (x *DeleteBlackReq) ProtoReflect() protoreflect.Message
- func (x *DeleteBlackReq) Reset()
- func (x *DeleteBlackReq) String() string
- type DeleteBlackResp
- type DeleteFriendReq
- func (*DeleteFriendReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFriendReq) GetSelfId() string
- func (x *DeleteFriendReq) GetUserId() string
- func (*DeleteFriendReq) ProtoMessage()
- func (x *DeleteFriendReq) ProtoReflect() protoreflect.Message
- func (x *DeleteFriendReq) Reset()
- func (x *DeleteFriendReq) String() string
- type DeleteFriendResp
- func (*DeleteFriendResp) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFriendResp) GetBaseResp() *RelationBaseResp
- func (*DeleteFriendResp) ProtoMessage()
- func (x *DeleteFriendResp) ProtoReflect() protoreflect.Message
- func (x *DeleteFriendResp) Reset()
- func (x *DeleteFriendResp) String() string
- type GetApplyFriendListReq
- func (*GetApplyFriendListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetApplyFriendListReq) GetPageReq() *PageReq
- func (x *GetApplyFriendListReq) GetSelfId() string
- func (*GetApplyFriendListReq) ProtoMessage()
- func (x *GetApplyFriendListReq) ProtoReflect() protoreflect.Message
- func (x *GetApplyFriendListReq) Reset()
- func (x *GetApplyFriendListReq) String() string
- type GetApplyFriendListResp
- func (*GetApplyFriendListResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetApplyFriendListResp) GetApplyFriendList() []*GetApplyFriendListResp_ApplyFriend
- func (x *GetApplyFriendListResp) GetBaseResp() *RelationBaseResp
- func (x *GetApplyFriendListResp) GetPageResp() *PageResp
- func (*GetApplyFriendListResp) ProtoMessage()
- func (x *GetApplyFriendListResp) ProtoReflect() protoreflect.Message
- func (x *GetApplyFriendListResp) Reset()
- func (x *GetApplyFriendListResp) String() string
- type GetApplyFriendListResp_ApplyFriend
- func (*GetApplyFriendListResp_ApplyFriend) Descriptor() ([]byte, []int)deprecated
- func (x *GetApplyFriendListResp_ApplyFriend) GetApplyUserId() string
- func (x *GetApplyFriendListResp_ApplyFriend) GetCreateTime() string
- func (x *GetApplyFriendListResp_ApplyFriend) GetId() string
- func (x *GetApplyFriendListResp_ApplyFriend) GetMessage() string
- func (x *GetApplyFriendListResp_ApplyFriend) GetStatus() GetApplyFriendListResp_ApplyFriend_Status
- func (x *GetApplyFriendListResp_ApplyFriend) GetUserId() string
- func (*GetApplyFriendListResp_ApplyFriend) ProtoMessage()
- func (x *GetApplyFriendListResp_ApplyFriend) ProtoReflect() protoreflect.Message
- func (x *GetApplyFriendListResp_ApplyFriend) Reset()
- func (x *GetApplyFriendListResp_ApplyFriend) String() string
- type GetApplyFriendListResp_ApplyFriend_Status
- func (GetApplyFriendListResp_ApplyFriend_Status) Descriptor() protoreflect.EnumDescriptor
- func (x GetApplyFriendListResp_ApplyFriend_Status) Enum() *GetApplyFriendListResp_ApplyFriend_Status
- func (GetApplyFriendListResp_ApplyFriend_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetApplyFriendListResp_ApplyFriend_Status) Number() protoreflect.EnumNumber
- func (x GetApplyFriendListResp_ApplyFriend_Status) String() string
- func (GetApplyFriendListResp_ApplyFriend_Status) Type() protoreflect.EnumType
- type GetBlackListReq
- func (*GetBlackListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlackListReq) GetPageReq() *PageReq
- func (x *GetBlackListReq) GetSelfId() string
- func (*GetBlackListReq) ProtoMessage()
- func (x *GetBlackListReq) ProtoReflect() protoreflect.Message
- func (x *GetBlackListReq) Reset()
- func (x *GetBlackListReq) String() string
- type GetBlackListResp
- func (*GetBlackListResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlackListResp) GetBaseResp() *RelationBaseResp
- func (x *GetBlackListResp) GetBlackList() []*GetBlackListResp_Black
- func (x *GetBlackListResp) GetPageResp() *PageResp
- func (*GetBlackListResp) ProtoMessage()
- func (x *GetBlackListResp) ProtoReflect() protoreflect.Message
- func (x *GetBlackListResp) Reset()
- func (x *GetBlackListResp) String() string
- type GetBlackListResp_Black
- func (*GetBlackListResp_Black) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlackListResp_Black) GetCreateTime() string
- func (x *GetBlackListResp_Black) GetSelfId() string
- func (x *GetBlackListResp_Black) GetUserId() string
- func (*GetBlackListResp_Black) ProtoMessage()
- func (x *GetBlackListResp_Black) ProtoReflect() protoreflect.Message
- func (x *GetBlackListResp_Black) Reset()
- func (x *GetBlackListResp_Black) String() string
- type GetFriendListReq
- type GetFriendListResp
- func (*GetFriendListResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetFriendListResp) GetBaseResp() *RelationBaseResp
- func (x *GetFriendListResp) GetFriendList() []*GetFriendListResp_Friend
- func (*GetFriendListResp) ProtoMessage()
- func (x *GetFriendListResp) ProtoReflect() protoreflect.Message
- func (x *GetFriendListResp) Reset()
- func (x *GetFriendListResp) String() string
- type GetFriendListResp_Friend
- func (*GetFriendListResp_Friend) Descriptor() ([]byte, []int)deprecated
- func (x *GetFriendListResp_Friend) GetCreateTime() string
- func (x *GetFriendListResp_Friend) GetRemark() string
- func (x *GetFriendListResp_Friend) GetSelfId() string
- func (x *GetFriendListResp_Friend) GetUserId() string
- func (*GetFriendListResp_Friend) ProtoMessage()
- func (x *GetFriendListResp_Friend) ProtoReflect() protoreflect.Message
- func (x *GetFriendListResp_Friend) Reset()
- func (x *GetFriendListResp_Friend) String() string
- 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) GetConversationID() 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 GetUserByIdReq
- type GetUserByIdsReq
- type GetUserByUsernameReq
- func (*GetUserByUsernameReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByUsernameReq) GetUsername() string
- func (*GetUserByUsernameReq) ProtoMessage()
- func (x *GetUserByUsernameReq) ProtoReflect() protoreflect.Message
- func (x *GetUserByUsernameReq) Reset()
- func (x *GetUserByUsernameReq) String() string
- type GetUserListFromSuperGroupWithOptReq
- func (*GetUserListFromSuperGroupWithOptReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserListFromSuperGroupWithOptReq) GetOpts() []RecvMsgOpt
- func (x *GetUserListFromSuperGroupWithOptReq) GetSuperGroupID() string
- func (x *GetUserListFromSuperGroupWithOptReq) GetUserIDList() []string
- func (*GetUserListFromSuperGroupWithOptReq) ProtoMessage()
- func (x *GetUserListFromSuperGroupWithOptReq) ProtoReflect() protoreflect.Message
- func (x *GetUserListFromSuperGroupWithOptReq) Reset()
- func (x *GetUserListFromSuperGroupWithOptReq) String() string
- type GetUserListFromSuperGroupWithOptResp
- func (*GetUserListFromSuperGroupWithOptResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserListFromSuperGroupWithOptResp) GetCommonResp() *CommonResp
- func (x *GetUserListFromSuperGroupWithOptResp) GetUserIDOptList() []*UserIDOpt
- func (*GetUserListFromSuperGroupWithOptResp) ProtoMessage()
- func (x *GetUserListFromSuperGroupWithOptResp) ProtoReflect() protoreflect.Message
- func (x *GetUserListFromSuperGroupWithOptResp) Reset()
- func (x *GetUserListFromSuperGroupWithOptResp) String() string
- type GetUserListResp
- func (*GetUserListResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserListResp) GetBaseResp() *BaseResp
- func (x *GetUserListResp) GetUsers() []*User
- func (*GetUserListResp) ProtoMessage()
- func (x *GetUserListResp) ProtoReflect() protoreflect.Message
- func (x *GetUserListResp) Reset()
- func (x *GetUserListResp) String() string
- type GetUserResp
- func (*GetUserResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResp) GetBaseResp() *BaseResp
- func (x *GetUserResp) GetUser() *User
- func (*GetUserResp) ProtoMessage()
- func (x *GetUserResp) ProtoReflect() protoreflect.Message
- func (x *GetUserResp) Reset()
- func (x *GetUserResp) 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 ImUserServiceClient
- type ImUserServiceServer
- type InsertUserReq
- type InsertUserResp
- type LoginByIdReq
- func (*LoginByIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *LoginByIdReq) GetPlatform() string
- func (x *LoginByIdReq) GetUserId() string
- func (*LoginByIdReq) ProtoMessage()
- func (x *LoginByIdReq) ProtoReflect() protoreflect.Message
- func (x *LoginByIdReq) Reset()
- func (x *LoginByIdReq) String() string
- type LoginByPasswordReq
- func (*LoginByPasswordReq) Descriptor() ([]byte, []int)deprecated
- func (x *LoginByPasswordReq) GetPassword() string
- func (x *LoginByPasswordReq) GetPlatform() string
- func (x *LoginByPasswordReq) GetUsername() string
- func (*LoginByPasswordReq) ProtoMessage()
- func (x *LoginByPasswordReq) ProtoReflect() protoreflect.Message
- func (x *LoginByPasswordReq) Reset()
- func (x *LoginByPasswordReq) String() string
- type LoginResp
- func (*LoginResp) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResp) GetBaseResp() *BaseResp
- func (x *LoginResp) GetToken() string
- func (x *LoginResp) GetUser() *User
- func (*LoginResp) ProtoMessage()
- func (x *LoginResp) ProtoReflect() protoreflect.Message
- func (x *LoginResp) Reset()
- func (x *LoginResp) String() string
- type PageReq
- type PageResp
- func (*PageResp) Descriptor() ([]byte, []int)deprecated
- func (x *PageResp) GetPage() int32
- func (x *PageResp) GetPageSize() int32
- func (x *PageResp) GetTotal() int64
- func (*PageResp) ProtoMessage()
- func (x *PageResp) ProtoReflect() protoreflect.Message
- func (x *PageResp) Reset()
- func (x *PageResp) String() string
- type RecvMsgOpt
- type RelationBaseResp
- func (*RelationBaseResp) Descriptor() ([]byte, []int)deprecated
- func (x *RelationBaseResp) GetErrCode() RelationBaseResp_Errno
- func (x *RelationBaseResp) GetErrMsg() string
- func (*RelationBaseResp) ProtoMessage()
- func (x *RelationBaseResp) ProtoReflect() protoreflect.Message
- func (x *RelationBaseResp) Reset()
- func (x *RelationBaseResp) String() string
- type RelationBaseResp_Errno
- func (RelationBaseResp_Errno) Descriptor() protoreflect.EnumDescriptor
- func (x RelationBaseResp_Errno) Enum() *RelationBaseResp_Errno
- func (RelationBaseResp_Errno) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelationBaseResp_Errno) Number() protoreflect.EnumNumber
- func (x RelationBaseResp_Errno) String() string
- func (RelationBaseResp_Errno) Type() protoreflect.EnumType
- type RelationServiceClient
- type RelationServiceServer
- type UnimplementedImUserServiceServer
- func (UnimplementedImUserServiceServer) GetGroupMemberIDListFromCache(context.Context, *GetGroupMemberIDListFromCacheReq) (*GetGroupMemberIDListFromCacheResp, error)
- func (UnimplementedImUserServiceServer) GetSingleConversationRecvMsgOpts(context.Context, *GetSingleConversationRecvMsgOptsReq) (*GetSingleConversationRecvMsgOptsResp, error)
- func (UnimplementedImUserServiceServer) GetUserListFromSuperGroupWithOpt(context.Context, *GetUserListFromSuperGroupWithOptReq) (*GetUserListFromSuperGroupWithOptResp, error)
- func (UnimplementedImUserServiceServer) IfAInBBlacklist(context.Context, *IfAInBBlacklistReq) (*IfAInBBlacklistResp, error)
- func (UnimplementedImUserServiceServer) IfAInBFriendList(context.Context, *IfAInBFriendListReq) (*IfAInBFriendListResp, error)
- func (UnimplementedImUserServiceServer) VerifyToken(context.Context, *VerifyTokenReq) (*VerifyTokenResp, error)
- type UnimplementedRelationServiceServer
- func (UnimplementedRelationServiceServer) ApplyFriend(context.Context, *ApplyFriendReq) (*ApplyFriendResp, error)
- func (UnimplementedRelationServiceServer) BlackUser(context.Context, *BlackUserReq) (*BlackUserResp, error)
- func (UnimplementedRelationServiceServer) DeleteBlack(context.Context, *DeleteBlackReq) (*DeleteBlackResp, error)
- func (UnimplementedRelationServiceServer) DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error)
- func (UnimplementedRelationServiceServer) GetApplyFriendList(context.Context, *GetApplyFriendListReq) (*GetApplyFriendListResp, error)
- func (UnimplementedRelationServiceServer) GetBlackList(context.Context, *GetBlackListReq) (*GetBlackListResp, error)
- func (UnimplementedRelationServiceServer) GetFriendList(context.Context, *GetFriendListReq) (*GetFriendListResp, error)
- func (UnimplementedRelationServiceServer) UpdateApplyFriendStatus(context.Context, *UpdateApplyFriendStatusReq) (*UpdateApplyFriendStatusResp, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) GetUserById(context.Context, *GetUserByIdReq) (*GetUserResp, error)
- func (UnimplementedUserServiceServer) GetUserByIds(context.Context, *GetUserByIdsReq) (*GetUserListResp, error)
- func (UnimplementedUserServiceServer) GetUserByUsername(context.Context, *GetUserByUsernameReq) (*GetUserResp, error)
- func (UnimplementedUserServiceServer) InsertUser(context.Context, *InsertUserReq) (*InsertUserResp, error)
- func (UnimplementedUserServiceServer) LoginById(context.Context, *LoginByIdReq) (*LoginResp, error)
- func (UnimplementedUserServiceServer) LoginByPassword(context.Context, *LoginByPasswordReq) (*LoginResp, error)
- func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserReq) (*UpdateUserResp, error)
- type UnsafeImUserServiceServer
- type UnsafeRelationServiceServer
- type UnsafeUserServiceServer
- type UpdateApplyFriendStatusReq
- func (*UpdateApplyFriendStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateApplyFriendStatusReq) GetId() string
- func (x *UpdateApplyFriendStatusReq) GetSelfId() string
- func (x *UpdateApplyFriendStatusReq) GetStatus() UpdateApplyFriendStatusReq_Status
- func (*UpdateApplyFriendStatusReq) ProtoMessage()
- func (x *UpdateApplyFriendStatusReq) ProtoReflect() protoreflect.Message
- func (x *UpdateApplyFriendStatusReq) Reset()
- func (x *UpdateApplyFriendStatusReq) String() string
- type UpdateApplyFriendStatusReq_Status
- func (UpdateApplyFriendStatusReq_Status) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateApplyFriendStatusReq_Status) Enum() *UpdateApplyFriendStatusReq_Status
- func (UpdateApplyFriendStatusReq_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateApplyFriendStatusReq_Status) Number() protoreflect.EnumNumber
- func (x UpdateApplyFriendStatusReq_Status) String() string
- func (UpdateApplyFriendStatusReq_Status) Type() protoreflect.EnumType
- type UpdateApplyFriendStatusResp
- func (*UpdateApplyFriendStatusResp) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateApplyFriendStatusResp) GetBaseResp() *RelationBaseResp
- func (*UpdateApplyFriendStatusResp) ProtoMessage()
- func (x *UpdateApplyFriendStatusResp) ProtoReflect() protoreflect.Message
- func (x *UpdateApplyFriendStatusResp) Reset()
- func (x *UpdateApplyFriendStatusResp) String() string
- type UpdateUserReq
- func (*UpdateUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserReq) GetFields() []string
- func (x *UpdateUserReq) GetUser() *User
- func (*UpdateUserReq) ProtoMessage()
- func (x *UpdateUserReq) ProtoReflect() protoreflect.Message
- func (x *UpdateUserReq) Reset()
- func (x *UpdateUserReq) String() string
- type UpdateUserResp
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatar() string
- func (x *User) GetBirthday() string
- func (x *User) GetCity() string
- func (x *User) GetDistrict() string
- func (x *User) GetId() string
- func (x *User) GetIsMale() bool
- func (x *User) GetNickname() string
- func (x *User) GetPassword() string
- func (x *User) GetProvince() string
- func (x *User) GetRegisterTime() string
- func (x *User) GetSign() string
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- 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 UserServiceClient
- type UserServiceServer
- 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 ( RelationBaseResp_Errno_name = map[int32]string{ 0: "OK", 1: "ERROR", } RelationBaseResp_Errno_value = map[string]int32{ "OK": 0, "ERROR": 1, } )
Enum value maps for RelationBaseResp_Errno.
var ( UpdateApplyFriendStatusReq_Status_name = map[int32]string{ 0: "AGREE", 1: "REFUSE", } UpdateApplyFriendStatusReq_Status_value = map[string]int32{ "AGREE": 0, "REFUSE": 1, } )
Enum value maps for UpdateApplyFriendStatusReq_Status.
var ( GetApplyFriendListResp_ApplyFriend_Status_name = map[int32]string{ 0: "Applying", 1: "AGREE", 2: "REFUSE", } GetApplyFriendListResp_ApplyFriend_Status_value = map[string]int32{ "Applying": 0, "AGREE": 1, "REFUSE": 2, } )
Enum value maps for GetApplyFriendListResp_ApplyFriend_Status.
var ( BaseResp_Errno_name = map[int32]string{ 0: "OK", 1: "ERROR", } BaseResp_Errno_value = map[string]int32{ "OK": 0, "ERROR": 1, } )
Enum value maps for BaseResp_Errno.
var File_im_user_proto protoreflect.FileDescriptor
var File_relation_proto protoreflect.FileDescriptor
var File_user_proto protoreflect.FileDescriptor
var ImUserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "imuser.imUserService", HandlerType: (*ImUserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetGroupMemberIDListFromCache", Handler: _ImUserService_GetGroupMemberIDListFromCache_Handler, }, { MethodName: "IfAInBBlacklist", Handler: _ImUserService_IfAInBBlacklist_Handler, }, { MethodName: "IfAInBFriendList", Handler: _ImUserService_IfAInBFriendList_Handler, }, { MethodName: "GetSingleConversationRecvMsgOpts", Handler: _ImUserService_GetSingleConversationRecvMsgOpts_Handler, }, { MethodName: "GetUserListFromSuperGroupWithOpt", Handler: _ImUserService_GetUserListFromSuperGroupWithOpt_Handler, }, { MethodName: "VerifyToken", Handler: _ImUserService_VerifyToken_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)
var RelationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "relation.relationService", HandlerType: (*RelationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ApplyFriend", Handler: _RelationService_ApplyFriend_Handler, }, { MethodName: "UpdateApplyFriendStatus", Handler: _RelationService_UpdateApplyFriendStatus_Handler, }, { MethodName: "GetApplyFriendList", Handler: _RelationService_GetApplyFriendList_Handler, }, { MethodName: "GetFriendList", Handler: _RelationService_GetFriendList_Handler, }, { MethodName: "DeleteFriend", Handler: _RelationService_DeleteFriend_Handler, }, { MethodName: "GetBlackList", Handler: _RelationService_GetBlackList_Handler, }, { MethodName: "DeleteBlack", Handler: _RelationService_DeleteBlack_Handler, }, { MethodName: "BlackUser", Handler: _RelationService_BlackUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "relation.proto", }
RelationService_ServiceDesc is the grpc.ServiceDesc for RelationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "user.userService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUserById", Handler: _UserService_GetUserById_Handler, }, { MethodName: "GetUserByIds", Handler: _UserService_GetUserByIds_Handler, }, { MethodName: "GetUserByUsername", Handler: _UserService_GetUserByUsername_Handler, }, { MethodName: "InsertUser", Handler: _UserService_InsertUser_Handler, }, { MethodName: "UpdateUser", Handler: _UserService_UpdateUser_Handler, }, { MethodName: "LoginByPassword", Handler: _UserService_LoginByPassword_Handler, }, { MethodName: "LoginById", Handler: _UserService_LoginById_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService 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)
func RegisterRelationServiceServer ¶
func RegisterRelationServiceServer(s grpc.ServiceRegistrar, srv RelationServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type ApplyFriendReq ¶
type ApplyFriendReq struct { ApplyUserId string `protobuf:"bytes,1,opt,name=applyUserId,proto3" json:"applyUserId,omitempty"` // 申请人 UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // 被申请人 Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // 申请信息 // contains filtered or unexported fields }
func (*ApplyFriendReq) Descriptor
deprecated
func (*ApplyFriendReq) Descriptor() ([]byte, []int)
Deprecated: Use ApplyFriendReq.ProtoReflect.Descriptor instead.
func (*ApplyFriendReq) GetApplyUserId ¶
func (x *ApplyFriendReq) GetApplyUserId() string
func (*ApplyFriendReq) GetMessage ¶
func (x *ApplyFriendReq) GetMessage() string
func (*ApplyFriendReq) GetUserId ¶
func (x *ApplyFriendReq) GetUserId() string
func (*ApplyFriendReq) ProtoMessage ¶
func (*ApplyFriendReq) ProtoMessage()
func (*ApplyFriendReq) ProtoReflect ¶
func (x *ApplyFriendReq) ProtoReflect() protoreflect.Message
func (*ApplyFriendReq) Reset ¶
func (x *ApplyFriendReq) Reset()
func (*ApplyFriendReq) String ¶
func (x *ApplyFriendReq) String() string
type ApplyFriendResp ¶
type ApplyFriendResp struct { BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"` // contains filtered or unexported fields }
func (*ApplyFriendResp) Descriptor
deprecated
func (*ApplyFriendResp) Descriptor() ([]byte, []int)
Deprecated: Use ApplyFriendResp.ProtoReflect.Descriptor instead.
func (*ApplyFriendResp) GetBaseResp ¶
func (x *ApplyFriendResp) GetBaseResp() *RelationBaseResp
func (*ApplyFriendResp) ProtoMessage ¶
func (*ApplyFriendResp) ProtoMessage()
func (*ApplyFriendResp) ProtoReflect ¶
func (x *ApplyFriendResp) ProtoReflect() protoreflect.Message
func (*ApplyFriendResp) Reset ¶
func (x *ApplyFriendResp) Reset()
func (*ApplyFriendResp) String ¶
func (x *ApplyFriendResp) String() string
type BaseResp ¶
type BaseResp struct { ErrCode BaseResp_Errno `protobuf:"varint,1,opt,name=errCode,proto3,enum=user.BaseResp_Errno" json:"errCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*BaseResp) Descriptor
deprecated
func (*BaseResp) GetErrCode ¶
func (x *BaseResp) GetErrCode() BaseResp_Errno
func (*BaseResp) ProtoMessage ¶
func (*BaseResp) ProtoMessage()
func (*BaseResp) ProtoReflect ¶
func (x *BaseResp) ProtoReflect() protoreflect.Message
type BaseResp_Errno ¶
type BaseResp_Errno int32
const ( BaseResp_OK BaseResp_Errno = 0 BaseResp_ERROR BaseResp_Errno = 1 )
func (BaseResp_Errno) Descriptor ¶
func (BaseResp_Errno) Descriptor() protoreflect.EnumDescriptor
func (BaseResp_Errno) Enum ¶
func (x BaseResp_Errno) Enum() *BaseResp_Errno
func (BaseResp_Errno) EnumDescriptor
deprecated
func (BaseResp_Errno) EnumDescriptor() ([]byte, []int)
Deprecated: Use BaseResp_Errno.Descriptor instead.
func (BaseResp_Errno) Number ¶
func (x BaseResp_Errno) Number() protoreflect.EnumNumber
func (BaseResp_Errno) String ¶
func (x BaseResp_Errno) String() string
func (BaseResp_Errno) Type ¶
func (BaseResp_Errno) Type() protoreflect.EnumType
type BlackUserReq ¶
type BlackUserReq struct { SelfId string `protobuf:"bytes,1,opt,name=selfId,proto3" json:"selfId,omitempty"` // 用户id UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // 好友id // contains filtered or unexported fields }
func (*BlackUserReq) Descriptor
deprecated
func (*BlackUserReq) Descriptor() ([]byte, []int)
Deprecated: Use BlackUserReq.ProtoReflect.Descriptor instead.
func (*BlackUserReq) GetSelfId ¶
func (x *BlackUserReq) GetSelfId() string
func (*BlackUserReq) GetUserId ¶
func (x *BlackUserReq) GetUserId() string
func (*BlackUserReq) ProtoMessage ¶
func (*BlackUserReq) ProtoMessage()
func (*BlackUserReq) ProtoReflect ¶
func (x *BlackUserReq) ProtoReflect() protoreflect.Message
func (*BlackUserReq) Reset ¶
func (x *BlackUserReq) Reset()
func (*BlackUserReq) String ¶
func (x *BlackUserReq) String() string
type BlackUserResp ¶
type BlackUserResp struct { BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"` // contains filtered or unexported fields }
func (*BlackUserResp) Descriptor
deprecated
func (*BlackUserResp) Descriptor() ([]byte, []int)
Deprecated: Use BlackUserResp.ProtoReflect.Descriptor instead.
func (*BlackUserResp) GetBaseResp ¶
func (x *BlackUserResp) GetBaseResp() *RelationBaseResp
func (*BlackUserResp) ProtoMessage ¶
func (*BlackUserResp) ProtoMessage()
func (*BlackUserResp) ProtoReflect ¶
func (x *BlackUserResp) ProtoReflect() protoreflect.Message
func (*BlackUserResp) Reset ¶
func (x *BlackUserResp) Reset()
func (*BlackUserResp) String ¶
func (x *BlackUserResp) String() string
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 DeleteBlackReq ¶
type DeleteBlackReq struct { SelfId string `protobuf:"bytes,1,opt,name=selfId,proto3" json:"selfId,omitempty"` // 用户id UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // 好友id // contains filtered or unexported fields }
func (*DeleteBlackReq) Descriptor
deprecated
func (*DeleteBlackReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBlackReq.ProtoReflect.Descriptor instead.
func (*DeleteBlackReq) GetSelfId ¶
func (x *DeleteBlackReq) GetSelfId() string
func (*DeleteBlackReq) GetUserId ¶
func (x *DeleteBlackReq) GetUserId() string
func (*DeleteBlackReq) ProtoMessage ¶
func (*DeleteBlackReq) ProtoMessage()
func (*DeleteBlackReq) ProtoReflect ¶
func (x *DeleteBlackReq) ProtoReflect() protoreflect.Message
func (*DeleteBlackReq) Reset ¶
func (x *DeleteBlackReq) Reset()
func (*DeleteBlackReq) String ¶
func (x *DeleteBlackReq) String() string
type DeleteBlackResp ¶
type DeleteBlackResp struct { BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"` // contains filtered or unexported fields }
func (*DeleteBlackResp) Descriptor
deprecated
func (*DeleteBlackResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBlackResp.ProtoReflect.Descriptor instead.
func (*DeleteBlackResp) GetBaseResp ¶
func (x *DeleteBlackResp) GetBaseResp() *RelationBaseResp
func (*DeleteBlackResp) ProtoMessage ¶
func (*DeleteBlackResp) ProtoMessage()
func (*DeleteBlackResp) ProtoReflect ¶
func (x *DeleteBlackResp) ProtoReflect() protoreflect.Message
func (*DeleteBlackResp) Reset ¶
func (x *DeleteBlackResp) Reset()
func (*DeleteBlackResp) String ¶
func (x *DeleteBlackResp) String() string
type DeleteFriendReq ¶
type DeleteFriendReq struct { SelfId string `protobuf:"bytes,1,opt,name=selfId,proto3" json:"selfId,omitempty"` // 用户id UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // 好友id // contains filtered or unexported fields }
func (*DeleteFriendReq) Descriptor
deprecated
func (*DeleteFriendReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFriendReq.ProtoReflect.Descriptor instead.
func (*DeleteFriendReq) GetSelfId ¶
func (x *DeleteFriendReq) GetSelfId() string
func (*DeleteFriendReq) GetUserId ¶
func (x *DeleteFriendReq) GetUserId() string
func (*DeleteFriendReq) ProtoMessage ¶
func (*DeleteFriendReq) ProtoMessage()
func (*DeleteFriendReq) ProtoReflect ¶
func (x *DeleteFriendReq) ProtoReflect() protoreflect.Message
func (*DeleteFriendReq) Reset ¶
func (x *DeleteFriendReq) Reset()
func (*DeleteFriendReq) String ¶
func (x *DeleteFriendReq) String() string
type DeleteFriendResp ¶
type DeleteFriendResp struct { BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"` // contains filtered or unexported fields }
func (*DeleteFriendResp) Descriptor
deprecated
func (*DeleteFriendResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFriendResp.ProtoReflect.Descriptor instead.
func (*DeleteFriendResp) GetBaseResp ¶
func (x *DeleteFriendResp) GetBaseResp() *RelationBaseResp
func (*DeleteFriendResp) ProtoMessage ¶
func (*DeleteFriendResp) ProtoMessage()
func (*DeleteFriendResp) ProtoReflect ¶
func (x *DeleteFriendResp) ProtoReflect() protoreflect.Message
func (*DeleteFriendResp) Reset ¶
func (x *DeleteFriendResp) Reset()
func (*DeleteFriendResp) String ¶
func (x *DeleteFriendResp) String() string
type GetApplyFriendListReq ¶
type GetApplyFriendListReq struct { SelfId string `protobuf:"bytes,1,opt,name=selfId,proto3" json:"selfId,omitempty"` // 用户id PageReq *PageReq `protobuf:"bytes,2,opt,name=pageReq,proto3" json:"pageReq,omitempty"` // contains filtered or unexported fields }
func (*GetApplyFriendListReq) Descriptor
deprecated
func (*GetApplyFriendListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetApplyFriendListReq.ProtoReflect.Descriptor instead.
func (*GetApplyFriendListReq) GetPageReq ¶
func (x *GetApplyFriendListReq) GetPageReq() *PageReq
func (*GetApplyFriendListReq) GetSelfId ¶
func (x *GetApplyFriendListReq) GetSelfId() string
func (*GetApplyFriendListReq) ProtoMessage ¶
func (*GetApplyFriendListReq) ProtoMessage()
func (*GetApplyFriendListReq) ProtoReflect ¶
func (x *GetApplyFriendListReq) ProtoReflect() protoreflect.Message
func (*GetApplyFriendListReq) Reset ¶
func (x *GetApplyFriendListReq) Reset()
func (*GetApplyFriendListReq) String ¶
func (x *GetApplyFriendListReq) String() string
type GetApplyFriendListResp ¶
type GetApplyFriendListResp struct { BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"` PageResp *PageResp `protobuf:"bytes,2,opt,name=pageResp,proto3" json:"pageResp,omitempty"` ApplyFriendList []*GetApplyFriendListResp_ApplyFriend `protobuf:"bytes,3,rep,name=applyFriendList,proto3" json:"applyFriendList,omitempty"` // contains filtered or unexported fields }
func (*GetApplyFriendListResp) Descriptor
deprecated
func (*GetApplyFriendListResp) Descriptor() ([]byte, []int)
Deprecated: Use GetApplyFriendListResp.ProtoReflect.Descriptor instead.
func (*GetApplyFriendListResp) GetApplyFriendList ¶
func (x *GetApplyFriendListResp) GetApplyFriendList() []*GetApplyFriendListResp_ApplyFriend
func (*GetApplyFriendListResp) GetBaseResp ¶
func (x *GetApplyFriendListResp) GetBaseResp() *RelationBaseResp
func (*GetApplyFriendListResp) GetPageResp ¶
func (x *GetApplyFriendListResp) GetPageResp() *PageResp
func (*GetApplyFriendListResp) ProtoMessage ¶
func (*GetApplyFriendListResp) ProtoMessage()
func (*GetApplyFriendListResp) ProtoReflect ¶
func (x *GetApplyFriendListResp) ProtoReflect() protoreflect.Message
func (*GetApplyFriendListResp) Reset ¶
func (x *GetApplyFriendListResp) Reset()
func (*GetApplyFriendListResp) String ¶
func (x *GetApplyFriendListResp) String() string
type GetApplyFriendListResp_ApplyFriend ¶
type GetApplyFriendListResp_ApplyFriend struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 申请记录id ApplyUserId string `protobuf:"bytes,2,opt,name=applyUserId,proto3" json:"applyUserId,omitempty"` // 申请人 UserId string `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"` // 被申请人 Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` // 申请信息 CreateTime string `protobuf:"bytes,5,opt,name=createTime,proto3" json:"createTime,omitempty"` // 申请时间 Status GetApplyFriendListResp_ApplyFriend_Status `protobuf:"varint,6,opt,name=status,proto3,enum=relation.GetApplyFriendListResp_ApplyFriend_Status" json:"status,omitempty"` // 申请状态 // contains filtered or unexported fields }
func (*GetApplyFriendListResp_ApplyFriend) Descriptor
deprecated
func (*GetApplyFriendListResp_ApplyFriend) Descriptor() ([]byte, []int)
Deprecated: Use GetApplyFriendListResp_ApplyFriend.ProtoReflect.Descriptor instead.
func (*GetApplyFriendListResp_ApplyFriend) GetApplyUserId ¶
func (x *GetApplyFriendListResp_ApplyFriend) GetApplyUserId() string
func (*GetApplyFriendListResp_ApplyFriend) GetCreateTime ¶
func (x *GetApplyFriendListResp_ApplyFriend) GetCreateTime() string
func (*GetApplyFriendListResp_ApplyFriend) GetId ¶
func (x *GetApplyFriendListResp_ApplyFriend) GetId() string
func (*GetApplyFriendListResp_ApplyFriend) GetMessage ¶
func (x *GetApplyFriendListResp_ApplyFriend) GetMessage() string
func (*GetApplyFriendListResp_ApplyFriend) GetStatus ¶
func (x *GetApplyFriendListResp_ApplyFriend) GetStatus() GetApplyFriendListResp_ApplyFriend_Status
func (*GetApplyFriendListResp_ApplyFriend) GetUserId ¶
func (x *GetApplyFriendListResp_ApplyFriend) GetUserId() string
func (*GetApplyFriendListResp_ApplyFriend) ProtoMessage ¶
func (*GetApplyFriendListResp_ApplyFriend) ProtoMessage()
func (*GetApplyFriendListResp_ApplyFriend) ProtoReflect ¶
func (x *GetApplyFriendListResp_ApplyFriend) ProtoReflect() protoreflect.Message
func (*GetApplyFriendListResp_ApplyFriend) Reset ¶
func (x *GetApplyFriendListResp_ApplyFriend) Reset()
func (*GetApplyFriendListResp_ApplyFriend) String ¶
func (x *GetApplyFriendListResp_ApplyFriend) String() string
type GetApplyFriendListResp_ApplyFriend_Status ¶
type GetApplyFriendListResp_ApplyFriend_Status int32
const ( GetApplyFriendListResp_ApplyFriend_Applying GetApplyFriendListResp_ApplyFriend_Status = 0 GetApplyFriendListResp_ApplyFriend_AGREE GetApplyFriendListResp_ApplyFriend_Status = 1 GetApplyFriendListResp_ApplyFriend_REFUSE GetApplyFriendListResp_ApplyFriend_Status = 2 )
func (GetApplyFriendListResp_ApplyFriend_Status) Descriptor ¶
func (GetApplyFriendListResp_ApplyFriend_Status) Descriptor() protoreflect.EnumDescriptor
func (GetApplyFriendListResp_ApplyFriend_Status) EnumDescriptor
deprecated
func (GetApplyFriendListResp_ApplyFriend_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetApplyFriendListResp_ApplyFriend_Status.Descriptor instead.
func (GetApplyFriendListResp_ApplyFriend_Status) Number ¶
func (x GetApplyFriendListResp_ApplyFriend_Status) Number() protoreflect.EnumNumber
func (GetApplyFriendListResp_ApplyFriend_Status) String ¶
func (x GetApplyFriendListResp_ApplyFriend_Status) String() string
func (GetApplyFriendListResp_ApplyFriend_Status) Type ¶
func (GetApplyFriendListResp_ApplyFriend_Status) Type() protoreflect.EnumType
type GetBlackListReq ¶
type GetBlackListReq struct { SelfId string `protobuf:"bytes,1,opt,name=selfId,proto3" json:"selfId,omitempty"` // 用户id PageReq *PageReq `protobuf:"bytes,2,opt,name=pageReq,proto3" json:"pageReq,omitempty"` // contains filtered or unexported fields }
func (*GetBlackListReq) Descriptor
deprecated
func (*GetBlackListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetBlackListReq.ProtoReflect.Descriptor instead.
func (*GetBlackListReq) GetPageReq ¶
func (x *GetBlackListReq) GetPageReq() *PageReq
func (*GetBlackListReq) GetSelfId ¶
func (x *GetBlackListReq) GetSelfId() string
func (*GetBlackListReq) ProtoMessage ¶
func (*GetBlackListReq) ProtoMessage()
func (*GetBlackListReq) ProtoReflect ¶
func (x *GetBlackListReq) ProtoReflect() protoreflect.Message
func (*GetBlackListReq) Reset ¶
func (x *GetBlackListReq) Reset()
func (*GetBlackListReq) String ¶
func (x *GetBlackListReq) String() string
type GetBlackListResp ¶
type GetBlackListResp struct { BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"` PageResp *PageResp `protobuf:"bytes,2,opt,name=pageResp,proto3" json:"pageResp,omitempty"` BlackList []*GetBlackListResp_Black `protobuf:"bytes,3,rep,name=blackList,proto3" json:"blackList,omitempty"` // contains filtered or unexported fields }
func (*GetBlackListResp) Descriptor
deprecated
func (*GetBlackListResp) Descriptor() ([]byte, []int)
Deprecated: Use GetBlackListResp.ProtoReflect.Descriptor instead.
func (*GetBlackListResp) GetBaseResp ¶
func (x *GetBlackListResp) GetBaseResp() *RelationBaseResp
func (*GetBlackListResp) GetBlackList ¶
func (x *GetBlackListResp) GetBlackList() []*GetBlackListResp_Black
func (*GetBlackListResp) GetPageResp ¶
func (x *GetBlackListResp) GetPageResp() *PageResp
func (*GetBlackListResp) ProtoMessage ¶
func (*GetBlackListResp) ProtoMessage()
func (*GetBlackListResp) ProtoReflect ¶
func (x *GetBlackListResp) ProtoReflect() protoreflect.Message
func (*GetBlackListResp) Reset ¶
func (x *GetBlackListResp) Reset()
func (*GetBlackListResp) String ¶
func (x *GetBlackListResp) String() string
type GetBlackListResp_Black ¶
type GetBlackListResp_Black struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id SelfId string `protobuf:"bytes,2,opt,name=selfId,proto3" json:"selfId,omitempty"` // 自己的id CreateTime string `protobuf:"bytes,3,opt,name=createTime,proto3" json:"createTime,omitempty"` // 加黑的时间 排序键 // contains filtered or unexported fields }
func (*GetBlackListResp_Black) Descriptor
deprecated
func (*GetBlackListResp_Black) Descriptor() ([]byte, []int)
Deprecated: Use GetBlackListResp_Black.ProtoReflect.Descriptor instead.
func (*GetBlackListResp_Black) GetCreateTime ¶
func (x *GetBlackListResp_Black) GetCreateTime() string
func (*GetBlackListResp_Black) GetSelfId ¶
func (x *GetBlackListResp_Black) GetSelfId() string
func (*GetBlackListResp_Black) GetUserId ¶
func (x *GetBlackListResp_Black) GetUserId() string
func (*GetBlackListResp_Black) ProtoMessage ¶
func (*GetBlackListResp_Black) ProtoMessage()
func (*GetBlackListResp_Black) ProtoReflect ¶
func (x *GetBlackListResp_Black) ProtoReflect() protoreflect.Message
func (*GetBlackListResp_Black) Reset ¶
func (x *GetBlackListResp_Black) Reset()
func (*GetBlackListResp_Black) String ¶
func (x *GetBlackListResp_Black) String() string
type GetFriendListReq ¶
type GetFriendListReq struct { SelfId string `protobuf:"bytes,1,opt,name=selfId,proto3" json:"selfId,omitempty"` // 用户id // contains filtered or unexported fields }
func (*GetFriendListReq) Descriptor
deprecated
func (*GetFriendListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendListReq.ProtoReflect.Descriptor instead.
func (*GetFriendListReq) GetSelfId ¶
func (x *GetFriendListReq) GetSelfId() string
func (*GetFriendListReq) ProtoMessage ¶
func (*GetFriendListReq) ProtoMessage()
func (*GetFriendListReq) ProtoReflect ¶
func (x *GetFriendListReq) ProtoReflect() protoreflect.Message
func (*GetFriendListReq) Reset ¶
func (x *GetFriendListReq) Reset()
func (*GetFriendListReq) String ¶
func (x *GetFriendListReq) String() string
type GetFriendListResp ¶
type GetFriendListResp struct { BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"` FriendList []*GetFriendListResp_Friend `protobuf:"bytes,2,rep,name=friendList,proto3" json:"friendList,omitempty"` // contains filtered or unexported fields }
func (*GetFriendListResp) Descriptor
deprecated
func (*GetFriendListResp) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendListResp.ProtoReflect.Descriptor instead.
func (*GetFriendListResp) GetBaseResp ¶
func (x *GetFriendListResp) GetBaseResp() *RelationBaseResp
func (*GetFriendListResp) GetFriendList ¶
func (x *GetFriendListResp) GetFriendList() []*GetFriendListResp_Friend
func (*GetFriendListResp) ProtoMessage ¶
func (*GetFriendListResp) ProtoMessage()
func (*GetFriendListResp) ProtoReflect ¶
func (x *GetFriendListResp) ProtoReflect() protoreflect.Message
func (*GetFriendListResp) Reset ¶
func (x *GetFriendListResp) Reset()
func (*GetFriendListResp) String ¶
func (x *GetFriendListResp) String() string
type GetFriendListResp_Friend ¶
type GetFriendListResp_Friend struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // 用户id SelfId string `protobuf:"bytes,2,opt,name=selfId,proto3" json:"selfId,omitempty"` // 自己的id Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` // 备注 CreateTime string `protobuf:"bytes,4,opt,name=createTime,proto3" json:"createTime,omitempty"` // 加好友的时间 // contains filtered or unexported fields }
func (*GetFriendListResp_Friend) Descriptor
deprecated
func (*GetFriendListResp_Friend) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendListResp_Friend.ProtoReflect.Descriptor instead.
func (*GetFriendListResp_Friend) GetCreateTime ¶
func (x *GetFriendListResp_Friend) GetCreateTime() string
func (*GetFriendListResp_Friend) GetRemark ¶
func (x *GetFriendListResp_Friend) GetRemark() string
func (*GetFriendListResp_Friend) GetSelfId ¶
func (x *GetFriendListResp_Friend) GetSelfId() string
func (*GetFriendListResp_Friend) GetUserId ¶
func (x *GetFriendListResp_Friend) GetUserId() string
func (*GetFriendListResp_Friend) ProtoMessage ¶
func (*GetFriendListResp_Friend) ProtoMessage()
func (*GetFriendListResp_Friend) ProtoReflect ¶
func (x *GetFriendListResp_Friend) ProtoReflect() protoreflect.Message
func (*GetFriendListResp_Friend) Reset ¶
func (x *GetFriendListResp_Friend) Reset()
func (*GetFriendListResp_Friend) String ¶
func (x *GetFriendListResp_Friend) 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"` ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"` // contains filtered or unexported fields }
func (*GetSingleConversationRecvMsgOptsReq) Descriptor
deprecated
func (*GetSingleConversationRecvMsgOptsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetSingleConversationRecvMsgOptsReq.ProtoReflect.Descriptor instead.
func (*GetSingleConversationRecvMsgOptsReq) GetConversationID ¶
func (x *GetSingleConversationRecvMsgOptsReq) GetConversationID() 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 GetUserByIdReq ¶
type GetUserByIdReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*GetUserByIdReq) Descriptor
deprecated
func (*GetUserByIdReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByIdReq.ProtoReflect.Descriptor instead.
func (*GetUserByIdReq) GetUserId ¶
func (x *GetUserByIdReq) GetUserId() string
func (*GetUserByIdReq) ProtoMessage ¶
func (*GetUserByIdReq) ProtoMessage()
func (*GetUserByIdReq) ProtoReflect ¶
func (x *GetUserByIdReq) ProtoReflect() protoreflect.Message
func (*GetUserByIdReq) Reset ¶
func (x *GetUserByIdReq) Reset()
func (*GetUserByIdReq) String ¶
func (x *GetUserByIdReq) String() string
type GetUserByIdsReq ¶
type GetUserByIdsReq struct { UserIds []string `protobuf:"bytes,1,rep,name=userIds,proto3" json:"userIds,omitempty"` // contains filtered or unexported fields }
func (*GetUserByIdsReq) Descriptor
deprecated
func (*GetUserByIdsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByIdsReq.ProtoReflect.Descriptor instead.
func (*GetUserByIdsReq) GetUserIds ¶
func (x *GetUserByIdsReq) GetUserIds() []string
func (*GetUserByIdsReq) ProtoMessage ¶
func (*GetUserByIdsReq) ProtoMessage()
func (*GetUserByIdsReq) ProtoReflect ¶
func (x *GetUserByIdsReq) ProtoReflect() protoreflect.Message
func (*GetUserByIdsReq) Reset ¶
func (x *GetUserByIdsReq) Reset()
func (*GetUserByIdsReq) String ¶
func (x *GetUserByIdsReq) String() string
type GetUserByUsernameReq ¶
type GetUserByUsernameReq struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*GetUserByUsernameReq) Descriptor
deprecated
func (*GetUserByUsernameReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByUsernameReq.ProtoReflect.Descriptor instead.
func (*GetUserByUsernameReq) GetUsername ¶
func (x *GetUserByUsernameReq) GetUsername() string
func (*GetUserByUsernameReq) ProtoMessage ¶
func (*GetUserByUsernameReq) ProtoMessage()
func (*GetUserByUsernameReq) ProtoReflect ¶
func (x *GetUserByUsernameReq) ProtoReflect() protoreflect.Message
func (*GetUserByUsernameReq) Reset ¶
func (x *GetUserByUsernameReq) Reset()
func (*GetUserByUsernameReq) String ¶
func (x *GetUserByUsernameReq) String() string
type GetUserListFromSuperGroupWithOptReq ¶
type GetUserListFromSuperGroupWithOptReq struct { SuperGroupID string `protobuf:"bytes,1,opt,name=superGroupID,proto3" json:"superGroupID,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 (*GetUserListFromSuperGroupWithOptReq) Descriptor
deprecated
func (*GetUserListFromSuperGroupWithOptReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserListFromSuperGroupWithOptReq.ProtoReflect.Descriptor instead.
func (*GetUserListFromSuperGroupWithOptReq) GetOpts ¶
func (x *GetUserListFromSuperGroupWithOptReq) GetOpts() []RecvMsgOpt
func (*GetUserListFromSuperGroupWithOptReq) GetSuperGroupID ¶
func (x *GetUserListFromSuperGroupWithOptReq) GetSuperGroupID() string
func (*GetUserListFromSuperGroupWithOptReq) GetUserIDList ¶
func (x *GetUserListFromSuperGroupWithOptReq) GetUserIDList() []string
func (*GetUserListFromSuperGroupWithOptReq) ProtoMessage ¶
func (*GetUserListFromSuperGroupWithOptReq) ProtoMessage()
func (*GetUserListFromSuperGroupWithOptReq) ProtoReflect ¶
func (x *GetUserListFromSuperGroupWithOptReq) ProtoReflect() protoreflect.Message
func (*GetUserListFromSuperGroupWithOptReq) Reset ¶
func (x *GetUserListFromSuperGroupWithOptReq) Reset()
func (*GetUserListFromSuperGroupWithOptReq) String ¶
func (x *GetUserListFromSuperGroupWithOptReq) String() string
type GetUserListFromSuperGroupWithOptResp ¶
type GetUserListFromSuperGroupWithOptResp 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 (*GetUserListFromSuperGroupWithOptResp) Descriptor
deprecated
func (*GetUserListFromSuperGroupWithOptResp) Descriptor() ([]byte, []int)
Deprecated: Use GetUserListFromSuperGroupWithOptResp.ProtoReflect.Descriptor instead.
func (*GetUserListFromSuperGroupWithOptResp) GetCommonResp ¶
func (x *GetUserListFromSuperGroupWithOptResp) GetCommonResp() *CommonResp
func (*GetUserListFromSuperGroupWithOptResp) GetUserIDOptList ¶
func (x *GetUserListFromSuperGroupWithOptResp) GetUserIDOptList() []*UserIDOpt
func (*GetUserListFromSuperGroupWithOptResp) ProtoMessage ¶
func (*GetUserListFromSuperGroupWithOptResp) ProtoMessage()
func (*GetUserListFromSuperGroupWithOptResp) ProtoReflect ¶
func (x *GetUserListFromSuperGroupWithOptResp) ProtoReflect() protoreflect.Message
func (*GetUserListFromSuperGroupWithOptResp) Reset ¶
func (x *GetUserListFromSuperGroupWithOptResp) Reset()
func (*GetUserListFromSuperGroupWithOptResp) String ¶
func (x *GetUserListFromSuperGroupWithOptResp) String() string
type GetUserListResp ¶
type GetUserListResp struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` BaseResp *BaseResp `protobuf:"bytes,2,opt,name=baseResp,proto3" json:"baseResp,omitempty"` // contains filtered or unexported fields }
func (*GetUserListResp) Descriptor
deprecated
func (*GetUserListResp) Descriptor() ([]byte, []int)
Deprecated: Use GetUserListResp.ProtoReflect.Descriptor instead.
func (*GetUserListResp) GetBaseResp ¶
func (x *GetUserListResp) GetBaseResp() *BaseResp
func (*GetUserListResp) GetUsers ¶
func (x *GetUserListResp) GetUsers() []*User
func (*GetUserListResp) ProtoMessage ¶
func (*GetUserListResp) ProtoMessage()
func (*GetUserListResp) ProtoReflect ¶
func (x *GetUserListResp) ProtoReflect() protoreflect.Message
func (*GetUserListResp) Reset ¶
func (x *GetUserListResp) Reset()
func (*GetUserListResp) String ¶
func (x *GetUserListResp) String() string
type GetUserResp ¶
type GetUserResp struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` BaseResp *BaseResp `protobuf:"bytes,2,opt,name=baseResp,proto3" json:"baseResp,omitempty"` // contains filtered or unexported fields }
func (*GetUserResp) Descriptor
deprecated
func (*GetUserResp) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResp.ProtoReflect.Descriptor instead.
func (*GetUserResp) GetBaseResp ¶
func (x *GetUserResp) GetBaseResp() *BaseResp
func (*GetUserResp) GetUser ¶
func (x *GetUserResp) GetUser() *User
func (*GetUserResp) ProtoMessage ¶
func (*GetUserResp) ProtoMessage()
func (*GetUserResp) ProtoReflect ¶
func (x *GetUserResp) ProtoReflect() protoreflect.Message
func (*GetUserResp) Reset ¶
func (x *GetUserResp) Reset()
func (*GetUserResp) String ¶
func (x *GetUserResp) 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 ImUserServiceClient ¶
type ImUserServiceClient interface { // 获取群组成员列表 GetGroupMemberIDListFromCache(ctx context.Context, in *GetGroupMemberIDListFromCacheReq, opts ...grpc.CallOption) (*GetGroupMemberIDListFromCacheResp, error) // 判断用户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) // 获取超级群成员列表 通过消息接收选项 GetUserListFromSuperGroupWithOpt(ctx context.Context, in *GetUserListFromSuperGroupWithOptReq, opts ...grpc.CallOption) (*GetUserListFromSuperGroupWithOptResp, error) // 检查token VerifyToken(ctx context.Context, in *VerifyTokenReq, opts ...grpc.CallOption) (*VerifyTokenResp, 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 { // 获取群组成员列表 GetGroupMemberIDListFromCache(context.Context, *GetGroupMemberIDListFromCacheReq) (*GetGroupMemberIDListFromCacheResp, error) // 判断用户A是否在B黑名单中 IfAInBBlacklist(context.Context, *IfAInBBlacklistReq) (*IfAInBBlacklistResp, error) // 判断用户A是否在B好友列表中 IfAInBFriendList(context.Context, *IfAInBFriendListReq) (*IfAInBFriendListResp, error) // 获取单聊会话的消息接收选项 GetSingleConversationRecvMsgOpts(context.Context, *GetSingleConversationRecvMsgOptsReq) (*GetSingleConversationRecvMsgOptsResp, error) // 获取超级群成员列表 通过消息接收选项 GetUserListFromSuperGroupWithOpt(context.Context, *GetUserListFromSuperGroupWithOptReq) (*GetUserListFromSuperGroupWithOptResp, error) // 检查token VerifyToken(context.Context, *VerifyTokenReq) (*VerifyTokenResp, error) // contains filtered or unexported methods }
ImUserServiceServer is the server API for ImUserService service. All implementations must embed UnimplementedImUserServiceServer for forward compatibility
type InsertUserReq ¶
type InsertUserReq struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*InsertUserReq) Descriptor
deprecated
func (*InsertUserReq) Descriptor() ([]byte, []int)
Deprecated: Use InsertUserReq.ProtoReflect.Descriptor instead.
func (*InsertUserReq) GetUser ¶
func (x *InsertUserReq) GetUser() *User
func (*InsertUserReq) ProtoMessage ¶
func (*InsertUserReq) ProtoMessage()
func (*InsertUserReq) ProtoReflect ¶
func (x *InsertUserReq) ProtoReflect() protoreflect.Message
func (*InsertUserReq) Reset ¶
func (x *InsertUserReq) Reset()
func (*InsertUserReq) String ¶
func (x *InsertUserReq) String() string
type InsertUserResp ¶
type InsertUserResp struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"` // contains filtered or unexported fields }
func (*InsertUserResp) Descriptor
deprecated
func (*InsertUserResp) Descriptor() ([]byte, []int)
Deprecated: Use InsertUserResp.ProtoReflect.Descriptor instead.
func (*InsertUserResp) GetBaseResp ¶
func (x *InsertUserResp) GetBaseResp() *BaseResp
func (*InsertUserResp) ProtoMessage ¶
func (*InsertUserResp) ProtoMessage()
func (*InsertUserResp) ProtoReflect ¶
func (x *InsertUserResp) ProtoReflect() protoreflect.Message
func (*InsertUserResp) Reset ¶
func (x *InsertUserResp) Reset()
func (*InsertUserResp) String ¶
func (x *InsertUserResp) String() string
type LoginByIdReq ¶
type LoginByIdReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` // contains filtered or unexported fields }
func (*LoginByIdReq) Descriptor
deprecated
func (*LoginByIdReq) Descriptor() ([]byte, []int)
Deprecated: Use LoginByIdReq.ProtoReflect.Descriptor instead.
func (*LoginByIdReq) GetPlatform ¶
func (x *LoginByIdReq) GetPlatform() string
func (*LoginByIdReq) GetUserId ¶
func (x *LoginByIdReq) GetUserId() string
func (*LoginByIdReq) ProtoMessage ¶
func (*LoginByIdReq) ProtoMessage()
func (*LoginByIdReq) ProtoReflect ¶
func (x *LoginByIdReq) ProtoReflect() protoreflect.Message
func (*LoginByIdReq) Reset ¶
func (x *LoginByIdReq) Reset()
func (*LoginByIdReq) String ¶
func (x *LoginByIdReq) String() string
type LoginByPasswordReq ¶
type LoginByPasswordReq struct { Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginByPasswordReq) Descriptor
deprecated
func (*LoginByPasswordReq) Descriptor() ([]byte, []int)
Deprecated: Use LoginByPasswordReq.ProtoReflect.Descriptor instead.
func (*LoginByPasswordReq) GetPassword ¶
func (x *LoginByPasswordReq) GetPassword() string
func (*LoginByPasswordReq) GetPlatform ¶
func (x *LoginByPasswordReq) GetPlatform() string
func (*LoginByPasswordReq) GetUsername ¶
func (x *LoginByPasswordReq) GetUsername() string
func (*LoginByPasswordReq) ProtoMessage ¶
func (*LoginByPasswordReq) ProtoMessage()
func (*LoginByPasswordReq) ProtoReflect ¶
func (x *LoginByPasswordReq) ProtoReflect() protoreflect.Message
func (*LoginByPasswordReq) Reset ¶
func (x *LoginByPasswordReq) Reset()
func (*LoginByPasswordReq) String ¶
func (x *LoginByPasswordReq) String() string
type LoginResp ¶
type LoginResp struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` BaseResp *BaseResp `protobuf:"bytes,3,opt,name=baseResp,proto3" json:"baseResp,omitempty"` // contains filtered or unexported fields }
func (*LoginResp) Descriptor
deprecated
func (*LoginResp) GetBaseResp ¶
func (*LoginResp) ProtoMessage ¶
func (*LoginResp) ProtoMessage()
func (*LoginResp) ProtoReflect ¶
func (x *LoginResp) ProtoReflect() protoreflect.Message
type PageReq ¶
type PageReq struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*PageReq) Descriptor
deprecated
func (*PageReq) GetPageSize ¶
func (*PageReq) ProtoMessage ¶
func (*PageReq) ProtoMessage()
func (*PageReq) ProtoReflect ¶
func (x *PageReq) ProtoReflect() protoreflect.Message
type PageResp ¶
type PageResp struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*PageResp) Descriptor
deprecated
func (*PageResp) GetPageSize ¶
func (*PageResp) ProtoMessage ¶
func (*PageResp) ProtoMessage()
func (*PageResp) ProtoReflect ¶
func (x *PageResp) ProtoReflect() protoreflect.Message
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 RelationBaseResp ¶
type RelationBaseResp struct { ErrCode RelationBaseResp_Errno `protobuf:"varint,1,opt,name=errCode,proto3,enum=relation.RelationBaseResp_Errno" json:"errCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*RelationBaseResp) Descriptor
deprecated
func (*RelationBaseResp) Descriptor() ([]byte, []int)
Deprecated: Use RelationBaseResp.ProtoReflect.Descriptor instead.
func (*RelationBaseResp) GetErrCode ¶
func (x *RelationBaseResp) GetErrCode() RelationBaseResp_Errno
func (*RelationBaseResp) GetErrMsg ¶
func (x *RelationBaseResp) GetErrMsg() string
func (*RelationBaseResp) ProtoMessage ¶
func (*RelationBaseResp) ProtoMessage()
func (*RelationBaseResp) ProtoReflect ¶
func (x *RelationBaseResp) ProtoReflect() protoreflect.Message
func (*RelationBaseResp) Reset ¶
func (x *RelationBaseResp) Reset()
func (*RelationBaseResp) String ¶
func (x *RelationBaseResp) String() string
type RelationBaseResp_Errno ¶
type RelationBaseResp_Errno int32
const ( RelationBaseResp_OK RelationBaseResp_Errno = 0 RelationBaseResp_ERROR RelationBaseResp_Errno = 1 )
func (RelationBaseResp_Errno) Descriptor ¶
func (RelationBaseResp_Errno) Descriptor() protoreflect.EnumDescriptor
func (RelationBaseResp_Errno) Enum ¶
func (x RelationBaseResp_Errno) Enum() *RelationBaseResp_Errno
func (RelationBaseResp_Errno) EnumDescriptor
deprecated
func (RelationBaseResp_Errno) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelationBaseResp_Errno.Descriptor instead.
func (RelationBaseResp_Errno) Number ¶
func (x RelationBaseResp_Errno) Number() protoreflect.EnumNumber
func (RelationBaseResp_Errno) String ¶
func (x RelationBaseResp_Errno) String() string
func (RelationBaseResp_Errno) Type ¶
func (RelationBaseResp_Errno) Type() protoreflect.EnumType
type RelationServiceClient ¶
type RelationServiceClient interface { ApplyFriend(ctx context.Context, in *ApplyFriendReq, opts ...grpc.CallOption) (*ApplyFriendResp, error) UpdateApplyFriendStatus(ctx context.Context, in *UpdateApplyFriendStatusReq, opts ...grpc.CallOption) (*UpdateApplyFriendStatusResp, error) GetApplyFriendList(ctx context.Context, in *GetApplyFriendListReq, opts ...grpc.CallOption) (*GetApplyFriendListResp, error) GetFriendList(ctx context.Context, in *GetFriendListReq, opts ...grpc.CallOption) (*GetFriendListResp, error) DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*DeleteFriendResp, error) GetBlackList(ctx context.Context, in *GetBlackListReq, opts ...grpc.CallOption) (*GetBlackListResp, error) DeleteBlack(ctx context.Context, in *DeleteBlackReq, opts ...grpc.CallOption) (*DeleteBlackResp, error) BlackUser(ctx context.Context, in *BlackUserReq, opts ...grpc.CallOption) (*BlackUserResp, error) }
RelationServiceClient is the client API for RelationService 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 NewRelationServiceClient ¶
func NewRelationServiceClient(cc grpc.ClientConnInterface) RelationServiceClient
type RelationServiceServer ¶
type RelationServiceServer interface { ApplyFriend(context.Context, *ApplyFriendReq) (*ApplyFriendResp, error) UpdateApplyFriendStatus(context.Context, *UpdateApplyFriendStatusReq) (*UpdateApplyFriendStatusResp, error) GetApplyFriendList(context.Context, *GetApplyFriendListReq) (*GetApplyFriendListResp, error) GetFriendList(context.Context, *GetFriendListReq) (*GetFriendListResp, error) DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error) GetBlackList(context.Context, *GetBlackListReq) (*GetBlackListResp, error) DeleteBlack(context.Context, *DeleteBlackReq) (*DeleteBlackResp, error) BlackUser(context.Context, *BlackUserReq) (*BlackUserResp, error) // contains filtered or unexported methods }
RelationServiceServer is the server API for RelationService service. All implementations must embed UnimplementedRelationServiceServer for forward compatibility
type UnimplementedImUserServiceServer ¶
type UnimplementedImUserServiceServer struct { }
UnimplementedImUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedImUserServiceServer) GetGroupMemberIDListFromCache ¶
func (UnimplementedImUserServiceServer) GetGroupMemberIDListFromCache(context.Context, *GetGroupMemberIDListFromCacheReq) (*GetGroupMemberIDListFromCacheResp, error)
func (UnimplementedImUserServiceServer) GetSingleConversationRecvMsgOpts ¶
func (UnimplementedImUserServiceServer) GetSingleConversationRecvMsgOpts(context.Context, *GetSingleConversationRecvMsgOptsReq) (*GetSingleConversationRecvMsgOptsResp, error)
func (UnimplementedImUserServiceServer) GetUserListFromSuperGroupWithOpt ¶
func (UnimplementedImUserServiceServer) GetUserListFromSuperGroupWithOpt(context.Context, *GetUserListFromSuperGroupWithOptReq) (*GetUserListFromSuperGroupWithOptResp, 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) VerifyToken ¶
func (UnimplementedImUserServiceServer) VerifyToken(context.Context, *VerifyTokenReq) (*VerifyTokenResp, error)
type UnimplementedRelationServiceServer ¶
type UnimplementedRelationServiceServer struct { }
UnimplementedRelationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRelationServiceServer) ApplyFriend ¶
func (UnimplementedRelationServiceServer) ApplyFriend(context.Context, *ApplyFriendReq) (*ApplyFriendResp, error)
func (UnimplementedRelationServiceServer) BlackUser ¶
func (UnimplementedRelationServiceServer) BlackUser(context.Context, *BlackUserReq) (*BlackUserResp, error)
func (UnimplementedRelationServiceServer) DeleteBlack ¶
func (UnimplementedRelationServiceServer) DeleteBlack(context.Context, *DeleteBlackReq) (*DeleteBlackResp, error)
func (UnimplementedRelationServiceServer) DeleteFriend ¶
func (UnimplementedRelationServiceServer) DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error)
func (UnimplementedRelationServiceServer) GetApplyFriendList ¶
func (UnimplementedRelationServiceServer) GetApplyFriendList(context.Context, *GetApplyFriendListReq) (*GetApplyFriendListResp, error)
func (UnimplementedRelationServiceServer) GetBlackList ¶
func (UnimplementedRelationServiceServer) GetBlackList(context.Context, *GetBlackListReq) (*GetBlackListResp, error)
func (UnimplementedRelationServiceServer) GetFriendList ¶
func (UnimplementedRelationServiceServer) GetFriendList(context.Context, *GetFriendListReq) (*GetFriendListResp, error)
func (UnimplementedRelationServiceServer) UpdateApplyFriendStatus ¶
func (UnimplementedRelationServiceServer) UpdateApplyFriendStatus(context.Context, *UpdateApplyFriendStatusReq) (*UpdateApplyFriendStatusResp, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) GetUserById ¶
func (UnimplementedUserServiceServer) GetUserById(context.Context, *GetUserByIdReq) (*GetUserResp, error)
func (UnimplementedUserServiceServer) GetUserByIds ¶
func (UnimplementedUserServiceServer) GetUserByIds(context.Context, *GetUserByIdsReq) (*GetUserListResp, error)
func (UnimplementedUserServiceServer) GetUserByUsername ¶
func (UnimplementedUserServiceServer) GetUserByUsername(context.Context, *GetUserByUsernameReq) (*GetUserResp, error)
func (UnimplementedUserServiceServer) InsertUser ¶
func (UnimplementedUserServiceServer) InsertUser(context.Context, *InsertUserReq) (*InsertUserResp, error)
func (UnimplementedUserServiceServer) LoginById ¶
func (UnimplementedUserServiceServer) LoginById(context.Context, *LoginByIdReq) (*LoginResp, error)
func (UnimplementedUserServiceServer) LoginByPassword ¶
func (UnimplementedUserServiceServer) LoginByPassword(context.Context, *LoginByPasswordReq) (*LoginResp, error)
func (UnimplementedUserServiceServer) UpdateUser ¶
func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserReq) (*UpdateUserResp, 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 UnsafeRelationServiceServer ¶
type UnsafeRelationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRelationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RelationServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateApplyFriendStatusReq ¶
type UpdateApplyFriendStatusReq struct { Status UpdateApplyFriendStatusReq_Status `protobuf:"varint,1,opt,name=status,proto3,enum=relation.UpdateApplyFriendStatusReq_Status" json:"status,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // 申请记录id SelfId string `protobuf:"bytes,3,opt,name=selfId,proto3" json:"selfId,omitempty"` // 自己的id // contains filtered or unexported fields }
func (*UpdateApplyFriendStatusReq) Descriptor
deprecated
func (*UpdateApplyFriendStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplyFriendStatusReq.ProtoReflect.Descriptor instead.
func (*UpdateApplyFriendStatusReq) GetId ¶
func (x *UpdateApplyFriendStatusReq) GetId() string
func (*UpdateApplyFriendStatusReq) GetSelfId ¶
func (x *UpdateApplyFriendStatusReq) GetSelfId() string
func (*UpdateApplyFriendStatusReq) GetStatus ¶
func (x *UpdateApplyFriendStatusReq) GetStatus() UpdateApplyFriendStatusReq_Status
func (*UpdateApplyFriendStatusReq) ProtoMessage ¶
func (*UpdateApplyFriendStatusReq) ProtoMessage()
func (*UpdateApplyFriendStatusReq) ProtoReflect ¶
func (x *UpdateApplyFriendStatusReq) ProtoReflect() protoreflect.Message
func (*UpdateApplyFriendStatusReq) Reset ¶
func (x *UpdateApplyFriendStatusReq) Reset()
func (*UpdateApplyFriendStatusReq) String ¶
func (x *UpdateApplyFriendStatusReq) String() string
type UpdateApplyFriendStatusReq_Status ¶
type UpdateApplyFriendStatusReq_Status int32
const ( UpdateApplyFriendStatusReq_AGREE UpdateApplyFriendStatusReq_Status = 0 UpdateApplyFriendStatusReq_REFUSE UpdateApplyFriendStatusReq_Status = 1 )
func (UpdateApplyFriendStatusReq_Status) Descriptor ¶
func (UpdateApplyFriendStatusReq_Status) Descriptor() protoreflect.EnumDescriptor
func (UpdateApplyFriendStatusReq_Status) Enum ¶
func (x UpdateApplyFriendStatusReq_Status) Enum() *UpdateApplyFriendStatusReq_Status
func (UpdateApplyFriendStatusReq_Status) EnumDescriptor
deprecated
func (UpdateApplyFriendStatusReq_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateApplyFriendStatusReq_Status.Descriptor instead.
func (UpdateApplyFriendStatusReq_Status) Number ¶
func (x UpdateApplyFriendStatusReq_Status) Number() protoreflect.EnumNumber
func (UpdateApplyFriendStatusReq_Status) String ¶
func (x UpdateApplyFriendStatusReq_Status) String() string
func (UpdateApplyFriendStatusReq_Status) Type ¶
func (UpdateApplyFriendStatusReq_Status) Type() protoreflect.EnumType
type UpdateApplyFriendStatusResp ¶
type UpdateApplyFriendStatusResp struct { BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"` // contains filtered or unexported fields }
func (*UpdateApplyFriendStatusResp) Descriptor
deprecated
func (*UpdateApplyFriendStatusResp) Descriptor() ([]byte, []int)
Deprecated: Use UpdateApplyFriendStatusResp.ProtoReflect.Descriptor instead.
func (*UpdateApplyFriendStatusResp) GetBaseResp ¶
func (x *UpdateApplyFriendStatusResp) GetBaseResp() *RelationBaseResp
func (*UpdateApplyFriendStatusResp) ProtoMessage ¶
func (*UpdateApplyFriendStatusResp) ProtoMessage()
func (*UpdateApplyFriendStatusResp) ProtoReflect ¶
func (x *UpdateApplyFriendStatusResp) ProtoReflect() protoreflect.Message
func (*UpdateApplyFriendStatusResp) Reset ¶
func (x *UpdateApplyFriendStatusResp) Reset()
func (*UpdateApplyFriendStatusResp) String ¶
func (x *UpdateApplyFriendStatusResp) String() string
type UpdateUserReq ¶
type UpdateUserReq struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserReq) Descriptor
deprecated
func (*UpdateUserReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.
func (*UpdateUserReq) GetFields ¶
func (x *UpdateUserReq) GetFields() []string
func (*UpdateUserReq) GetUser ¶
func (x *UpdateUserReq) GetUser() *User
func (*UpdateUserReq) ProtoMessage ¶
func (*UpdateUserReq) ProtoMessage()
func (*UpdateUserReq) ProtoReflect ¶
func (x *UpdateUserReq) ProtoReflect() protoreflect.Message
func (*UpdateUserReq) Reset ¶
func (x *UpdateUserReq) Reset()
func (*UpdateUserReq) String ¶
func (x *UpdateUserReq) String() string
type UpdateUserResp ¶
type UpdateUserResp struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserResp) Descriptor
deprecated
func (*UpdateUserResp) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserResp.ProtoReflect.Descriptor instead.
func (*UpdateUserResp) GetBaseResp ¶
func (x *UpdateUserResp) GetBaseResp() *BaseResp
func (*UpdateUserResp) ProtoMessage ¶
func (*UpdateUserResp) ProtoMessage()
func (*UpdateUserResp) ProtoReflect ¶
func (x *UpdateUserResp) ProtoReflect() protoreflect.Message
func (*UpdateUserResp) Reset ¶
func (x *UpdateUserResp) Reset()
func (*UpdateUserResp) String ¶
func (x *UpdateUserResp) String() string
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"` Password string `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty"` Nickname string `protobuf:"bytes,4,opt,name=Nickname,proto3" json:"Nickname,omitempty"` Sign string `protobuf:"bytes,5,opt,name=Sign,proto3" json:"Sign,omitempty"` Avatar string `protobuf:"bytes,6,opt,name=Avatar,proto3" json:"Avatar,omitempty"` Province string `protobuf:"bytes,7,opt,name=Province,proto3" json:"Province,omitempty"` City string `protobuf:"bytes,8,opt,name=City,proto3" json:"City,omitempty"` District string `protobuf:"bytes,9,opt,name=District,proto3" json:"District,omitempty"` Birthday string `protobuf:"bytes,10,opt,name=Birthday,proto3" json:"Birthday,omitempty"` RegisterTime string `protobuf:"bytes,11,opt,name=RegisterTime,proto3" json:"RegisterTime,omitempty"` IsMale bool `protobuf:"varint,12,opt,name=IsMale,proto3" json:"IsMale,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetBirthday ¶
func (*User) GetDistrict ¶
func (*User) GetNickname ¶
func (*User) GetPassword ¶
func (*User) GetProvince ¶
func (*User) GetRegisterTime ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
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 UserServiceClient ¶
type UserServiceClient interface { GetUserById(ctx context.Context, in *GetUserByIdReq, opts ...grpc.CallOption) (*GetUserResp, error) GetUserByIds(ctx context.Context, in *GetUserByIdsReq, opts ...grpc.CallOption) (*GetUserListResp, error) GetUserByUsername(ctx context.Context, in *GetUserByUsernameReq, opts ...grpc.CallOption) (*GetUserResp, error) InsertUser(ctx context.Context, in *InsertUserReq, opts ...grpc.CallOption) (*InsertUserResp, error) UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*UpdateUserResp, error) LoginByPassword(ctx context.Context, in *LoginByPasswordReq, opts ...grpc.CallOption) (*LoginResp, error) LoginById(ctx context.Context, in *LoginByIdReq, opts ...grpc.CallOption) (*LoginResp, error) }
UserServiceClient is the client API for UserService 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 NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { GetUserById(context.Context, *GetUserByIdReq) (*GetUserResp, error) GetUserByIds(context.Context, *GetUserByIdsReq) (*GetUserListResp, error) GetUserByUsername(context.Context, *GetUserByUsernameReq) (*GetUserResp, error) InsertUser(context.Context, *InsertUserReq) (*InsertUserResp, error) UpdateUser(context.Context, *UpdateUserReq) (*UpdateUserResp, error) LoginByPassword(context.Context, *LoginByPasswordReq) (*LoginResp, error) LoginById(context.Context, *LoginByIdReq) (*LoginResp, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
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