Documentation ¶
Index ¶
- func Blacklist(ctx context.Context, req *user.BlacklistReq) (*user.BlacklistResp, error)
- func BlacklistAdd(ctx context.Context, req *user.BlacklistAddReq) (*ret.EmptyResp, error)
- func BlacklistDel(ctx context.Context, req *user.BlacklistDelReq) (*ret.EmptyResp, error)
- func ClearGroupCache(ctx context.Context, groupId int64)
- func Create(ctx context.Context, req *user.CreateReq) (*ret.EmptyResp, error)
- func FriendByIds(ctx context.Context, req *user.FriendByIdsReq) (*user.FriendByIdsResp, error)
- func FriendDel(ctx context.Context, req *user.FriendDelReq) (*ret.EmptyResp, error)
- func FriendIds(ctx context.Context, req *user.FriendIdsReq) (*user.FriendIdsResp, error)
- func FriendMarknameUpdate(ctx context.Context, req *user.FriendMarknameUpdateReq) (*ret.EmptyResp, error)
- func FriendNewAgree(ctx context.Context, req *user.FriendNewAgreeReq) (*ret.EmptyResp, error)
- func FriendNewApply(ctx context.Context, req *user.FriendNewApplyReq) (*ret.EmptyResp, error)
- func FriendNewDel(ctx context.Context, req *user.FriendNewDelReq) (*ret.EmptyResp, error)
- func FriendNewIgnore(ctx context.Context, req *user.FriendNewIgnoreReq) (*ret.EmptyResp, error)
- func FriendNewReject(ctx context.Context, req *user.FriendNewRejectReq) (*ret.EmptyResp, error)
- func FriendsByUid(ctx context.Context, req *user.FriendsByUidReq) (*user.FriendsByUidResp, error)
- func GetGroupById(ctx context.Context, groupId int64) (*user.GroupInfo, error)
- func GetGroupByIds(ctx context.Context, groupIds []int64) ([]*user.GroupInfo, error)
- func GetUserInfoById(ctx context.Context, id int64) (*user.UserInfo, error)
- func GetUserInfoByIds(ctx context.Context, ids []int64) ([]*user.UserInfo, error)
- func GroupAppointManager(ctx context.Context, req *user.GroupAppointManagerReq) (*ret.EmptyResp, error)
- func GroupBlock(ctx context.Context, req *user.GroupBlockReq) (*ret.EmptyResp, error)
- func GroupBlockList(ctx context.Context, req *user.GroupBlockListReq) (*user.GroupBlockListResp, error)
- func GroupCreate(ctx context.Context, req *user.GroupCreateReq) (*user.GroupCreateResp, error)
- func GroupDismiss(ctx context.Context, req *user.GroupDismissReq) (*ret.EmptyResp, error)
- func GroupInfoById(ctx context.Context, req *user.GroupInfoReq) (*user.GroupInfoResp, error)
- func GroupInfoByIds(ctx context.Context, req *user.GroupInfosReq) (*user.GroupInfosResp, error)
- func GroupJoin(ctx context.Context, req *user.GroupJoinReq) (*ret.EmptyResp, error)
- func GroupJoinAgree(ctx context.Context, req *user.GroupJoinAgreeReq) (*ret.EmptyResp, error)
- func GroupJoinIgnore(ctx context.Context, req *user.GroupJoinIgnoreReq) (*ret.EmptyResp, error)
- func GroupJoinReject(ctx context.Context, req *user.GroupJoinRejectReq) (*ret.EmptyResp, error)
- func GroupLeave(ctx context.Context, req *user.GroupLeaveReq) (*ret.EmptyResp, error)
- func GroupManagerList(ctx context.Context, req *user.GroupManagerListReq) (*user.GroupManagerListResp, error)
- func GroupMemberAdd(ctx context.Context, req *user.GroupMemberAddReq) (*ret.EmptyResp, error)
- func GroupMemberByIds(ctx context.Context, req *user.GroupMemberByIdsReq) (*user.GroupMemberByIdsResp, error)
- func GroupMemberDel(ctx context.Context, req *user.GroupMemberDelReq) (*ret.EmptyResp, error)
- func GroupMemberIds(ctx context.Context, req *user.GroupMemberIdsReq) (*user.GroupMemberIdsResp, error)
- func GroupMembersByGroupId(ctx context.Context, req *user.GroupMembersByGroupIdReq) (*user.GroupMembersByGroupIdResp, error)
- func GroupMute(ctx context.Context, req *user.GroupMuteReq) (*ret.EmptyResp, error)
- func GroupMuteList(ctx context.Context, req *user.GroupMuteListReq) (*user.GroupMuteListResp, error)
- func GroupMuteUser(ctx context.Context, req *user.GroupMuteUserReq) (*ret.EmptyResp, error)
- func GroupTransfer(ctx context.Context, req *user.GroupTransferReq) (*ret.EmptyResp, error)
- func GroupUpdateAvatar(ctx context.Context, req *user.GroupUpdateAvatarReq) (*ret.EmptyResp, error)
- func GroupUpdateJoinType(ctx context.Context, req *user.GroupUpdateJoinTypeReq) (*ret.EmptyResp, error)
- func GroupUpdateName(ctx context.Context, req *user.GroupUpdateNameReq) (*ret.EmptyResp, error)
- func GroupUpdateNotice(ctx context.Context, req *user.GroupUpdateNoticeReq) (*ret.EmptyResp, error)
- func GroupsByUid(ctx context.Context, req *user.GroupsByUidReq) (*user.GroupsByUidResp, error)
- func Info(ctx context.Context, req *user.InfoReq) (*user.InfoResp, error)
- func Infos(ctx context.Context, req *user.InfosReq) (*user.InfosResp, error)
- func IsFriend(ctx context.Context, req *user.IsFriendReq) (*ret.BoolResp, error)
- func IsGroupManager(ctx context.Context, req *user.IsGroupManagerReq) (*ret.BoolResp, error)
- func IsGroupMember(ctx context.Context, req *user.IsGroupMemberReq) (*ret.BoolResp, error)
- func IsGroupMemberBeenMute(ctx context.Context, req *user.IsGroupMemberBeenMuteReq) (*ret.BoolResp, error)
- func Lastactive(ctx context.Context, req *user.LastactiveReq) (*ret.EmptyResp, error)
- func NewApplyUserList(ctx context.Context, req *user.NewApplyUserListReq) (*user.NewApplyListResp, error)
- func Update(ctx context.Context, req *user.UpdateReq) (*ret.EmptyResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Blacklist ¶
func Blacklist(ctx context.Context, req *user.BlacklistReq) (*user.BlacklistResp, error)
func BlacklistAdd ¶
黑名单部分
func BlacklistDel ¶
func ClearGroupCache ¶
func FriendByIds ¶
func FriendByIds(ctx context.Context, req *user.FriendByIdsReq) (*user.FriendByIdsResp, error)
func FriendIds ¶
func FriendIds(ctx context.Context, req *user.FriendIdsReq) (*user.FriendIdsResp, error)
func FriendMarknameUpdate ¶
func FriendNewAgree ¶
func FriendNewApply ¶
申请添加新好友
func FriendNewDel ¶
func FriendNewIgnore ¶
func FriendNewReject ¶
func FriendsByUid ¶
func FriendsByUid(ctx context.Context, req *user.FriendsByUidReq) (*user.FriendsByUidResp, error)
func GetGroupById ¶
通过id获取群组信息
func GetGroupByIds ¶
func GetUserInfoByIds ¶
func GroupAppointManager ¶
func GroupAppointManager(ctx context.Context, req *user.GroupAppointManagerReq) (*ret.EmptyResp, error)
指定管理员
func GroupBlock ¶
func GroupBlockList ¶
func GroupBlockList(ctx context.Context, req *user.GroupBlockListReq) (*user.GroupBlockListResp, error)
func GroupCreate ¶
func GroupCreate(ctx context.Context, req *user.GroupCreateReq) (*user.GroupCreateResp, error)
func GroupDismiss ¶
func GroupInfoById ¶
func GroupInfoById(ctx context.Context, req *user.GroupInfoReq) (*user.GroupInfoResp, error)
func GroupInfoByIds ¶
func GroupInfoByIds(ctx context.Context, req *user.GroupInfosReq) (*user.GroupInfosResp, error)
func GroupJoinAgree ¶
同意申请
func GroupJoinIgnore ¶
忽略申请
func GroupJoinReject ¶
拒绝申请
func GroupLeave ¶
离开群组
func GroupManagerList ¶
func GroupManagerList(ctx context.Context, req *user.GroupManagerListReq) (*user.GroupManagerListResp, error)
func GroupMemberAdd ¶
func GroupMemberByIds ¶
func GroupMemberByIds(ctx context.Context, req *user.GroupMemberByIdsReq) (*user.GroupMemberByIdsResp, error)
func GroupMemberDel ¶
func GroupMemberIds ¶
func GroupMemberIds(ctx context.Context, req *user.GroupMemberIdsReq) (*user.GroupMemberIdsResp, error)
func GroupMembersByGroupId ¶
func GroupMembersByGroupId(ctx context.Context, req *user.GroupMembersByGroupIdReq) (*user.GroupMembersByGroupIdResp, error)
func GroupMuteList ¶
func GroupMuteList(ctx context.Context, req *user.GroupMuteListReq) (*user.GroupMuteListResp, error)
禁言列表
func GroupMuteUser ¶
func GroupTransfer ¶
func GroupUpdateAvatar ¶
func GroupUpdateJoinType ¶
func GroupUpdateName ¶
func GroupUpdateNotice ¶
func GroupsByUid ¶
func GroupsByUid(ctx context.Context, req *user.GroupsByUidReq) (*user.GroupsByUidResp, error)
func IsGroupManager ¶
func IsGroupMember ¶
是否是群组成员
func IsGroupMemberBeenMute ¶
func IsGroupMemberBeenMute(ctx context.Context, req *user.IsGroupMemberBeenMuteReq) (*ret.BoolResp, error)
是否被禁言了
func Lastactive ¶
func NewApplyUserList ¶
func NewApplyUserList(ctx context.Context, req *user.NewApplyUserListReq) (*user.NewApplyListResp, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.