logic

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: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyFriendLogic

type ApplyFriendLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type BlackUserLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type DeleteBlackLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type DeleteFriendLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type GetApplyFriendListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetApplyFriendListLogic

func NewGetApplyFriendListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetApplyFriendListLogic

func (*GetApplyFriendListLogic) GetApplyFriendList

type GetBlackListLogic

type GetBlackListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type GetFriendListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

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

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

type GetUserByIdLogic

type GetUserByIdLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type GetUserByIdsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type GetUserByUsernameLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

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

type IfAInBBlacklistLogic

type IfAInBBlacklistLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewIfAInBBlacklistLogic

func NewIfAInBBlacklistLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IfAInBBlacklistLogic

func (*IfAInBBlacklistLogic) IfAInBBlacklist

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

type IfAInBFriendListLogic

type IfAInBFriendListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewIfAInBFriendListLogic

func NewIfAInBFriendListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IfAInBFriendListLogic

func (*IfAInBFriendListLogic) IfAInBFriendList

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

type InsertUserLogic

type InsertUserLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type LoginByIdLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type LoginByPasswordLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type UpdateApplyFriendStatusLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateApplyFriendStatusLogic

func NewUpdateApplyFriendStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateApplyFriendStatusLogic

func (*UpdateApplyFriendStatusLogic) UpdateApplyFriendStatus

type UpdateUserLogic

type UpdateUserLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type VerifyTokenLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

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