Documentation ¶
Index ¶
- type ApplyFriendLogic
- type BlackUserLogic
- type DeleteBlackLogic
- type DeleteFriendLogic
- type GetApplyFriendListLogic
- type GetBlackListLogic
- type GetFriendListLogic
- type GetGroupMemberIDListFromCacheLogic
- type GetSingleConversationRecvMsgOptsLogic
- type GetUserByIdLogic
- type GetUserByIdsLogic
- type GetUserByUsernameLogic
- type GetUserListFromSuperGroupWithOptLogic
- type IfAInBBlacklistLogic
- type IfAInBFriendListLogic
- type InsertUserLogic
- type LoginByIdLogic
- type LoginByPasswordLogic
- type UpdateApplyFriendStatusLogic
- type UpdateUserLogic
- type VerifyTokenLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyFriendLogic ¶
func NewApplyFriendLogic ¶
func NewApplyFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ApplyFriendLogic
func (*ApplyFriendLogic) ApplyFriend ¶
func (l *ApplyFriendLogic) ApplyFriend(in *pb.ApplyFriendReq) (*pb.ApplyFriendResp, error)
type BlackUserLogic ¶
func NewBlackUserLogic ¶
func NewBlackUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BlackUserLogic
func (*BlackUserLogic) BlackUser ¶
func (l *BlackUserLogic) BlackUser(in *pb.BlackUserReq) (*pb.BlackUserResp, error)
type DeleteBlackLogic ¶
func NewDeleteBlackLogic ¶
func NewDeleteBlackLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteBlackLogic
func (*DeleteBlackLogic) DeleteBlack ¶
func (l *DeleteBlackLogic) DeleteBlack(in *pb.DeleteBlackReq) (*pb.DeleteBlackResp, error)
type DeleteFriendLogic ¶
func NewDeleteFriendLogic ¶
func NewDeleteFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteFriendLogic
func (*DeleteFriendLogic) DeleteFriend ¶
func (l *DeleteFriendLogic) DeleteFriend(in *pb.DeleteFriendReq) (*pb.DeleteFriendResp, error)
type GetApplyFriendListLogic ¶
func NewGetApplyFriendListLogic ¶
func NewGetApplyFriendListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetApplyFriendListLogic
func (*GetApplyFriendListLogic) GetApplyFriendList ¶
func (l *GetApplyFriendListLogic) GetApplyFriendList(in *pb.GetApplyFriendListReq) (*pb.GetApplyFriendListResp, error)
type GetBlackListLogic ¶
func NewGetBlackListLogic ¶
func NewGetBlackListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetBlackListLogic
func (*GetBlackListLogic) GetBlackList ¶
func (l *GetBlackListLogic) GetBlackList(in *pb.GetBlackListReq) (*pb.GetBlackListResp, error)
type GetFriendListLogic ¶
func NewGetFriendListLogic ¶
func NewGetFriendListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetFriendListLogic
func (*GetFriendListLogic) GetFriendList ¶
func (l *GetFriendListLogic) GetFriendList(in *pb.GetFriendListReq) (*pb.GetFriendListResp, error)
type GetGroupMemberIDListFromCacheLogic ¶
type GetGroupMemberIDListFromCacheLogic struct { logx.Logger // contains filtered or unexported fields }
func NewGetGroupMemberIDListFromCacheLogic ¶
func NewGetGroupMemberIDListFromCacheLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetGroupMemberIDListFromCacheLogic
func (*GetGroupMemberIDListFromCacheLogic) GetGroupMemberIDListFromCache ¶
func (l *GetGroupMemberIDListFromCacheLogic) GetGroupMemberIDListFromCache(in *pb.GetGroupMemberIDListFromCacheReq) (*pb.GetGroupMemberIDListFromCacheResp, error)
type GetSingleConversationRecvMsgOptsLogic ¶
type GetSingleConversationRecvMsgOptsLogic struct { logx.Logger // contains filtered or unexported fields }
func NewGetSingleConversationRecvMsgOptsLogic ¶
func NewGetSingleConversationRecvMsgOptsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetSingleConversationRecvMsgOptsLogic
func (*GetSingleConversationRecvMsgOptsLogic) GetSingleConversationRecvMsgOpts ¶
func (l *GetSingleConversationRecvMsgOptsLogic) GetSingleConversationRecvMsgOpts(in *pb.GetSingleConversationRecvMsgOptsReq) (*pb.GetSingleConversationRecvMsgOptsResp, error)
获取单聊会话的消息接收选项
type GetUserByIdLogic ¶
func NewGetUserByIdLogic ¶
func NewGetUserByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserByIdLogic
func (*GetUserByIdLogic) GetUserById ¶
func (l *GetUserByIdLogic) GetUserById(in *pb.GetUserByIdReq) (*pb.GetUserResp, error)
type GetUserByIdsLogic ¶
func NewGetUserByIdsLogic ¶
func NewGetUserByIdsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserByIdsLogic
func (*GetUserByIdsLogic) GetUserByIds ¶
func (l *GetUserByIdsLogic) GetUserByIds(in *pb.GetUserByIdsReq) (*pb.GetUserListResp, error)
type GetUserByUsernameLogic ¶
func NewGetUserByUsernameLogic ¶
func NewGetUserByUsernameLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserByUsernameLogic
func (*GetUserByUsernameLogic) GetUserByUsername ¶
func (l *GetUserByUsernameLogic) GetUserByUsername(in *pb.GetUserByUsernameReq) (*pb.GetUserResp, error)
type GetUserListFromSuperGroupWithOptLogic ¶
type GetUserListFromSuperGroupWithOptLogic struct { logx.Logger // contains filtered or unexported fields }
func NewGetUserListFromSuperGroupWithOptLogic ¶
func NewGetUserListFromSuperGroupWithOptLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserListFromSuperGroupWithOptLogic
func (*GetUserListFromSuperGroupWithOptLogic) GetUserListFromSuperGroupWithOpt ¶
func (l *GetUserListFromSuperGroupWithOptLogic) GetUserListFromSuperGroupWithOpt(in *pb.GetUserListFromSuperGroupWithOptReq) (*pb.GetUserListFromSuperGroupWithOptResp, error)
获取超级群成员列表 通过消息接收选项
type IfAInBBlacklistLogic ¶
func NewIfAInBBlacklistLogic ¶
func NewIfAInBBlacklistLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IfAInBBlacklistLogic
func (*IfAInBBlacklistLogic) IfAInBBlacklist ¶
func (l *IfAInBBlacklistLogic) IfAInBBlacklist(in *pb.IfAInBBlacklistReq) (*pb.IfAInBBlacklistResp, error)
判断用户A是否在B黑名单中
type IfAInBFriendListLogic ¶
func NewIfAInBFriendListLogic ¶
func NewIfAInBFriendListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IfAInBFriendListLogic
func (*IfAInBFriendListLogic) IfAInBFriendList ¶
func (l *IfAInBFriendListLogic) IfAInBFriendList(in *pb.IfAInBFriendListReq) (*pb.IfAInBFriendListResp, error)
判断用户A是否在B好友列表中
type InsertUserLogic ¶
func NewInsertUserLogic ¶
func NewInsertUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *InsertUserLogic
func (*InsertUserLogic) InsertUser ¶
func (l *InsertUserLogic) InsertUser(in *pb.InsertUserReq) (*pb.InsertUserResp, error)
type LoginByIdLogic ¶
func NewLoginByIdLogic ¶
func NewLoginByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginByIdLogic
func (*LoginByIdLogic) LoginById ¶
func (l *LoginByIdLogic) LoginById(in *pb.LoginByIdReq) (*pb.LoginResp, error)
type LoginByPasswordLogic ¶
func NewLoginByPasswordLogic ¶
func NewLoginByPasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginByPasswordLogic
func (*LoginByPasswordLogic) LoginByPassword ¶
func (l *LoginByPasswordLogic) LoginByPassword(in *pb.LoginByPasswordReq) (*pb.LoginResp, error)
type UpdateApplyFriendStatusLogic ¶
func NewUpdateApplyFriendStatusLogic ¶
func NewUpdateApplyFriendStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateApplyFriendStatusLogic
func (*UpdateApplyFriendStatusLogic) UpdateApplyFriendStatus ¶
func (l *UpdateApplyFriendStatusLogic) UpdateApplyFriendStatus(in *pb.UpdateApplyFriendStatusReq) (*pb.UpdateApplyFriendStatusResp, error)
type UpdateUserLogic ¶
func NewUpdateUserLogic ¶
func NewUpdateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserLogic
func (*UpdateUserLogic) UpdateUser ¶
func (l *UpdateUserLogic) UpdateUser(in *pb.UpdateUserReq) (*pb.UpdateUserResp, error)
type VerifyTokenLogic ¶
func NewVerifyTokenLogic ¶
func NewVerifyTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *VerifyTokenLogic
func (*VerifyTokenLogic) VerifyToken ¶
func (l *VerifyTokenLogic) VerifyToken(in *pb.VerifyTokenReq) (*pb.VerifyTokenResp, error)
检查token
Source Files ¶
- applyFriendLogic.go
- blackUserLogic.go
- deleteBlackLogic.go
- deleteFriendLogic.go
- getApplyFriendListLogic.go
- getBlackListLogic.go
- getFriendListLogic.go
- getGroupMemberIDListFromCacheLogic.go
- getSingleConversationRecvMsgOptsLogic.go
- getUserByIdLogic.go
- getUserByIdsLogic.go
- getUserByUsernameLogic.go
- getUserListFromSuperGroupWithOptLogic.go
- ifAInBBlacklistLogic.go
- ifAInBFriendListLogic.go
- insertUserLogic.go
- loginByIdLogic.go
- loginByPasswordLogic.go
- updateApplyFriendStatusLogic.go
- updateUserLogic.go
- verifyTokenLogic.go
Click to show internal directories.
Click to hide internal directories.