logic

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTypesGroupInfo

func NewTypesGroupInfo(do *pb.GroupBizInfo) *types.GroupInfo

func NewTypesGroupInfos

func NewTypesGroupInfos(dos []*pb.GroupBizInfo) []*types.GroupInfo

func NewTypesGroupMemberInfo

func NewTypesGroupMemberInfo(do *pb.GroupMemberBizInfo) *types.GroupMember

func NewTypesGroupMemberInfos

func NewTypesGroupMemberInfos(dos []*pb.GroupMemberBizInfo) []*types.GroupMember

Types

type GroupLogic

type GroupLogic struct {
	// contains filtered or unexported fields
}

func NewGroupLogic

func NewGroupLogic(ctx context.Context, svcCtx *svc.ServiceContext) GroupLogic

func (*GroupLogic) ChangeOwner

func (l *GroupLogic) ChangeOwner(req *types.ChangeOwnerReq) (*types.ChangeOwnerResp, error)

func (*GroupLogic) CreateGroup

func (l *GroupLogic) CreateGroup(req *types.CreateGroupReq) (*types.CreateGroupResp, error)

func (*GroupLogic) GetGroupList

func (l *GroupLogic) GetGroupList(req *types.GetGroupListReq) (*types.GetGroupListResp, error)

func (*GroupLogic) GetGroupMemberInfo

func (l *GroupLogic) GetGroupMemberInfo(req *types.GetGroupMemberInfoReq) (*types.GetGroupMemberInfoResp, error)

func (*GroupLogic) GetGroupMemberList

func (l *GroupLogic) GetGroupMemberList(req *types.GetGroupMemberListReq) (*types.GetGroupMemberListResp, error)

func (*GroupLogic) GetMuteList

func (l *GroupLogic) GetMuteList(req *types.GetMuteListReq) (*types.GetMuteListResp, error)

func (*GroupLogic) GetPriGroupInfo

func (l *GroupLogic) GetPriGroupInfo(req *types.GetGroupInfoReq) (*types.GetGroupInfoResp, error)

func (*GroupLogic) GetPubGroupInfo

func (l *GroupLogic) GetPubGroupInfo(req *types.GetGroupPubInfoReq) (*types.GetGroupPubInfoResp, error)

func (*GroupLogic) GroupDisband

func (l *GroupLogic) GroupDisband(req *types.GroupDisbandReq) (*types.GroupDisbandResp, error)

func (*GroupLogic) GroupExit

func (l *GroupLogic) GroupExit(req *types.GroupExitReq) (*types.GroupExitResp, error)

func (*GroupLogic) GroupRemove

func (l *GroupLogic) GroupRemove(req *types.GroupRemoveReq) (*types.GroupRemoveResp, error)

func (*GroupLogic) InviteGroupMembers

func (l *GroupLogic) InviteGroupMembers(req *types.InviteGroupMembersReq) (*types.InviteGroupMembersResp, error)

func (*GroupLogic) JoinGroup

func (l *GroupLogic) JoinGroup(req *types.JoinGroupReq) (*types.JoinGroupResp, error)

func (*GroupLogic) SetAdmin

func (l *GroupLogic) SetAdmin(req *types.SetAdminReq) (*types.SetAdminResp, error)

func (*GroupLogic) UpdateGroupAvatar

func (l *GroupLogic) UpdateGroupAvatar(req *types.UpdateGroupAvatarReq) (*types.UpdateGroupAvatarResp, error)

func (*GroupLogic) UpdateGroupFriendType

func (*GroupLogic) UpdateGroupJoinType

func (l *GroupLogic) UpdateGroupJoinType(req *types.UpdateGroupJoinTypeReq) (*types.UpdateGroupJoinTypeResp, error)

func (*GroupLogic) UpdateGroupMemberMuteTime

func (*GroupLogic) UpdateGroupMemberName

func (*GroupLogic) UpdateGroupMuteType

func (l *GroupLogic) UpdateGroupMuteType(req *types.UpdateGroupMuteTypeReq) (*types.UpdateGroupMuteTypeResp, error)

func (*GroupLogic) UpdateGroupName

func (l *GroupLogic) UpdateGroupName(req *types.UpdateGroupNameReq) (*types.UpdateGroupNameResp, error)

Jump to

Keyboard shortcuts

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