Documentation
¶
Index ¶
- type ImUserServiceServer
- func (s *ImUserServiceServer) GetGroupMemberIDListFromCache(ctx context.Context, in *pb.GetGroupMemberIDListFromCacheReq) (*pb.GetGroupMemberIDListFromCacheResp, error)
- func (s *ImUserServiceServer) GetSingleConversationRecvMsgOpts(ctx context.Context, in *pb.GetSingleConversationRecvMsgOptsReq) (*pb.GetSingleConversationRecvMsgOptsResp, error)
- func (s *ImUserServiceServer) GetUserListFromSuperGroupWithOpt(ctx context.Context, in *pb.GetUserListFromSuperGroupWithOptReq) (*pb.GetUserListFromSuperGroupWithOptResp, error)
- func (s *ImUserServiceServer) IfAInBBlacklist(ctx context.Context, in *pb.IfAInBBlacklistReq) (*pb.IfAInBBlacklistResp, error)
- func (s *ImUserServiceServer) IfAInBFriendList(ctx context.Context, in *pb.IfAInBFriendListReq) (*pb.IfAInBFriendListResp, error)
- func (s *ImUserServiceServer) VerifyToken(ctx context.Context, in *pb.VerifyTokenReq) (*pb.VerifyTokenResp, error)
- type RelationServiceServer
- func (s *RelationServiceServer) ApplyFriend(ctx context.Context, in *pb.ApplyFriendReq) (*pb.ApplyFriendResp, error)
- func (s *RelationServiceServer) BlackUser(ctx context.Context, in *pb.BlackUserReq) (*pb.BlackUserResp, error)
- func (s *RelationServiceServer) DeleteBlack(ctx context.Context, in *pb.DeleteBlackReq) (*pb.DeleteBlackResp, error)
- func (s *RelationServiceServer) DeleteFriend(ctx context.Context, in *pb.DeleteFriendReq) (*pb.DeleteFriendResp, error)
- func (s *RelationServiceServer) GetApplyFriendList(ctx context.Context, in *pb.GetApplyFriendListReq) (*pb.GetApplyFriendListResp, error)
- func (s *RelationServiceServer) GetBlackList(ctx context.Context, in *pb.GetBlackListReq) (*pb.GetBlackListResp, error)
- func (s *RelationServiceServer) GetFriendList(ctx context.Context, in *pb.GetFriendListReq) (*pb.GetFriendListResp, error)
- func (s *RelationServiceServer) UpdateApplyFriendStatus(ctx context.Context, in *pb.UpdateApplyFriendStatusReq) (*pb.UpdateApplyFriendStatusResp, error)
- type UserServiceServer
- func (s *UserServiceServer) GetUserById(ctx context.Context, in *pb.GetUserByIdReq) (*pb.GetUserResp, error)
- func (s *UserServiceServer) GetUserByIds(ctx context.Context, in *pb.GetUserByIdsReq) (*pb.GetUserListResp, error)
- func (s *UserServiceServer) GetUserByUsername(ctx context.Context, in *pb.GetUserByUsernameReq) (*pb.GetUserResp, error)
- func (s *UserServiceServer) InsertUser(ctx context.Context, in *pb.InsertUserReq) (*pb.InsertUserResp, error)
- func (s *UserServiceServer) LoginById(ctx context.Context, in *pb.LoginByIdReq) (*pb.LoginResp, error)
- func (s *UserServiceServer) LoginByPassword(ctx context.Context, in *pb.LoginByPasswordReq) (*pb.LoginResp, error)
- func (s *UserServiceServer) UpdateUser(ctx context.Context, in *pb.UpdateUserReq) (*pb.UpdateUserResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImUserServiceServer ¶
type ImUserServiceServer struct { pb.UnimplementedImUserServiceServer // contains filtered or unexported fields }
func NewImUserServiceServer ¶
func NewImUserServiceServer(svcCtx *svc.ServiceContext) *ImUserServiceServer
func (*ImUserServiceServer) GetGroupMemberIDListFromCache ¶
func (s *ImUserServiceServer) GetGroupMemberIDListFromCache(ctx context.Context, in *pb.GetGroupMemberIDListFromCacheReq) (*pb.GetGroupMemberIDListFromCacheResp, error)
获取群组成员列表
func (*ImUserServiceServer) GetSingleConversationRecvMsgOpts ¶
func (s *ImUserServiceServer) GetSingleConversationRecvMsgOpts(ctx context.Context, in *pb.GetSingleConversationRecvMsgOptsReq) (*pb.GetSingleConversationRecvMsgOptsResp, error)
获取单聊会话的消息接收选项
func (*ImUserServiceServer) GetUserListFromSuperGroupWithOpt ¶
func (s *ImUserServiceServer) GetUserListFromSuperGroupWithOpt(ctx context.Context, in *pb.GetUserListFromSuperGroupWithOptReq) (*pb.GetUserListFromSuperGroupWithOptResp, error)
获取超级群成员列表 通过消息接收选项
func (*ImUserServiceServer) IfAInBBlacklist ¶
func (s *ImUserServiceServer) IfAInBBlacklist(ctx context.Context, in *pb.IfAInBBlacklistReq) (*pb.IfAInBBlacklistResp, error)
判断用户A是否在B黑名单中
func (*ImUserServiceServer) IfAInBFriendList ¶
func (s *ImUserServiceServer) IfAInBFriendList(ctx context.Context, in *pb.IfAInBFriendListReq) (*pb.IfAInBFriendListResp, error)
判断用户A是否在B好友列表中
func (*ImUserServiceServer) VerifyToken ¶
func (s *ImUserServiceServer) VerifyToken(ctx context.Context, in *pb.VerifyTokenReq) (*pb.VerifyTokenResp, error)
检查token
type RelationServiceServer ¶
type RelationServiceServer struct { pb.UnimplementedRelationServiceServer // contains filtered or unexported fields }
func NewRelationServiceServer ¶
func NewRelationServiceServer(svcCtx *svc.ServiceContext) *RelationServiceServer
func (*RelationServiceServer) ApplyFriend ¶
func (s *RelationServiceServer) ApplyFriend(ctx context.Context, in *pb.ApplyFriendReq) (*pb.ApplyFriendResp, error)
func (*RelationServiceServer) BlackUser ¶
func (s *RelationServiceServer) BlackUser(ctx context.Context, in *pb.BlackUserReq) (*pb.BlackUserResp, error)
func (*RelationServiceServer) DeleteBlack ¶
func (s *RelationServiceServer) DeleteBlack(ctx context.Context, in *pb.DeleteBlackReq) (*pb.DeleteBlackResp, error)
func (*RelationServiceServer) DeleteFriend ¶
func (s *RelationServiceServer) DeleteFriend(ctx context.Context, in *pb.DeleteFriendReq) (*pb.DeleteFriendResp, error)
func (*RelationServiceServer) GetApplyFriendList ¶
func (s *RelationServiceServer) GetApplyFriendList(ctx context.Context, in *pb.GetApplyFriendListReq) (*pb.GetApplyFriendListResp, error)
func (*RelationServiceServer) GetBlackList ¶
func (s *RelationServiceServer) GetBlackList(ctx context.Context, in *pb.GetBlackListReq) (*pb.GetBlackListResp, error)
func (*RelationServiceServer) GetFriendList ¶
func (s *RelationServiceServer) GetFriendList(ctx context.Context, in *pb.GetFriendListReq) (*pb.GetFriendListResp, error)
func (*RelationServiceServer) UpdateApplyFriendStatus ¶
func (s *RelationServiceServer) UpdateApplyFriendStatus(ctx context.Context, in *pb.UpdateApplyFriendStatusReq) (*pb.UpdateApplyFriendStatusResp, error)
type UserServiceServer ¶
type UserServiceServer struct { pb.UnimplementedUserServiceServer // contains filtered or unexported fields }
func NewUserServiceServer ¶
func NewUserServiceServer(svcCtx *svc.ServiceContext) *UserServiceServer
func (*UserServiceServer) GetUserById ¶
func (s *UserServiceServer) GetUserById(ctx context.Context, in *pb.GetUserByIdReq) (*pb.GetUserResp, error)
func (*UserServiceServer) GetUserByIds ¶
func (s *UserServiceServer) GetUserByIds(ctx context.Context, in *pb.GetUserByIdsReq) (*pb.GetUserListResp, error)
func (*UserServiceServer) GetUserByUsername ¶
func (s *UserServiceServer) GetUserByUsername(ctx context.Context, in *pb.GetUserByUsernameReq) (*pb.GetUserResp, error)
func (*UserServiceServer) InsertUser ¶
func (s *UserServiceServer) InsertUser(ctx context.Context, in *pb.InsertUserReq) (*pb.InsertUserResp, error)
func (*UserServiceServer) LoginById ¶
func (s *UserServiceServer) LoginById(ctx context.Context, in *pb.LoginByIdReq) (*pb.LoginResp, error)
func (*UserServiceServer) LoginByPassword ¶
func (s *UserServiceServer) LoginByPassword(ctx context.Context, in *pb.LoginByPasswordReq) (*pb.LoginResp, error)
func (*UserServiceServer) UpdateUser ¶
func (s *UserServiceServer) UpdateUser(ctx context.Context, in *pb.UpdateUserReq) (*pb.UpdateUserResp, error)
Click to show internal directories.
Click to hide internal directories.