server

package
v0.0.0-...-efd9455 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 (*ImUserServiceServer) GetSingleConversationRecvMsgOpts

获取单聊会话的消息接收选项

func (*ImUserServiceServer) GetUserListFromSuperGroupWithOpt

获取超级群成员列表 通过消息接收选项

func (*ImUserServiceServer) IfAInBBlacklist

判断用户A是否在B黑名单中

func (*ImUserServiceServer) IfAInBFriendList

判断用户A是否在B好友列表中

func (*ImUserServiceServer) VerifyToken

检查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 (*RelationServiceServer) BlackUser

func (*RelationServiceServer) DeleteBlack

func (*RelationServiceServer) DeleteFriend

func (*RelationServiceServer) GetApplyFriendList

func (*RelationServiceServer) GetBlackList

func (*RelationServiceServer) GetFriendList

func (*RelationServiceServer) UpdateApplyFriendStatus

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 (*UserServiceServer) GetUserByUsername

func (s *UserServiceServer) GetUserByUsername(ctx context.Context, in *pb.GetUserByUsernameReq) (*pb.GetUserResp, error)

func (*UserServiceServer) InsertUser

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL