Documentation ¶
Index ¶
- Variables
- func RegisterFriendServer(s *grpc.Server, srv FriendServer)
- type AddBlackReq
- func (x *AddBlackReq) Check() error
- func (*AddBlackReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddBlackReq) GetBlackUserID() string
- func (x *AddBlackReq) GetEx() string
- func (x *AddBlackReq) GetOwnerUserID() string
- func (*AddBlackReq) ProtoMessage()
- func (x *AddBlackReq) ProtoReflect() protoreflect.Message
- func (x *AddBlackReq) Reset()
- func (x *AddBlackReq) String() string
- type AddBlackResp
- type ApplyToAddFriendReq
- func (x *ApplyToAddFriendReq) Check() error
- func (*ApplyToAddFriendReq) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyToAddFriendReq) GetEx() string
- func (x *ApplyToAddFriendReq) GetFromUserID() string
- func (x *ApplyToAddFriendReq) GetReqMsg() string
- func (x *ApplyToAddFriendReq) GetToUserID() string
- func (*ApplyToAddFriendReq) ProtoMessage()
- func (x *ApplyToAddFriendReq) ProtoReflect() protoreflect.Message
- func (x *ApplyToAddFriendReq) Reset()
- func (x *ApplyToAddFriendReq) String() string
- type ApplyToAddFriendResp
- type BlackInfo
- func (*BlackInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BlackInfo) GetAddSource() int32
- func (x *BlackInfo) GetBlackFaceURL() string
- func (x *BlackInfo) GetBlackNickname() string
- func (x *BlackInfo) GetBlackUserID() string
- func (x *BlackInfo) GetCreateTime() int64
- func (x *BlackInfo) GetEx() string
- func (x *BlackInfo) GetOperatorUserID() string
- func (x *BlackInfo) GetOwnerUserID() string
- func (*BlackInfo) ProtoMessage()
- func (x *BlackInfo) ProtoReflect() protoreflect.Message
- func (x *BlackInfo) Reset()
- func (x *BlackInfo) String() string
- type DeleteFriendReq
- func (x *DeleteFriendReq) Check() error
- func (*DeleteFriendReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFriendReq) GetFriendUserID() string
- func (x *DeleteFriendReq) GetOwnerUserID() string
- func (*DeleteFriendReq) ProtoMessage()
- func (x *DeleteFriendReq) ProtoReflect() protoreflect.Message
- func (x *DeleteFriendReq) Reset()
- func (x *DeleteFriendReq) String() string
- type DeleteFriendResp
- type FriendClient
- type FriendInfo
- func (*FriendInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FriendInfo) GetAddSource() int32
- func (x *FriendInfo) GetCreateTime() int64
- func (x *FriendInfo) GetEx() string
- func (x *FriendInfo) GetFriendFaceURL() string
- func (x *FriendInfo) GetFriendNickname() string
- func (x *FriendInfo) GetFriendUserID() string
- func (x *FriendInfo) GetIsPinned() bool
- func (x *FriendInfo) GetOperatorUserID() string
- func (x *FriendInfo) GetOwnerUserID() string
- func (x *FriendInfo) GetRemark() string
- func (*FriendInfo) ProtoMessage()
- func (x *FriendInfo) ProtoReflect() protoreflect.Message
- func (x *FriendInfo) Reset()
- func (x *FriendInfo) String() string
- type FriendServer
- type GetDesignatedFriendsApplyReq
- func (x *GetDesignatedFriendsApplyReq) Check() error
- func (*GetDesignatedFriendsApplyReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetDesignatedFriendsApplyReq) GetFromUserID() string
- func (x *GetDesignatedFriendsApplyReq) GetToUserID() string
- func (*GetDesignatedFriendsApplyReq) ProtoMessage()
- func (x *GetDesignatedFriendsApplyReq) ProtoReflect() protoreflect.Message
- func (x *GetDesignatedFriendsApplyReq) Reset()
- func (x *GetDesignatedFriendsApplyReq) String() string
- type GetDesignatedFriendsApplyResp
- func (*GetDesignatedFriendsApplyResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetDesignatedFriendsApplyResp) GetFriendRequests() []*sdkws.FriendRequest
- func (*GetDesignatedFriendsApplyResp) ProtoMessage()
- func (x *GetDesignatedFriendsApplyResp) ProtoReflect() protoreflect.Message
- func (x *GetDesignatedFriendsApplyResp) Reset()
- func (x *GetDesignatedFriendsApplyResp) String() string
- type GetDesignatedFriendsReq
- func (x *GetDesignatedFriendsReq) Check() error
- func (*GetDesignatedFriendsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetDesignatedFriendsReq) GetFriendUserIDs() []string
- func (x *GetDesignatedFriendsReq) GetOwnerUserID() string
- func (*GetDesignatedFriendsReq) ProtoMessage()
- func (x *GetDesignatedFriendsReq) ProtoReflect() protoreflect.Message
- func (x *GetDesignatedFriendsReq) Reset()
- func (x *GetDesignatedFriendsReq) String() string
- type GetDesignatedFriendsResp
- func (*GetDesignatedFriendsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetDesignatedFriendsResp) GetFriendsInfo() []*sdkws.FriendInfo
- func (*GetDesignatedFriendsResp) ProtoMessage()
- func (x *GetDesignatedFriendsResp) ProtoReflect() protoreflect.Message
- func (x *GetDesignatedFriendsResp) Reset()
- func (x *GetDesignatedFriendsResp) String() string
- type GetFriendIDsReq
- func (x *GetFriendIDsReq) Check() error
- func (*GetFriendIDsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetFriendIDsReq) GetUserID() string
- func (*GetFriendIDsReq) ProtoMessage()
- func (x *GetFriendIDsReq) ProtoReflect() protoreflect.Message
- func (x *GetFriendIDsReq) Reset()
- func (x *GetFriendIDsReq) String() string
- type GetFriendIDsResp
- type GetFullFriendUserIDsReq
- func (x *GetFullFriendUserIDsReq) Check() error
- func (*GetFullFriendUserIDsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetFullFriendUserIDsReq) GetIdHash() uint64
- func (x *GetFullFriendUserIDsReq) GetUserID() string
- func (*GetFullFriendUserIDsReq) ProtoMessage()
- func (x *GetFullFriendUserIDsReq) ProtoReflect() protoreflect.Message
- func (x *GetFullFriendUserIDsReq) Reset()
- func (x *GetFullFriendUserIDsReq) String() string
- type GetFullFriendUserIDsResp
- func (*GetFullFriendUserIDsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetFullFriendUserIDsResp) GetEqual() bool
- func (x *GetFullFriendUserIDsResp) GetUserIDs() []string
- func (x *GetFullFriendUserIDsResp) GetVersion() uint64
- func (x *GetFullFriendUserIDsResp) GetVersionID() string
- func (*GetFullFriendUserIDsResp) ProtoMessage()
- func (x *GetFullFriendUserIDsResp) ProtoReflect() protoreflect.Message
- func (x *GetFullFriendUserIDsResp) Reset()
- func (x *GetFullFriendUserIDsResp) String() string
- type GetIncrementalBlacksReq
- func (*GetIncrementalBlacksReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncrementalBlacksReq) GetUserID() string
- func (x *GetIncrementalBlacksReq) GetVersion() uint64
- func (x *GetIncrementalBlacksReq) GetVersionID() string
- func (*GetIncrementalBlacksReq) ProtoMessage()
- func (x *GetIncrementalBlacksReq) ProtoReflect() protoreflect.Message
- func (x *GetIncrementalBlacksReq) Reset()
- func (x *GetIncrementalBlacksReq) String() string
- type GetIncrementalBlacksResp
- func (*GetIncrementalBlacksResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncrementalBlacksResp) GetDelete() []string
- func (x *GetIncrementalBlacksResp) GetFull() bool
- func (x *GetIncrementalBlacksResp) GetInsert() []*BlackInfo
- func (x *GetIncrementalBlacksResp) GetUpdate() []*BlackInfo
- func (x *GetIncrementalBlacksResp) GetVersion() uint64
- func (x *GetIncrementalBlacksResp) GetVersionID() string
- func (*GetIncrementalBlacksResp) ProtoMessage()
- func (x *GetIncrementalBlacksResp) ProtoReflect() protoreflect.Message
- func (x *GetIncrementalBlacksResp) Reset()
- func (x *GetIncrementalBlacksResp) String() string
- type GetIncrementalFriendsApplyFromReq
- func (*GetIncrementalFriendsApplyFromReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncrementalFriendsApplyFromReq) GetUserID() string
- func (x *GetIncrementalFriendsApplyFromReq) GetVersion() uint64
- func (x *GetIncrementalFriendsApplyFromReq) GetVersionID() string
- func (*GetIncrementalFriendsApplyFromReq) ProtoMessage()
- func (x *GetIncrementalFriendsApplyFromReq) ProtoReflect() protoreflect.Message
- func (x *GetIncrementalFriendsApplyFromReq) Reset()
- func (x *GetIncrementalFriendsApplyFromReq) String() string
- type GetIncrementalFriendsApplyFromResp
- func (*GetIncrementalFriendsApplyFromResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncrementalFriendsApplyFromResp) GetChanges() []*sdkws.FriendRequest
- func (x *GetIncrementalFriendsApplyFromResp) GetDeleteUserIds() []string
- func (x *GetIncrementalFriendsApplyFromResp) GetFull() bool
- func (x *GetIncrementalFriendsApplyFromResp) GetVersion() uint64
- func (x *GetIncrementalFriendsApplyFromResp) GetVersionID() string
- func (*GetIncrementalFriendsApplyFromResp) ProtoMessage()
- func (x *GetIncrementalFriendsApplyFromResp) ProtoReflect() protoreflect.Message
- func (x *GetIncrementalFriendsApplyFromResp) Reset()
- func (x *GetIncrementalFriendsApplyFromResp) String() string
- type GetIncrementalFriendsApplyToReq
- func (*GetIncrementalFriendsApplyToReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncrementalFriendsApplyToReq) GetUserID() string
- func (x *GetIncrementalFriendsApplyToReq) GetVersion() uint64
- func (x *GetIncrementalFriendsApplyToReq) GetVersionID() string
- func (*GetIncrementalFriendsApplyToReq) ProtoMessage()
- func (x *GetIncrementalFriendsApplyToReq) ProtoReflect() protoreflect.Message
- func (x *GetIncrementalFriendsApplyToReq) Reset()
- func (x *GetIncrementalFriendsApplyToReq) String() string
- type GetIncrementalFriendsApplyToResp
- func (*GetIncrementalFriendsApplyToResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncrementalFriendsApplyToResp) GetChanges() []*sdkws.FriendRequest
- func (x *GetIncrementalFriendsApplyToResp) GetDeleteUserIds() []string
- func (x *GetIncrementalFriendsApplyToResp) GetFull() bool
- func (x *GetIncrementalFriendsApplyToResp) GetVersion() uint64
- func (x *GetIncrementalFriendsApplyToResp) GetVersionID() string
- func (*GetIncrementalFriendsApplyToResp) ProtoMessage()
- func (x *GetIncrementalFriendsApplyToResp) ProtoReflect() protoreflect.Message
- func (x *GetIncrementalFriendsApplyToResp) Reset()
- func (x *GetIncrementalFriendsApplyToResp) String() string
- type GetIncrementalFriendsReq
- func (*GetIncrementalFriendsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncrementalFriendsReq) GetUserID() string
- func (x *GetIncrementalFriendsReq) GetVersion() uint64
- func (x *GetIncrementalFriendsReq) GetVersionID() string
- func (*GetIncrementalFriendsReq) ProtoMessage()
- func (x *GetIncrementalFriendsReq) ProtoReflect() protoreflect.Message
- func (x *GetIncrementalFriendsReq) Reset()
- func (x *GetIncrementalFriendsReq) String() string
- type GetIncrementalFriendsResp
- func (*GetIncrementalFriendsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncrementalFriendsResp) GetDelete() []string
- func (x *GetIncrementalFriendsResp) GetFull() bool
- func (x *GetIncrementalFriendsResp) GetInsert() []*sdkws.FriendInfo
- func (x *GetIncrementalFriendsResp) GetSortVersion() uint64
- func (x *GetIncrementalFriendsResp) GetUpdate() []*sdkws.FriendInfo
- func (x *GetIncrementalFriendsResp) GetVersion() uint64
- func (x *GetIncrementalFriendsResp) GetVersionID() string
- func (*GetIncrementalFriendsResp) ProtoMessage()
- func (x *GetIncrementalFriendsResp) ProtoReflect() protoreflect.Message
- func (x *GetIncrementalFriendsResp) Reset()
- func (x *GetIncrementalFriendsResp) String() string
- type GetPaginationBlacksReq
- func (x *GetPaginationBlacksReq) Check() error
- func (*GetPaginationBlacksReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaginationBlacksReq) GetPagination() *sdkws.RequestPagination
- func (x *GetPaginationBlacksReq) GetUserID() string
- func (*GetPaginationBlacksReq) ProtoMessage()
- func (x *GetPaginationBlacksReq) ProtoReflect() protoreflect.Message
- func (x *GetPaginationBlacksReq) Reset()
- func (x *GetPaginationBlacksReq) String() string
- type GetPaginationBlacksResp
- func (*GetPaginationBlacksResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaginationBlacksResp) GetBlacks() []*sdkws.BlackInfo
- func (x *GetPaginationBlacksResp) GetTotal() int32
- func (*GetPaginationBlacksResp) ProtoMessage()
- func (x *GetPaginationBlacksResp) ProtoReflect() protoreflect.Message
- func (x *GetPaginationBlacksResp) Reset()
- func (x *GetPaginationBlacksResp) String() string
- type GetPaginationFriendsApplyFromReq
- func (x *GetPaginationFriendsApplyFromReq) Check() error
- func (*GetPaginationFriendsApplyFromReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaginationFriendsApplyFromReq) GetPagination() *sdkws.RequestPagination
- func (x *GetPaginationFriendsApplyFromReq) GetUserID() string
- func (*GetPaginationFriendsApplyFromReq) ProtoMessage()
- func (x *GetPaginationFriendsApplyFromReq) ProtoReflect() protoreflect.Message
- func (x *GetPaginationFriendsApplyFromReq) Reset()
- func (x *GetPaginationFriendsApplyFromReq) String() string
- type GetPaginationFriendsApplyFromResp
- func (*GetPaginationFriendsApplyFromResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaginationFriendsApplyFromResp) GetFriendRequests() []*sdkws.FriendRequest
- func (x *GetPaginationFriendsApplyFromResp) GetTotal() int32
- func (*GetPaginationFriendsApplyFromResp) ProtoMessage()
- func (x *GetPaginationFriendsApplyFromResp) ProtoReflect() protoreflect.Message
- func (x *GetPaginationFriendsApplyFromResp) Reset()
- func (x *GetPaginationFriendsApplyFromResp) String() string
- type GetPaginationFriendsApplyToReq
- func (x *GetPaginationFriendsApplyToReq) Check() error
- func (*GetPaginationFriendsApplyToReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaginationFriendsApplyToReq) GetPagination() *sdkws.RequestPagination
- func (x *GetPaginationFriendsApplyToReq) GetUserID() string
- func (*GetPaginationFriendsApplyToReq) ProtoMessage()
- func (x *GetPaginationFriendsApplyToReq) ProtoReflect() protoreflect.Message
- func (x *GetPaginationFriendsApplyToReq) Reset()
- func (x *GetPaginationFriendsApplyToReq) String() string
- type GetPaginationFriendsApplyToResp
- func (*GetPaginationFriendsApplyToResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaginationFriendsApplyToResp) Format() any
- func (x *GetPaginationFriendsApplyToResp) GetFriendRequests() []*sdkws.FriendRequest
- func (x *GetPaginationFriendsApplyToResp) GetTotal() int32
- func (*GetPaginationFriendsApplyToResp) ProtoMessage()
- func (x *GetPaginationFriendsApplyToResp) ProtoReflect() protoreflect.Message
- func (x *GetPaginationFriendsApplyToResp) Reset()
- func (x *GetPaginationFriendsApplyToResp) String() string
- type GetPaginationFriendsReq
- func (x *GetPaginationFriendsReq) Check() error
- func (*GetPaginationFriendsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaginationFriendsReq) GetPagination() *sdkws.RequestPagination
- func (x *GetPaginationFriendsReq) GetUserID() string
- func (*GetPaginationFriendsReq) ProtoMessage()
- func (x *GetPaginationFriendsReq) ProtoReflect() protoreflect.Message
- func (x *GetPaginationFriendsReq) Reset()
- func (x *GetPaginationFriendsReq) String() string
- type GetPaginationFriendsResp
- func (*GetPaginationFriendsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaginationFriendsResp) Format() any
- func (x *GetPaginationFriendsResp) GetFriendsInfo() []*sdkws.FriendInfo
- func (x *GetPaginationFriendsResp) GetTotal() int32
- func (*GetPaginationFriendsResp) ProtoMessage()
- func (x *GetPaginationFriendsResp) ProtoReflect() protoreflect.Message
- func (x *GetPaginationFriendsResp) Reset()
- func (x *GetPaginationFriendsResp) String() string
- type GetSpecifiedFriendsInfoInfo
- func (*GetSpecifiedFriendsInfoInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GetSpecifiedFriendsInfoInfo) GetBlackInfo() *sdkws.BlackInfo
- func (x *GetSpecifiedFriendsInfoInfo) GetFriendInfo() *sdkws.FriendInfo
- func (x *GetSpecifiedFriendsInfoInfo) GetUserInfo() *sdkws.UserInfo
- func (*GetSpecifiedFriendsInfoInfo) ProtoMessage()
- func (x *GetSpecifiedFriendsInfoInfo) ProtoReflect() protoreflect.Message
- func (x *GetSpecifiedFriendsInfoInfo) Reset()
- func (x *GetSpecifiedFriendsInfoInfo) String() string
- type GetSpecifiedFriendsInfoReq
- func (x *GetSpecifiedFriendsInfoReq) Check() error
- func (*GetSpecifiedFriendsInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetSpecifiedFriendsInfoReq) GetOwnerUserID() string
- func (x *GetSpecifiedFriendsInfoReq) GetUserIDList() []string
- func (*GetSpecifiedFriendsInfoReq) ProtoMessage()
- func (x *GetSpecifiedFriendsInfoReq) ProtoReflect() protoreflect.Message
- func (x *GetSpecifiedFriendsInfoReq) Reset()
- func (x *GetSpecifiedFriendsInfoReq) String() string
- type GetSpecifiedFriendsInfoResp
- func (*GetSpecifiedFriendsInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetSpecifiedFriendsInfoResp) GetInfos() []*GetSpecifiedFriendsInfoInfo
- func (*GetSpecifiedFriendsInfoResp) ProtoMessage()
- func (x *GetSpecifiedFriendsInfoResp) ProtoReflect() protoreflect.Message
- func (x *GetSpecifiedFriendsInfoResp) Reset()
- func (x *GetSpecifiedFriendsInfoResp) String() string
- type ImportFriendReq
- func (x *ImportFriendReq) Check() error
- func (*ImportFriendReq) Descriptor() ([]byte, []int)deprecated
- func (x *ImportFriendReq) GetFriendUserIDs() []string
- func (x *ImportFriendReq) GetOwnerUserID() string
- func (*ImportFriendReq) ProtoMessage()
- func (x *ImportFriendReq) ProtoReflect() protoreflect.Message
- func (x *ImportFriendReq) Reset()
- func (x *ImportFriendReq) String() string
- type ImportFriendResp
- type IsBlackReq
- func (x *IsBlackReq) Check() error
- func (*IsBlackReq) Descriptor() ([]byte, []int)deprecated
- func (x *IsBlackReq) GetUserID1() string
- func (x *IsBlackReq) GetUserID2() string
- func (*IsBlackReq) ProtoMessage()
- func (x *IsBlackReq) ProtoReflect() protoreflect.Message
- func (x *IsBlackReq) Reset()
- func (x *IsBlackReq) String() string
- type IsBlackResp
- func (*IsBlackResp) Descriptor() ([]byte, []int)deprecated
- func (x *IsBlackResp) GetInUser1Blacks() bool
- func (x *IsBlackResp) GetInUser2Blacks() bool
- func (*IsBlackResp) ProtoMessage()
- func (x *IsBlackResp) ProtoReflect() protoreflect.Message
- func (x *IsBlackResp) Reset()
- func (x *IsBlackResp) String() string
- type IsFriendReq
- func (x *IsFriendReq) Check() error
- func (*IsFriendReq) Descriptor() ([]byte, []int)deprecated
- func (x *IsFriendReq) GetUserID1() string
- func (x *IsFriendReq) GetUserID2() string
- func (*IsFriendReq) ProtoMessage()
- func (x *IsFriendReq) ProtoReflect() protoreflect.Message
- func (x *IsFriendReq) Reset()
- func (x *IsFriendReq) String() string
- type IsFriendResp
- func (*IsFriendResp) Descriptor() ([]byte, []int)deprecated
- func (x *IsFriendResp) GetInUser1Friends() bool
- func (x *IsFriendResp) GetInUser2Friends() bool
- func (*IsFriendResp) ProtoMessage()
- func (x *IsFriendResp) ProtoReflect() protoreflect.Message
- func (x *IsFriendResp) Reset()
- func (x *IsFriendResp) String() string
- type NotificationUserInfoUpdateReq
- func (*NotificationUserInfoUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationUserInfoUpdateReq) GetNewUserInfo() *sdkws.UserInfo
- func (x *NotificationUserInfoUpdateReq) GetOldUserInfo() *sdkws.UserInfo
- func (x *NotificationUserInfoUpdateReq) GetUserID() string
- func (*NotificationUserInfoUpdateReq) ProtoMessage()
- func (x *NotificationUserInfoUpdateReq) ProtoReflect() protoreflect.Message
- func (x *NotificationUserInfoUpdateReq) Reset()
- func (x *NotificationUserInfoUpdateReq) String() string
- type NotificationUserInfoUpdateResp
- func (*NotificationUserInfoUpdateResp) Descriptor() ([]byte, []int)deprecated
- func (*NotificationUserInfoUpdateResp) ProtoMessage()
- func (x *NotificationUserInfoUpdateResp) ProtoReflect() protoreflect.Message
- func (x *NotificationUserInfoUpdateResp) Reset()
- func (x *NotificationUserInfoUpdateResp) String() string
- type RemoveBlackReq
- func (x *RemoveBlackReq) Check() error
- func (*RemoveBlackReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveBlackReq) GetBlackUserID() string
- func (x *RemoveBlackReq) GetOwnerUserID() string
- func (*RemoveBlackReq) ProtoMessage()
- func (x *RemoveBlackReq) ProtoReflect() protoreflect.Message
- func (x *RemoveBlackReq) Reset()
- func (x *RemoveBlackReq) String() string
- type RemoveBlackResp
- type RespondFriendApplyReq
- func (x *RespondFriendApplyReq) Check() error
- func (*RespondFriendApplyReq) Descriptor() ([]byte, []int)deprecated
- func (x *RespondFriendApplyReq) GetFromUserID() string
- func (x *RespondFriendApplyReq) GetHandleMsg() string
- func (x *RespondFriendApplyReq) GetHandleResult() int32
- func (x *RespondFriendApplyReq) GetToUserID() string
- func (*RespondFriendApplyReq) ProtoMessage()
- func (x *RespondFriendApplyReq) ProtoReflect() protoreflect.Message
- func (x *RespondFriendApplyReq) Reset()
- func (x *RespondFriendApplyReq) String() string
- type RespondFriendApplyResp
- type SetFriendRemarkReq
- func (x *SetFriendRemarkReq) Check() error
- func (*SetFriendRemarkReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetFriendRemarkReq) GetFriendUserID() string
- func (x *SetFriendRemarkReq) GetOwnerUserID() string
- func (x *SetFriendRemarkReq) GetRemark() string
- func (*SetFriendRemarkReq) ProtoMessage()
- func (x *SetFriendRemarkReq) ProtoReflect() protoreflect.Message
- func (x *SetFriendRemarkReq) Reset()
- func (x *SetFriendRemarkReq) String() string
- type SetFriendRemarkResp
- type UnimplementedFriendServer
- func (*UnimplementedFriendServer) AddBlack(context.Context, *AddBlackReq) (*AddBlackResp, error)
- func (*UnimplementedFriendServer) ApplyToAddFriend(context.Context, *ApplyToAddFriendReq) (*ApplyToAddFriendResp, error)
- func (*UnimplementedFriendServer) DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error)
- func (*UnimplementedFriendServer) GetDesignatedFriends(context.Context, *GetDesignatedFriendsReq) (*GetDesignatedFriendsResp, error)
- func (*UnimplementedFriendServer) GetDesignatedFriendsApply(context.Context, *GetDesignatedFriendsApplyReq) (*GetDesignatedFriendsApplyResp, error)
- func (*UnimplementedFriendServer) GetFriendIDs(context.Context, *GetFriendIDsReq) (*GetFriendIDsResp, error)
- func (*UnimplementedFriendServer) GetFullFriendUserIDs(context.Context, *GetFullFriendUserIDsReq) (*GetFullFriendUserIDsResp, error)
- func (*UnimplementedFriendServer) GetIncrementalBlacks(context.Context, *GetIncrementalBlacksReq) (*GetIncrementalBlacksResp, error)
- func (*UnimplementedFriendServer) GetIncrementalFriends(context.Context, *GetIncrementalFriendsReq) (*GetIncrementalFriendsResp, error)
- func (*UnimplementedFriendServer) GetIncrementalFriendsApplyFrom(context.Context, *GetIncrementalFriendsApplyFromReq) (*GetIncrementalFriendsApplyFromResp, error)
- func (*UnimplementedFriendServer) GetIncrementalFriendsApplyTo(context.Context, *GetIncrementalFriendsApplyToReq) (*GetIncrementalFriendsApplyToResp, error)
- func (*UnimplementedFriendServer) GetPaginationBlacks(context.Context, *GetPaginationBlacksReq) (*GetPaginationBlacksResp, error)
- func (*UnimplementedFriendServer) GetPaginationFriends(context.Context, *GetPaginationFriendsReq) (*GetPaginationFriendsResp, error)
- func (*UnimplementedFriendServer) GetPaginationFriendsApplyFrom(context.Context, *GetPaginationFriendsApplyFromReq) (*GetPaginationFriendsApplyFromResp, error)
- func (*UnimplementedFriendServer) GetPaginationFriendsApplyTo(context.Context, *GetPaginationFriendsApplyToReq) (*GetPaginationFriendsApplyToResp, error)
- func (*UnimplementedFriendServer) GetSpecifiedFriendsInfo(context.Context, *GetSpecifiedFriendsInfoReq) (*GetSpecifiedFriendsInfoResp, error)
- func (*UnimplementedFriendServer) ImportFriends(context.Context, *ImportFriendReq) (*ImportFriendResp, error)
- func (*UnimplementedFriendServer) IsBlack(context.Context, *IsBlackReq) (*IsBlackResp, error)
- func (*UnimplementedFriendServer) IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error)
- func (*UnimplementedFriendServer) NotificationUserInfoUpdate(context.Context, *NotificationUserInfoUpdateReq) (*NotificationUserInfoUpdateResp, error)
- func (*UnimplementedFriendServer) RemoveBlack(context.Context, *RemoveBlackReq) (*RemoveBlackResp, error)
- func (*UnimplementedFriendServer) RespondFriendApply(context.Context, *RespondFriendApplyReq) (*RespondFriendApplyResp, error)
- func (*UnimplementedFriendServer) SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error)
- func (*UnimplementedFriendServer) UpdateFriends(context.Context, *UpdateFriendsReq) (*UpdateFriendsResp, error)
- type UpdateFriendsReq
- func (x *UpdateFriendsReq) Check() error
- func (*UpdateFriendsReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFriendsReq) GetEx() *wrapperspb.StringValue
- func (x *UpdateFriendsReq) GetFriendUserIDs() []string
- func (x *UpdateFriendsReq) GetIsPinned() *wrapperspb.BoolValue
- func (x *UpdateFriendsReq) GetOwnerUserID() string
- func (x *UpdateFriendsReq) GetRemark() *wrapperspb.StringValue
- func (*UpdateFriendsReq) ProtoMessage()
- func (x *UpdateFriendsReq) ProtoReflect() protoreflect.Message
- func (x *UpdateFriendsReq) Reset()
- func (x *UpdateFriendsReq) String() string
- type UpdateFriendsResp
Constants ¶
This section is empty.
Variables ¶
var File_relation_relation_proto protoreflect.FileDescriptor
Functions ¶
func RegisterFriendServer ¶
func RegisterFriendServer(s *grpc.Server, srv FriendServer)
Types ¶
type AddBlackReq ¶
type AddBlackReq struct { OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"` BlackUserID string `protobuf:"bytes,2,opt,name=blackUserID,proto3" json:"blackUserID"` Ex string `protobuf:"bytes,3,opt,name=ex,proto3" json:"ex"` // contains filtered or unexported fields }
func (*AddBlackReq) Check ¶
func (x *AddBlackReq) Check() error
func (*AddBlackReq) Descriptor
deprecated
func (*AddBlackReq) Descriptor() ([]byte, []int)
Deprecated: Use AddBlackReq.ProtoReflect.Descriptor instead.
func (*AddBlackReq) GetBlackUserID ¶
func (x *AddBlackReq) GetBlackUserID() string
func (*AddBlackReq) GetEx ¶
func (x *AddBlackReq) GetEx() string
func (*AddBlackReq) GetOwnerUserID ¶
func (x *AddBlackReq) GetOwnerUserID() string
func (*AddBlackReq) ProtoMessage ¶
func (*AddBlackReq) ProtoMessage()
func (*AddBlackReq) ProtoReflect ¶
func (x *AddBlackReq) ProtoReflect() protoreflect.Message
func (*AddBlackReq) Reset ¶
func (x *AddBlackReq) Reset()
func (*AddBlackReq) String ¶
func (x *AddBlackReq) String() string
type AddBlackResp ¶
type AddBlackResp struct {
// contains filtered or unexported fields
}
func (*AddBlackResp) Descriptor
deprecated
func (*AddBlackResp) Descriptor() ([]byte, []int)
Deprecated: Use AddBlackResp.ProtoReflect.Descriptor instead.
func (*AddBlackResp) ProtoMessage ¶
func (*AddBlackResp) ProtoMessage()
func (*AddBlackResp) ProtoReflect ¶
func (x *AddBlackResp) ProtoReflect() protoreflect.Message
func (*AddBlackResp) Reset ¶
func (x *AddBlackResp) Reset()
func (*AddBlackResp) String ¶
func (x *AddBlackResp) String() string
type ApplyToAddFriendReq ¶
type ApplyToAddFriendReq struct { FromUserID string `protobuf:"bytes,1,opt,name=fromUserID,proto3" json:"fromUserID"` ToUserID string `protobuf:"bytes,2,opt,name=toUserID,proto3" json:"toUserID"` ReqMsg string `protobuf:"bytes,3,opt,name=reqMsg,proto3" json:"reqMsg"` Ex string `protobuf:"bytes,4,opt,name=ex,proto3" json:"ex"` // contains filtered or unexported fields }
func (*ApplyToAddFriendReq) Check ¶
func (x *ApplyToAddFriendReq) Check() error
func (*ApplyToAddFriendReq) Descriptor
deprecated
func (*ApplyToAddFriendReq) Descriptor() ([]byte, []int)
Deprecated: Use ApplyToAddFriendReq.ProtoReflect.Descriptor instead.
func (*ApplyToAddFriendReq) GetEx ¶
func (x *ApplyToAddFriendReq) GetEx() string
func (*ApplyToAddFriendReq) GetFromUserID ¶
func (x *ApplyToAddFriendReq) GetFromUserID() string
func (*ApplyToAddFriendReq) GetReqMsg ¶
func (x *ApplyToAddFriendReq) GetReqMsg() string
func (*ApplyToAddFriendReq) GetToUserID ¶
func (x *ApplyToAddFriendReq) GetToUserID() string
func (*ApplyToAddFriendReq) ProtoMessage ¶
func (*ApplyToAddFriendReq) ProtoMessage()
func (*ApplyToAddFriendReq) ProtoReflect ¶
func (x *ApplyToAddFriendReq) ProtoReflect() protoreflect.Message
func (*ApplyToAddFriendReq) Reset ¶
func (x *ApplyToAddFriendReq) Reset()
func (*ApplyToAddFriendReq) String ¶
func (x *ApplyToAddFriendReq) String() string
type ApplyToAddFriendResp ¶
type ApplyToAddFriendResp struct {
// contains filtered or unexported fields
}
func (*ApplyToAddFriendResp) Descriptor
deprecated
func (*ApplyToAddFriendResp) Descriptor() ([]byte, []int)
Deprecated: Use ApplyToAddFriendResp.ProtoReflect.Descriptor instead.
func (*ApplyToAddFriendResp) ProtoMessage ¶
func (*ApplyToAddFriendResp) ProtoMessage()
func (*ApplyToAddFriendResp) ProtoReflect ¶
func (x *ApplyToAddFriendResp) ProtoReflect() protoreflect.Message
func (*ApplyToAddFriendResp) Reset ¶
func (x *ApplyToAddFriendResp) Reset()
func (*ApplyToAddFriendResp) String ¶
func (x *ApplyToAddFriendResp) String() string
type BlackInfo ¶
type BlackInfo struct { OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"` BlackUserID string `protobuf:"bytes,2,opt,name=blackUserID,proto3" json:"blackUserID"` BlackNickname string `protobuf:"bytes,3,opt,name=blackNickname,proto3" json:"blackNickname"` BlackFaceURL string `protobuf:"bytes,4,opt,name=blackFaceURL,proto3" json:"blackFaceURL"` CreateTime int64 `protobuf:"varint,5,opt,name=createTime,proto3" json:"createTime"` AddSource int32 `protobuf:"varint,6,opt,name=addSource,proto3" json:"addSource"` OperatorUserID string `protobuf:"bytes,7,opt,name=operatorUserID,proto3" json:"operatorUserID"` Ex string `protobuf:"bytes,8,opt,name=ex,proto3" json:"ex"` // contains filtered or unexported fields }
func (*BlackInfo) Descriptor
deprecated
func (*BlackInfo) GetAddSource ¶
func (*BlackInfo) GetBlackFaceURL ¶
func (*BlackInfo) GetBlackNickname ¶
func (*BlackInfo) GetBlackUserID ¶
func (*BlackInfo) GetCreateTime ¶
func (*BlackInfo) GetOperatorUserID ¶
func (*BlackInfo) GetOwnerUserID ¶
func (*BlackInfo) ProtoMessage ¶
func (*BlackInfo) ProtoMessage()
func (*BlackInfo) ProtoReflect ¶
func (x *BlackInfo) ProtoReflect() protoreflect.Message
type DeleteFriendReq ¶
type DeleteFriendReq struct { OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"` FriendUserID string `protobuf:"bytes,2,opt,name=friendUserID,proto3" json:"friendUserID"` // contains filtered or unexported fields }
func (*DeleteFriendReq) Check ¶
func (x *DeleteFriendReq) Check() error
func (*DeleteFriendReq) Descriptor
deprecated
func (*DeleteFriendReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFriendReq.ProtoReflect.Descriptor instead.
func (*DeleteFriendReq) GetFriendUserID ¶
func (x *DeleteFriendReq) GetFriendUserID() string
func (*DeleteFriendReq) GetOwnerUserID ¶
func (x *DeleteFriendReq) GetOwnerUserID() string
func (*DeleteFriendReq) ProtoMessage ¶
func (*DeleteFriendReq) ProtoMessage()
func (*DeleteFriendReq) ProtoReflect ¶
func (x *DeleteFriendReq) ProtoReflect() protoreflect.Message
func (*DeleteFriendReq) Reset ¶
func (x *DeleteFriendReq) Reset()
func (*DeleteFriendReq) String ¶
func (x *DeleteFriendReq) String() string
type DeleteFriendResp ¶
type DeleteFriendResp struct {
// contains filtered or unexported fields
}
func (*DeleteFriendResp) Descriptor
deprecated
func (*DeleteFriendResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFriendResp.ProtoReflect.Descriptor instead.
func (*DeleteFriendResp) ProtoMessage ¶
func (*DeleteFriendResp) ProtoMessage()
func (*DeleteFriendResp) ProtoReflect ¶
func (x *DeleteFriendResp) ProtoReflect() protoreflect.Message
func (*DeleteFriendResp) Reset ¶
func (x *DeleteFriendResp) Reset()
func (*DeleteFriendResp) String ¶
func (x *DeleteFriendResp) String() string
type FriendClient ¶
type FriendClient interface { // Friend request ApplyToAddFriend(ctx context.Context, in *ApplyToAddFriendReq, opts ...grpc.CallOption) (*ApplyToAddFriendResp, error) // Get friend request list GetPaginationFriendsApplyTo(ctx context.Context, in *GetPaginationFriendsApplyToReq, opts ...grpc.CallOption) (*GetPaginationFriendsApplyToResp, error) // Get sent friend request list GetPaginationFriendsApplyFrom(ctx context.Context, in *GetPaginationFriendsApplyFromReq, opts ...grpc.CallOption) (*GetPaginationFriendsApplyFromResp, error) // Get specified friend request GetDesignatedFriendsApply(ctx context.Context, in *GetDesignatedFriendsApplyReq, opts ...grpc.CallOption) (*GetDesignatedFriendsApplyResp, error) // Get Incremental friends apply to list GetIncrementalFriendsApplyTo(ctx context.Context, in *GetIncrementalFriendsApplyToReq, opts ...grpc.CallOption) (*GetIncrementalFriendsApplyToResp, error) // Get Incremental friends apply from list GetIncrementalFriendsApplyFrom(ctx context.Context, in *GetIncrementalFriendsApplyFromReq, opts ...grpc.CallOption) (*GetIncrementalFriendsApplyFromResp, error) // Add black user AddBlack(ctx context.Context, in *AddBlackReq, opts ...grpc.CallOption) (*AddBlackResp, error) // Remove black user RemoveBlack(ctx context.Context, in *RemoveBlackReq, opts ...grpc.CallOption) (*RemoveBlackResp, error) // Check user is in friends list IsFriend(ctx context.Context, in *IsFriendReq, opts ...grpc.CallOption) (*IsFriendResp, error) // Check user is blacklist IsBlack(ctx context.Context, in *IsBlackReq, opts ...grpc.CallOption) (*IsBlackResp, error) // Get blacklist GetPaginationBlacks(ctx context.Context, in *GetPaginationBlacksReq, opts ...grpc.CallOption) (*GetPaginationBlacksResp, error) // Delete friend DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*DeleteFriendResp, error) // Respond to friend request (Accept or Decline) RespondFriendApply(ctx context.Context, in *RespondFriendApplyReq, opts ...grpc.CallOption) (*RespondFriendApplyResp, error) // Favorited friend UpdateFriends(ctx context.Context, in *UpdateFriendsReq, opts ...grpc.CallOption) (*UpdateFriendsResp, error) // Set friend nickname SetFriendRemark(ctx context.Context, in *SetFriendRemarkReq, opts ...grpc.CallOption) (*SetFriendRemarkResp, error) // Import friends relationship ImportFriends(ctx context.Context, in *ImportFriendReq, opts ...grpc.CallOption) (*ImportFriendResp, error) // Paginate and retrieve friend list; do not return error if no results. GetDesignatedFriends(ctx context.Context, in *GetDesignatedFriendsReq, opts ...grpc.CallOption) (*GetDesignatedFriendsResp, error) // Get specified friend's information; return error if ID does not exist. GetPaginationFriends(ctx context.Context, in *GetPaginationFriendsReq, opts ...grpc.CallOption) (*GetPaginationFriendsResp, error) // Get friend IDs list GetFriendIDs(ctx context.Context, in *GetFriendIDsReq, opts ...grpc.CallOption) (*GetFriendIDsResp, error) // Get specified friends info GetSpecifiedFriendsInfo(ctx context.Context, in *GetSpecifiedFriendsInfoReq, opts ...grpc.CallOption) (*GetSpecifiedFriendsInfoResp, error) GetIncrementalFriends(ctx context.Context, in *GetIncrementalFriendsReq, opts ...grpc.CallOption) (*GetIncrementalFriendsResp, error) // Get Incremental blackslist GetIncrementalBlacks(ctx context.Context, in *GetIncrementalBlacksReq, opts ...grpc.CallOption) (*GetIncrementalBlacksResp, error) // Get full friend userIDs GetFullFriendUserIDs(ctx context.Context, in *GetFullFriendUserIDsReq, opts ...grpc.CallOption) (*GetFullFriendUserIDsResp, error) NotificationUserInfoUpdate(ctx context.Context, in *NotificationUserInfoUpdateReq, opts ...grpc.CallOption) (*NotificationUserInfoUpdateResp, error) }
FriendClient is the client API for Friend service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFriendClient ¶
func NewFriendClient(cc grpc.ClientConnInterface) FriendClient
type FriendInfo ¶
type FriendInfo struct { OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"` FriendUserID string `protobuf:"bytes,2,opt,name=friendUserID,proto3" json:"friendUserID"` FriendNickname string `protobuf:"bytes,3,opt,name=friendNickname,proto3" json:"friendNickname"` FriendFaceURL string `protobuf:"bytes,4,opt,name=friendFaceURL,proto3" json:"friendFaceURL"` Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark"` CreateTime int64 `protobuf:"varint,6,opt,name=createTime,proto3" json:"createTime"` AddSource int32 `protobuf:"varint,7,opt,name=addSource,proto3" json:"addSource"` OperatorUserID string `protobuf:"bytes,8,opt,name=operatorUserID,proto3" json:"operatorUserID"` Ex string `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex"` IsPinned bool `protobuf:"varint,10,opt,name=isPinned,proto3" json:"isPinned"` // contains filtered or unexported fields }
func (*FriendInfo) Descriptor
deprecated
func (*FriendInfo) Descriptor() ([]byte, []int)
Deprecated: Use FriendInfo.ProtoReflect.Descriptor instead.
func (*FriendInfo) GetAddSource ¶
func (x *FriendInfo) GetAddSource() int32
func (*FriendInfo) GetCreateTime ¶
func (x *FriendInfo) GetCreateTime() int64
func (*FriendInfo) GetEx ¶
func (x *FriendInfo) GetEx() string
func (*FriendInfo) GetFriendFaceURL ¶
func (x *FriendInfo) GetFriendFaceURL() string
func (*FriendInfo) GetFriendNickname ¶
func (x *FriendInfo) GetFriendNickname() string
func (*FriendInfo) GetFriendUserID ¶
func (x *FriendInfo) GetFriendUserID() string
func (*FriendInfo) GetIsPinned ¶
func (x *FriendInfo) GetIsPinned() bool
func (*FriendInfo) GetOperatorUserID ¶
func (x *FriendInfo) GetOperatorUserID() string
func (*FriendInfo) GetOwnerUserID ¶
func (x *FriendInfo) GetOwnerUserID() string
func (*FriendInfo) GetRemark ¶
func (x *FriendInfo) GetRemark() string
func (*FriendInfo) ProtoMessage ¶
func (*FriendInfo) ProtoMessage()
func (*FriendInfo) ProtoReflect ¶
func (x *FriendInfo) ProtoReflect() protoreflect.Message
func (*FriendInfo) Reset ¶
func (x *FriendInfo) Reset()
func (*FriendInfo) String ¶
func (x *FriendInfo) String() string
type FriendServer ¶
type FriendServer interface { // Friend request ApplyToAddFriend(context.Context, *ApplyToAddFriendReq) (*ApplyToAddFriendResp, error) // Get friend request list GetPaginationFriendsApplyTo(context.Context, *GetPaginationFriendsApplyToReq) (*GetPaginationFriendsApplyToResp, error) // Get sent friend request list GetPaginationFriendsApplyFrom(context.Context, *GetPaginationFriendsApplyFromReq) (*GetPaginationFriendsApplyFromResp, error) // Get specified friend request GetDesignatedFriendsApply(context.Context, *GetDesignatedFriendsApplyReq) (*GetDesignatedFriendsApplyResp, error) // Get Incremental friends apply to list GetIncrementalFriendsApplyTo(context.Context, *GetIncrementalFriendsApplyToReq) (*GetIncrementalFriendsApplyToResp, error) // Get Incremental friends apply from list GetIncrementalFriendsApplyFrom(context.Context, *GetIncrementalFriendsApplyFromReq) (*GetIncrementalFriendsApplyFromResp, error) // Add black user AddBlack(context.Context, *AddBlackReq) (*AddBlackResp, error) // Remove black user RemoveBlack(context.Context, *RemoveBlackReq) (*RemoveBlackResp, error) // Check user is in friends list IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error) // Check user is blacklist IsBlack(context.Context, *IsBlackReq) (*IsBlackResp, error) // Get blacklist GetPaginationBlacks(context.Context, *GetPaginationBlacksReq) (*GetPaginationBlacksResp, error) // Delete friend DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error) // Respond to friend request (Accept or Decline) RespondFriendApply(context.Context, *RespondFriendApplyReq) (*RespondFriendApplyResp, error) // Favorited friend UpdateFriends(context.Context, *UpdateFriendsReq) (*UpdateFriendsResp, error) // Set friend nickname SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error) // Import friends relationship ImportFriends(context.Context, *ImportFriendReq) (*ImportFriendResp, error) // Paginate and retrieve friend list; do not return error if no results. GetDesignatedFriends(context.Context, *GetDesignatedFriendsReq) (*GetDesignatedFriendsResp, error) // Get specified friend's information; return error if ID does not exist. GetPaginationFriends(context.Context, *GetPaginationFriendsReq) (*GetPaginationFriendsResp, error) // Get friend IDs list GetFriendIDs(context.Context, *GetFriendIDsReq) (*GetFriendIDsResp, error) // Get specified friends info GetSpecifiedFriendsInfo(context.Context, *GetSpecifiedFriendsInfoReq) (*GetSpecifiedFriendsInfoResp, error) GetIncrementalFriends(context.Context, *GetIncrementalFriendsReq) (*GetIncrementalFriendsResp, error) // Get Incremental blackslist GetIncrementalBlacks(context.Context, *GetIncrementalBlacksReq) (*GetIncrementalBlacksResp, error) // Get full friend userIDs GetFullFriendUserIDs(context.Context, *GetFullFriendUserIDsReq) (*GetFullFriendUserIDsResp, error) NotificationUserInfoUpdate(context.Context, *NotificationUserInfoUpdateReq) (*NotificationUserInfoUpdateResp, error) }
FriendServer is the server API for Friend service.
type GetDesignatedFriendsApplyReq ¶
type GetDesignatedFriendsApplyReq struct { FromUserID string `protobuf:"bytes,1,opt,name=fromUserID,proto3" json:"fromUserID"` ToUserID string `protobuf:"bytes,2,opt,name=toUserID,proto3" json:"toUserID"` // contains filtered or unexported fields }
func (*GetDesignatedFriendsApplyReq) Check ¶
func (x *GetDesignatedFriendsApplyReq) Check() error
func (*GetDesignatedFriendsApplyReq) Descriptor
deprecated
func (*GetDesignatedFriendsApplyReq) Descriptor() ([]byte, []int)
Deprecated: Use GetDesignatedFriendsApplyReq.ProtoReflect.Descriptor instead.
func (*GetDesignatedFriendsApplyReq) GetFromUserID ¶
func (x *GetDesignatedFriendsApplyReq) GetFromUserID() string
func (*GetDesignatedFriendsApplyReq) GetToUserID ¶
func (x *GetDesignatedFriendsApplyReq) GetToUserID() string
func (*GetDesignatedFriendsApplyReq) ProtoMessage ¶
func (*GetDesignatedFriendsApplyReq) ProtoMessage()
func (*GetDesignatedFriendsApplyReq) ProtoReflect ¶
func (x *GetDesignatedFriendsApplyReq) ProtoReflect() protoreflect.Message
func (*GetDesignatedFriendsApplyReq) Reset ¶
func (x *GetDesignatedFriendsApplyReq) Reset()
func (*GetDesignatedFriendsApplyReq) String ¶
func (x *GetDesignatedFriendsApplyReq) String() string
type GetDesignatedFriendsApplyResp ¶
type GetDesignatedFriendsApplyResp struct { FriendRequests []*sdkws.FriendRequest `protobuf:"bytes,1,rep,name=friendRequests,proto3" json:"friendRequests"` // contains filtered or unexported fields }
func (*GetDesignatedFriendsApplyResp) Descriptor
deprecated
func (*GetDesignatedFriendsApplyResp) Descriptor() ([]byte, []int)
Deprecated: Use GetDesignatedFriendsApplyResp.ProtoReflect.Descriptor instead.
func (*GetDesignatedFriendsApplyResp) GetFriendRequests ¶
func (x *GetDesignatedFriendsApplyResp) GetFriendRequests() []*sdkws.FriendRequest
func (*GetDesignatedFriendsApplyResp) ProtoMessage ¶
func (*GetDesignatedFriendsApplyResp) ProtoMessage()
func (*GetDesignatedFriendsApplyResp) ProtoReflect ¶
func (x *GetDesignatedFriendsApplyResp) ProtoReflect() protoreflect.Message
func (*GetDesignatedFriendsApplyResp) Reset ¶
func (x *GetDesignatedFriendsApplyResp) Reset()
func (*GetDesignatedFriendsApplyResp) String ¶
func (x *GetDesignatedFriendsApplyResp) String() string
type GetDesignatedFriendsReq ¶
type GetDesignatedFriendsReq struct { OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"` FriendUserIDs []string `protobuf:"bytes,2,rep,name=friendUserIDs,proto3" json:"friendUserIDs"` // contains filtered or unexported fields }
func (*GetDesignatedFriendsReq) Check ¶
func (x *GetDesignatedFriendsReq) Check() error
func (*GetDesignatedFriendsReq) Descriptor
deprecated
func (*GetDesignatedFriendsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetDesignatedFriendsReq.ProtoReflect.Descriptor instead.
func (*GetDesignatedFriendsReq) GetFriendUserIDs ¶
func (x *GetDesignatedFriendsReq) GetFriendUserIDs() []string
func (*GetDesignatedFriendsReq) GetOwnerUserID ¶
func (x *GetDesignatedFriendsReq) GetOwnerUserID() string
func (*GetDesignatedFriendsReq) ProtoMessage ¶
func (*GetDesignatedFriendsReq) ProtoMessage()
func (*GetDesignatedFriendsReq) ProtoReflect ¶
func (x *GetDesignatedFriendsReq) ProtoReflect() protoreflect.Message
func (*GetDesignatedFriendsReq) Reset ¶
func (x *GetDesignatedFriendsReq) Reset()
func (*GetDesignatedFriendsReq) String ¶
func (x *GetDesignatedFriendsReq) String() string
type GetDesignatedFriendsResp ¶
type GetDesignatedFriendsResp struct { FriendsInfo []*sdkws.FriendInfo `protobuf:"bytes,1,rep,name=friendsInfo,proto3" json:"friendsInfo"` // contains filtered or unexported fields }
func (*GetDesignatedFriendsResp) Descriptor
deprecated
func (*GetDesignatedFriendsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetDesignatedFriendsResp.ProtoReflect.Descriptor instead.
func (*GetDesignatedFriendsResp) GetFriendsInfo ¶
func (x *GetDesignatedFriendsResp) GetFriendsInfo() []*sdkws.FriendInfo
func (*GetDesignatedFriendsResp) ProtoMessage ¶
func (*GetDesignatedFriendsResp) ProtoMessage()
func (*GetDesignatedFriendsResp) ProtoReflect ¶
func (x *GetDesignatedFriendsResp) ProtoReflect() protoreflect.Message
func (*GetDesignatedFriendsResp) Reset ¶
func (x *GetDesignatedFriendsResp) Reset()
func (*GetDesignatedFriendsResp) String ¶
func (x *GetDesignatedFriendsResp) String() string
type GetFriendIDsReq ¶
type GetFriendIDsReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` // contains filtered or unexported fields }
func (*GetFriendIDsReq) Check ¶
func (x *GetFriendIDsReq) Check() error
func (*GetFriendIDsReq) Descriptor
deprecated
func (*GetFriendIDsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendIDsReq.ProtoReflect.Descriptor instead.
func (*GetFriendIDsReq) GetUserID ¶
func (x *GetFriendIDsReq) GetUserID() string
func (*GetFriendIDsReq) ProtoMessage ¶
func (*GetFriendIDsReq) ProtoMessage()
func (*GetFriendIDsReq) ProtoReflect ¶
func (x *GetFriendIDsReq) ProtoReflect() protoreflect.Message
func (*GetFriendIDsReq) Reset ¶
func (x *GetFriendIDsReq) Reset()
func (*GetFriendIDsReq) String ¶
func (x *GetFriendIDsReq) String() string
type GetFriendIDsResp ¶
type GetFriendIDsResp struct { FriendIDs []string `protobuf:"bytes,1,rep,name=friendIDs,proto3" json:"friendIDs"` // contains filtered or unexported fields }
func (*GetFriendIDsResp) Descriptor
deprecated
func (*GetFriendIDsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendIDsResp.ProtoReflect.Descriptor instead.
func (*GetFriendIDsResp) GetFriendIDs ¶
func (x *GetFriendIDsResp) GetFriendIDs() []string
func (*GetFriendIDsResp) ProtoMessage ¶
func (*GetFriendIDsResp) ProtoMessage()
func (*GetFriendIDsResp) ProtoReflect ¶
func (x *GetFriendIDsResp) ProtoReflect() protoreflect.Message
func (*GetFriendIDsResp) Reset ¶
func (x *GetFriendIDsResp) Reset()
func (*GetFriendIDsResp) String ¶
func (x *GetFriendIDsResp) String() string
type GetFullFriendUserIDsReq ¶
type GetFullFriendUserIDsReq struct { IdHash uint64 `protobuf:"varint,1,opt,name=idHash,proto3" json:"idHash"` UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"` // contains filtered or unexported fields }
func (*GetFullFriendUserIDsReq) Check ¶
func (x *GetFullFriendUserIDsReq) Check() error
func (*GetFullFriendUserIDsReq) Descriptor
deprecated
func (*GetFullFriendUserIDsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetFullFriendUserIDsReq.ProtoReflect.Descriptor instead.
func (*GetFullFriendUserIDsReq) GetIdHash ¶
func (x *GetFullFriendUserIDsReq) GetIdHash() uint64
func (*GetFullFriendUserIDsReq) GetUserID ¶
func (x *GetFullFriendUserIDsReq) GetUserID() string
func (*GetFullFriendUserIDsReq) ProtoMessage ¶
func (*GetFullFriendUserIDsReq) ProtoMessage()
func (*GetFullFriendUserIDsReq) ProtoReflect ¶
func (x *GetFullFriendUserIDsReq) ProtoReflect() protoreflect.Message
func (*GetFullFriendUserIDsReq) Reset ¶
func (x *GetFullFriendUserIDsReq) Reset()
func (*GetFullFriendUserIDsReq) String ¶
func (x *GetFullFriendUserIDsReq) String() string
type GetFullFriendUserIDsResp ¶
type GetFullFriendUserIDsResp struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version"` VersionID string `protobuf:"bytes,2,opt,name=versionID,proto3" json:"versionID"` Equal bool `protobuf:"varint,3,opt,name=equal,proto3" json:"equal"` UserIDs []string `protobuf:"bytes,4,rep,name=userIDs,proto3" json:"userIDs"` // contains filtered or unexported fields }
func (*GetFullFriendUserIDsResp) Descriptor
deprecated
func (*GetFullFriendUserIDsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetFullFriendUserIDsResp.ProtoReflect.Descriptor instead.
func (*GetFullFriendUserIDsResp) GetEqual ¶
func (x *GetFullFriendUserIDsResp) GetEqual() bool
func (*GetFullFriendUserIDsResp) GetUserIDs ¶
func (x *GetFullFriendUserIDsResp) GetUserIDs() []string
func (*GetFullFriendUserIDsResp) GetVersion ¶
func (x *GetFullFriendUserIDsResp) GetVersion() uint64
func (*GetFullFriendUserIDsResp) GetVersionID ¶
func (x *GetFullFriendUserIDsResp) GetVersionID() string
func (*GetFullFriendUserIDsResp) ProtoMessage ¶
func (*GetFullFriendUserIDsResp) ProtoMessage()
func (*GetFullFriendUserIDsResp) ProtoReflect ¶
func (x *GetFullFriendUserIDsResp) ProtoReflect() protoreflect.Message
func (*GetFullFriendUserIDsResp) Reset ¶
func (x *GetFullFriendUserIDsResp) Reset()
func (*GetFullFriendUserIDsResp) String ¶
func (x *GetFullFriendUserIDsResp) String() string
type GetIncrementalBlacksReq ¶
type GetIncrementalBlacksReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` VersionID string `protobuf:"bytes,2,opt,name=versionID,proto3" json:"versionID"` Version uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version"` // contains filtered or unexported fields }
func (*GetIncrementalBlacksReq) Descriptor
deprecated
func (*GetIncrementalBlacksReq) Descriptor() ([]byte, []int)
Deprecated: Use GetIncrementalBlacksReq.ProtoReflect.Descriptor instead.
func (*GetIncrementalBlacksReq) GetUserID ¶
func (x *GetIncrementalBlacksReq) GetUserID() string
func (*GetIncrementalBlacksReq) GetVersion ¶
func (x *GetIncrementalBlacksReq) GetVersion() uint64
func (*GetIncrementalBlacksReq) GetVersionID ¶
func (x *GetIncrementalBlacksReq) GetVersionID() string
func (*GetIncrementalBlacksReq) ProtoMessage ¶
func (*GetIncrementalBlacksReq) ProtoMessage()
func (*GetIncrementalBlacksReq) ProtoReflect ¶
func (x *GetIncrementalBlacksReq) ProtoReflect() protoreflect.Message
func (*GetIncrementalBlacksReq) Reset ¶
func (x *GetIncrementalBlacksReq) Reset()
func (*GetIncrementalBlacksReq) String ¶
func (x *GetIncrementalBlacksReq) String() string
type GetIncrementalBlacksResp ¶
type GetIncrementalBlacksResp struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version"` VersionID string `protobuf:"bytes,2,opt,name=versionID,proto3" json:"versionID"` Full bool `protobuf:"varint,3,opt,name=full,proto3" json:"full"` Delete []string `protobuf:"bytes,4,rep,name=delete,proto3" json:"delete"` Insert []*BlackInfo `protobuf:"bytes,5,rep,name=insert,proto3" json:"insert"` Update []*BlackInfo `protobuf:"bytes,6,rep,name=update,proto3" json:"update"` // contains filtered or unexported fields }
func (*GetIncrementalBlacksResp) Descriptor
deprecated
func (*GetIncrementalBlacksResp) Descriptor() ([]byte, []int)
Deprecated: Use GetIncrementalBlacksResp.ProtoReflect.Descriptor instead.
func (*GetIncrementalBlacksResp) GetDelete ¶
func (x *GetIncrementalBlacksResp) GetDelete() []string
func (*GetIncrementalBlacksResp) GetFull ¶
func (x *GetIncrementalBlacksResp) GetFull() bool
func (*GetIncrementalBlacksResp) GetInsert ¶
func (x *GetIncrementalBlacksResp) GetInsert() []*BlackInfo
func (*GetIncrementalBlacksResp) GetUpdate ¶
func (x *GetIncrementalBlacksResp) GetUpdate() []*BlackInfo
func (*GetIncrementalBlacksResp) GetVersion ¶
func (x *GetIncrementalBlacksResp) GetVersion() uint64
func (*GetIncrementalBlacksResp) GetVersionID ¶
func (x *GetIncrementalBlacksResp) GetVersionID() string
func (*GetIncrementalBlacksResp) ProtoMessage ¶
func (*GetIncrementalBlacksResp) ProtoMessage()
func (*GetIncrementalBlacksResp) ProtoReflect ¶
func (x *GetIncrementalBlacksResp) ProtoReflect() protoreflect.Message
func (*GetIncrementalBlacksResp) Reset ¶
func (x *GetIncrementalBlacksResp) Reset()
func (*GetIncrementalBlacksResp) String ¶
func (x *GetIncrementalBlacksResp) String() string
type GetIncrementalFriendsApplyFromReq ¶
type GetIncrementalFriendsApplyFromReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` VersionID string `protobuf:"bytes,2,opt,name=versionID,proto3" json:"versionID"` Version uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version"` // contains filtered or unexported fields }
func (*GetIncrementalFriendsApplyFromReq) Descriptor
deprecated
func (*GetIncrementalFriendsApplyFromReq) Descriptor() ([]byte, []int)
Deprecated: Use GetIncrementalFriendsApplyFromReq.ProtoReflect.Descriptor instead.
func (*GetIncrementalFriendsApplyFromReq) GetUserID ¶
func (x *GetIncrementalFriendsApplyFromReq) GetUserID() string
func (*GetIncrementalFriendsApplyFromReq) GetVersion ¶
func (x *GetIncrementalFriendsApplyFromReq) GetVersion() uint64
func (*GetIncrementalFriendsApplyFromReq) GetVersionID ¶
func (x *GetIncrementalFriendsApplyFromReq) GetVersionID() string
func (*GetIncrementalFriendsApplyFromReq) ProtoMessage ¶
func (*GetIncrementalFriendsApplyFromReq) ProtoMessage()
func (*GetIncrementalFriendsApplyFromReq) ProtoReflect ¶
func (x *GetIncrementalFriendsApplyFromReq) ProtoReflect() protoreflect.Message
func (*GetIncrementalFriendsApplyFromReq) Reset ¶
func (x *GetIncrementalFriendsApplyFromReq) Reset()
func (*GetIncrementalFriendsApplyFromReq) String ¶
func (x *GetIncrementalFriendsApplyFromReq) String() string
type GetIncrementalFriendsApplyFromResp ¶
type GetIncrementalFriendsApplyFromResp struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version"` VersionID string `protobuf:"bytes,2,opt,name=versionID,proto3" json:"versionID"` Full bool `protobuf:"varint,3,opt,name=full,proto3" json:"full"` DeleteUserIds []string `protobuf:"bytes,4,rep,name=deleteUserIds,proto3" json:"deleteUserIds"` Changes []*sdkws.FriendRequest `protobuf:"bytes,5,rep,name=changes,proto3" json:"changes"` // contains filtered or unexported fields }
func (*GetIncrementalFriendsApplyFromResp) Descriptor
deprecated
func (*GetIncrementalFriendsApplyFromResp) Descriptor() ([]byte, []int)
Deprecated: Use GetIncrementalFriendsApplyFromResp.ProtoReflect.Descriptor instead.
func (*GetIncrementalFriendsApplyFromResp) GetChanges ¶
func (x *GetIncrementalFriendsApplyFromResp) GetChanges() []*sdkws.FriendRequest
func (*GetIncrementalFriendsApplyFromResp) GetDeleteUserIds ¶
func (x *GetIncrementalFriendsApplyFromResp) GetDeleteUserIds() []string
func (*GetIncrementalFriendsApplyFromResp) GetFull ¶
func (x *GetIncrementalFriendsApplyFromResp) GetFull() bool
func (*GetIncrementalFriendsApplyFromResp) GetVersion ¶
func (x *GetIncrementalFriendsApplyFromResp) GetVersion() uint64
func (*GetIncrementalFriendsApplyFromResp) GetVersionID ¶
func (x *GetIncrementalFriendsApplyFromResp) GetVersionID() string
func (*GetIncrementalFriendsApplyFromResp) ProtoMessage ¶
func (*GetIncrementalFriendsApplyFromResp) ProtoMessage()
func (*GetIncrementalFriendsApplyFromResp) ProtoReflect ¶
func (x *GetIncrementalFriendsApplyFromResp) ProtoReflect() protoreflect.Message
func (*GetIncrementalFriendsApplyFromResp) Reset ¶
func (x *GetIncrementalFriendsApplyFromResp) Reset()
func (*GetIncrementalFriendsApplyFromResp) String ¶
func (x *GetIncrementalFriendsApplyFromResp) String() string
type GetIncrementalFriendsApplyToReq ¶
type GetIncrementalFriendsApplyToReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` VersionID string `protobuf:"bytes,2,opt,name=versionID,proto3" json:"versionID"` Version uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version"` // contains filtered or unexported fields }
func (*GetIncrementalFriendsApplyToReq) Descriptor
deprecated
func (*GetIncrementalFriendsApplyToReq) Descriptor() ([]byte, []int)
Deprecated: Use GetIncrementalFriendsApplyToReq.ProtoReflect.Descriptor instead.
func (*GetIncrementalFriendsApplyToReq) GetUserID ¶
func (x *GetIncrementalFriendsApplyToReq) GetUserID() string
func (*GetIncrementalFriendsApplyToReq) GetVersion ¶
func (x *GetIncrementalFriendsApplyToReq) GetVersion() uint64
func (*GetIncrementalFriendsApplyToReq) GetVersionID ¶
func (x *GetIncrementalFriendsApplyToReq) GetVersionID() string
func (*GetIncrementalFriendsApplyToReq) ProtoMessage ¶
func (*GetIncrementalFriendsApplyToReq) ProtoMessage()
func (*GetIncrementalFriendsApplyToReq) ProtoReflect ¶
func (x *GetIncrementalFriendsApplyToReq) ProtoReflect() protoreflect.Message
func (*GetIncrementalFriendsApplyToReq) Reset ¶
func (x *GetIncrementalFriendsApplyToReq) Reset()
func (*GetIncrementalFriendsApplyToReq) String ¶
func (x *GetIncrementalFriendsApplyToReq) String() string
type GetIncrementalFriendsApplyToResp ¶
type GetIncrementalFriendsApplyToResp struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version"` VersionID string `protobuf:"bytes,2,opt,name=versionID,proto3" json:"versionID"` Full bool `protobuf:"varint,3,opt,name=full,proto3" json:"full"` DeleteUserIds []string `protobuf:"bytes,4,rep,name=deleteUserIds,proto3" json:"deleteUserIds"` Changes []*sdkws.FriendRequest `protobuf:"bytes,5,rep,name=changes,proto3" json:"changes"` // contains filtered or unexported fields }
func (*GetIncrementalFriendsApplyToResp) Descriptor
deprecated
func (*GetIncrementalFriendsApplyToResp) Descriptor() ([]byte, []int)
Deprecated: Use GetIncrementalFriendsApplyToResp.ProtoReflect.Descriptor instead.
func (*GetIncrementalFriendsApplyToResp) GetChanges ¶
func (x *GetIncrementalFriendsApplyToResp) GetChanges() []*sdkws.FriendRequest
func (*GetIncrementalFriendsApplyToResp) GetDeleteUserIds ¶
func (x *GetIncrementalFriendsApplyToResp) GetDeleteUserIds() []string
func (*GetIncrementalFriendsApplyToResp) GetFull ¶
func (x *GetIncrementalFriendsApplyToResp) GetFull() bool
func (*GetIncrementalFriendsApplyToResp) GetVersion ¶
func (x *GetIncrementalFriendsApplyToResp) GetVersion() uint64
func (*GetIncrementalFriendsApplyToResp) GetVersionID ¶
func (x *GetIncrementalFriendsApplyToResp) GetVersionID() string
func (*GetIncrementalFriendsApplyToResp) ProtoMessage ¶
func (*GetIncrementalFriendsApplyToResp) ProtoMessage()
func (*GetIncrementalFriendsApplyToResp) ProtoReflect ¶
func (x *GetIncrementalFriendsApplyToResp) ProtoReflect() protoreflect.Message
func (*GetIncrementalFriendsApplyToResp) Reset ¶
func (x *GetIncrementalFriendsApplyToResp) Reset()
func (*GetIncrementalFriendsApplyToResp) String ¶
func (x *GetIncrementalFriendsApplyToResp) String() string
type GetIncrementalFriendsReq ¶
type GetIncrementalFriendsReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` VersionID string `protobuf:"bytes,2,opt,name=versionID,proto3" json:"versionID"` Version uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version"` // contains filtered or unexported fields }
func (*GetIncrementalFriendsReq) Descriptor
deprecated
func (*GetIncrementalFriendsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetIncrementalFriendsReq.ProtoReflect.Descriptor instead.
func (*GetIncrementalFriendsReq) GetUserID ¶
func (x *GetIncrementalFriendsReq) GetUserID() string
func (*GetIncrementalFriendsReq) GetVersion ¶
func (x *GetIncrementalFriendsReq) GetVersion() uint64
func (*GetIncrementalFriendsReq) GetVersionID ¶
func (x *GetIncrementalFriendsReq) GetVersionID() string
func (*GetIncrementalFriendsReq) ProtoMessage ¶
func (*GetIncrementalFriendsReq) ProtoMessage()
func (*GetIncrementalFriendsReq) ProtoReflect ¶
func (x *GetIncrementalFriendsReq) ProtoReflect() protoreflect.Message
func (*GetIncrementalFriendsReq) Reset ¶
func (x *GetIncrementalFriendsReq) Reset()
func (*GetIncrementalFriendsReq) String ¶
func (x *GetIncrementalFriendsReq) String() string
type GetIncrementalFriendsResp ¶
type GetIncrementalFriendsResp struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version"` VersionID string `protobuf:"bytes,2,opt,name=versionID,proto3" json:"versionID"` Full bool `protobuf:"varint,3,opt,name=full,proto3" json:"full"` Delete []string `protobuf:"bytes,4,rep,name=delete,proto3" json:"delete"` Insert []*sdkws.FriendInfo `protobuf:"bytes,5,rep,name=insert,proto3" json:"insert"` Update []*sdkws.FriendInfo `protobuf:"bytes,6,rep,name=update,proto3" json:"update"` SortVersion uint64 `protobuf:"varint,7,opt,name=sortVersion,proto3" json:"sortVersion"` // contains filtered or unexported fields }
func (*GetIncrementalFriendsResp) Descriptor
deprecated
func (*GetIncrementalFriendsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetIncrementalFriendsResp.ProtoReflect.Descriptor instead.
func (*GetIncrementalFriendsResp) GetDelete ¶
func (x *GetIncrementalFriendsResp) GetDelete() []string
func (*GetIncrementalFriendsResp) GetFull ¶
func (x *GetIncrementalFriendsResp) GetFull() bool
func (*GetIncrementalFriendsResp) GetInsert ¶
func (x *GetIncrementalFriendsResp) GetInsert() []*sdkws.FriendInfo
func (*GetIncrementalFriendsResp) GetSortVersion ¶
func (x *GetIncrementalFriendsResp) GetSortVersion() uint64
func (*GetIncrementalFriendsResp) GetUpdate ¶
func (x *GetIncrementalFriendsResp) GetUpdate() []*sdkws.FriendInfo
func (*GetIncrementalFriendsResp) GetVersion ¶
func (x *GetIncrementalFriendsResp) GetVersion() uint64
func (*GetIncrementalFriendsResp) GetVersionID ¶
func (x *GetIncrementalFriendsResp) GetVersionID() string
func (*GetIncrementalFriendsResp) ProtoMessage ¶
func (*GetIncrementalFriendsResp) ProtoMessage()
func (*GetIncrementalFriendsResp) ProtoReflect ¶
func (x *GetIncrementalFriendsResp) ProtoReflect() protoreflect.Message
func (*GetIncrementalFriendsResp) Reset ¶
func (x *GetIncrementalFriendsResp) Reset()
func (*GetIncrementalFriendsResp) String ¶
func (x *GetIncrementalFriendsResp) String() string
type GetPaginationBlacksReq ¶
type GetPaginationBlacksReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"` // contains filtered or unexported fields }
func (*GetPaginationBlacksReq) Check ¶
func (x *GetPaginationBlacksReq) Check() error
func (*GetPaginationBlacksReq) Descriptor
deprecated
func (*GetPaginationBlacksReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPaginationBlacksReq.ProtoReflect.Descriptor instead.
func (*GetPaginationBlacksReq) GetPagination ¶
func (x *GetPaginationBlacksReq) GetPagination() *sdkws.RequestPagination
func (*GetPaginationBlacksReq) GetUserID ¶
func (x *GetPaginationBlacksReq) GetUserID() string
func (*GetPaginationBlacksReq) ProtoMessage ¶
func (*GetPaginationBlacksReq) ProtoMessage()
func (*GetPaginationBlacksReq) ProtoReflect ¶
func (x *GetPaginationBlacksReq) ProtoReflect() protoreflect.Message
func (*GetPaginationBlacksReq) Reset ¶
func (x *GetPaginationBlacksReq) Reset()
func (*GetPaginationBlacksReq) String ¶
func (x *GetPaginationBlacksReq) String() string
type GetPaginationBlacksResp ¶
type GetPaginationBlacksResp struct { Blacks []*sdkws.BlackInfo `protobuf:"bytes,1,rep,name=blacks,proto3" json:"blacks"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"` // contains filtered or unexported fields }
func (*GetPaginationBlacksResp) Descriptor
deprecated
func (*GetPaginationBlacksResp) Descriptor() ([]byte, []int)
Deprecated: Use GetPaginationBlacksResp.ProtoReflect.Descriptor instead.
func (*GetPaginationBlacksResp) GetBlacks ¶
func (x *GetPaginationBlacksResp) GetBlacks() []*sdkws.BlackInfo
func (*GetPaginationBlacksResp) GetTotal ¶
func (x *GetPaginationBlacksResp) GetTotal() int32
func (*GetPaginationBlacksResp) ProtoMessage ¶
func (*GetPaginationBlacksResp) ProtoMessage()
func (*GetPaginationBlacksResp) ProtoReflect ¶
func (x *GetPaginationBlacksResp) ProtoReflect() protoreflect.Message
func (*GetPaginationBlacksResp) Reset ¶
func (x *GetPaginationBlacksResp) Reset()
func (*GetPaginationBlacksResp) String ¶
func (x *GetPaginationBlacksResp) String() string
type GetPaginationFriendsApplyFromReq ¶
type GetPaginationFriendsApplyFromReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"` // contains filtered or unexported fields }
func (*GetPaginationFriendsApplyFromReq) Check ¶
func (x *GetPaginationFriendsApplyFromReq) Check() error
func (*GetPaginationFriendsApplyFromReq) Descriptor
deprecated
func (*GetPaginationFriendsApplyFromReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPaginationFriendsApplyFromReq.ProtoReflect.Descriptor instead.
func (*GetPaginationFriendsApplyFromReq) GetPagination ¶
func (x *GetPaginationFriendsApplyFromReq) GetPagination() *sdkws.RequestPagination
func (*GetPaginationFriendsApplyFromReq) GetUserID ¶
func (x *GetPaginationFriendsApplyFromReq) GetUserID() string
func (*GetPaginationFriendsApplyFromReq) ProtoMessage ¶
func (*GetPaginationFriendsApplyFromReq) ProtoMessage()
func (*GetPaginationFriendsApplyFromReq) ProtoReflect ¶
func (x *GetPaginationFriendsApplyFromReq) ProtoReflect() protoreflect.Message
func (*GetPaginationFriendsApplyFromReq) Reset ¶
func (x *GetPaginationFriendsApplyFromReq) Reset()
func (*GetPaginationFriendsApplyFromReq) String ¶
func (x *GetPaginationFriendsApplyFromReq) String() string
type GetPaginationFriendsApplyFromResp ¶
type GetPaginationFriendsApplyFromResp struct { FriendRequests []*sdkws.FriendRequest `protobuf:"bytes,1,rep,name=friendRequests,proto3" json:"friendRequests"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"` // contains filtered or unexported fields }
func (*GetPaginationFriendsApplyFromResp) Descriptor
deprecated
func (*GetPaginationFriendsApplyFromResp) Descriptor() ([]byte, []int)
Deprecated: Use GetPaginationFriendsApplyFromResp.ProtoReflect.Descriptor instead.
func (*GetPaginationFriendsApplyFromResp) GetFriendRequests ¶
func (x *GetPaginationFriendsApplyFromResp) GetFriendRequests() []*sdkws.FriendRequest
func (*GetPaginationFriendsApplyFromResp) GetTotal ¶
func (x *GetPaginationFriendsApplyFromResp) GetTotal() int32
func (*GetPaginationFriendsApplyFromResp) ProtoMessage ¶
func (*GetPaginationFriendsApplyFromResp) ProtoMessage()
func (*GetPaginationFriendsApplyFromResp) ProtoReflect ¶
func (x *GetPaginationFriendsApplyFromResp) ProtoReflect() protoreflect.Message
func (*GetPaginationFriendsApplyFromResp) Reset ¶
func (x *GetPaginationFriendsApplyFromResp) Reset()
func (*GetPaginationFriendsApplyFromResp) String ¶
func (x *GetPaginationFriendsApplyFromResp) String() string
type GetPaginationFriendsApplyToReq ¶
type GetPaginationFriendsApplyToReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"` // contains filtered or unexported fields }
func (*GetPaginationFriendsApplyToReq) Check ¶
func (x *GetPaginationFriendsApplyToReq) Check() error
func (*GetPaginationFriendsApplyToReq) Descriptor
deprecated
func (*GetPaginationFriendsApplyToReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPaginationFriendsApplyToReq.ProtoReflect.Descriptor instead.
func (*GetPaginationFriendsApplyToReq) GetPagination ¶
func (x *GetPaginationFriendsApplyToReq) GetPagination() *sdkws.RequestPagination
func (*GetPaginationFriendsApplyToReq) GetUserID ¶
func (x *GetPaginationFriendsApplyToReq) GetUserID() string
func (*GetPaginationFriendsApplyToReq) ProtoMessage ¶
func (*GetPaginationFriendsApplyToReq) ProtoMessage()
func (*GetPaginationFriendsApplyToReq) ProtoReflect ¶
func (x *GetPaginationFriendsApplyToReq) ProtoReflect() protoreflect.Message
func (*GetPaginationFriendsApplyToReq) Reset ¶
func (x *GetPaginationFriendsApplyToReq) Reset()
func (*GetPaginationFriendsApplyToReq) String ¶
func (x *GetPaginationFriendsApplyToReq) String() string
type GetPaginationFriendsApplyToResp ¶
type GetPaginationFriendsApplyToResp struct { FriendRequests []*sdkws.FriendRequest `protobuf:"bytes,1,rep,name=FriendRequests,proto3" json:"FriendRequests"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"` // contains filtered or unexported fields }
func (*GetPaginationFriendsApplyToResp) Descriptor
deprecated
func (*GetPaginationFriendsApplyToResp) Descriptor() ([]byte, []int)
Deprecated: Use GetPaginationFriendsApplyToResp.ProtoReflect.Descriptor instead.
func (*GetPaginationFriendsApplyToResp) Format ¶
func (x *GetPaginationFriendsApplyToResp) Format() any
func (*GetPaginationFriendsApplyToResp) GetFriendRequests ¶
func (x *GetPaginationFriendsApplyToResp) GetFriendRequests() []*sdkws.FriendRequest
func (*GetPaginationFriendsApplyToResp) GetTotal ¶
func (x *GetPaginationFriendsApplyToResp) GetTotal() int32
func (*GetPaginationFriendsApplyToResp) ProtoMessage ¶
func (*GetPaginationFriendsApplyToResp) ProtoMessage()
func (*GetPaginationFriendsApplyToResp) ProtoReflect ¶
func (x *GetPaginationFriendsApplyToResp) ProtoReflect() protoreflect.Message
func (*GetPaginationFriendsApplyToResp) Reset ¶
func (x *GetPaginationFriendsApplyToResp) Reset()
func (*GetPaginationFriendsApplyToResp) String ¶
func (x *GetPaginationFriendsApplyToResp) String() string
type GetPaginationFriendsReq ¶
type GetPaginationFriendsReq struct { Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"` UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"` // contains filtered or unexported fields }
func (*GetPaginationFriendsReq) Check ¶
func (x *GetPaginationFriendsReq) Check() error
func (*GetPaginationFriendsReq) Descriptor
deprecated
func (*GetPaginationFriendsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPaginationFriendsReq.ProtoReflect.Descriptor instead.
func (*GetPaginationFriendsReq) GetPagination ¶
func (x *GetPaginationFriendsReq) GetPagination() *sdkws.RequestPagination
func (*GetPaginationFriendsReq) GetUserID ¶
func (x *GetPaginationFriendsReq) GetUserID() string
func (*GetPaginationFriendsReq) ProtoMessage ¶
func (*GetPaginationFriendsReq) ProtoMessage()
func (*GetPaginationFriendsReq) ProtoReflect ¶
func (x *GetPaginationFriendsReq) ProtoReflect() protoreflect.Message
func (*GetPaginationFriendsReq) Reset ¶
func (x *GetPaginationFriendsReq) Reset()
func (*GetPaginationFriendsReq) String ¶
func (x *GetPaginationFriendsReq) String() string
type GetPaginationFriendsResp ¶
type GetPaginationFriendsResp struct { FriendsInfo []*sdkws.FriendInfo `protobuf:"bytes,1,rep,name=friendsInfo,proto3" json:"friendsInfo"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"` // contains filtered or unexported fields }
func (*GetPaginationFriendsResp) Descriptor
deprecated
func (*GetPaginationFriendsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetPaginationFriendsResp.ProtoReflect.Descriptor instead.
func (*GetPaginationFriendsResp) Format ¶
func (x *GetPaginationFriendsResp) Format() any
func (*GetPaginationFriendsResp) GetFriendsInfo ¶
func (x *GetPaginationFriendsResp) GetFriendsInfo() []*sdkws.FriendInfo
func (*GetPaginationFriendsResp) GetTotal ¶
func (x *GetPaginationFriendsResp) GetTotal() int32
func (*GetPaginationFriendsResp) ProtoMessage ¶
func (*GetPaginationFriendsResp) ProtoMessage()
func (*GetPaginationFriendsResp) ProtoReflect ¶
func (x *GetPaginationFriendsResp) ProtoReflect() protoreflect.Message
func (*GetPaginationFriendsResp) Reset ¶
func (x *GetPaginationFriendsResp) Reset()
func (*GetPaginationFriendsResp) String ¶
func (x *GetPaginationFriendsResp) String() string
type GetSpecifiedFriendsInfoInfo ¶
type GetSpecifiedFriendsInfoInfo struct { UserInfo *sdkws.UserInfo `protobuf:"bytes,1,opt,name=userInfo,proto3" json:"userInfo"` FriendInfo *sdkws.FriendInfo `protobuf:"bytes,2,opt,name=friendInfo,proto3" json:"friendInfo"` BlackInfo *sdkws.BlackInfo `protobuf:"bytes,3,opt,name=blackInfo,proto3" json:"blackInfo"` // contains filtered or unexported fields }
func (*GetSpecifiedFriendsInfoInfo) Descriptor
deprecated
func (*GetSpecifiedFriendsInfoInfo) Descriptor() ([]byte, []int)
Deprecated: Use GetSpecifiedFriendsInfoInfo.ProtoReflect.Descriptor instead.
func (*GetSpecifiedFriendsInfoInfo) GetBlackInfo ¶
func (x *GetSpecifiedFriendsInfoInfo) GetBlackInfo() *sdkws.BlackInfo
func (*GetSpecifiedFriendsInfoInfo) GetFriendInfo ¶
func (x *GetSpecifiedFriendsInfoInfo) GetFriendInfo() *sdkws.FriendInfo
func (*GetSpecifiedFriendsInfoInfo) GetUserInfo ¶
func (x *GetSpecifiedFriendsInfoInfo) GetUserInfo() *sdkws.UserInfo
func (*GetSpecifiedFriendsInfoInfo) ProtoMessage ¶
func (*GetSpecifiedFriendsInfoInfo) ProtoMessage()
func (*GetSpecifiedFriendsInfoInfo) ProtoReflect ¶
func (x *GetSpecifiedFriendsInfoInfo) ProtoReflect() protoreflect.Message
func (*GetSpecifiedFriendsInfoInfo) Reset ¶
func (x *GetSpecifiedFriendsInfoInfo) Reset()
func (*GetSpecifiedFriendsInfoInfo) String ¶
func (x *GetSpecifiedFriendsInfoInfo) String() string
type GetSpecifiedFriendsInfoReq ¶
type GetSpecifiedFriendsInfoReq struct { OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"` UserIDList []string `protobuf:"bytes,2,rep,name=userIDList,proto3" json:"userIDList"` // contains filtered or unexported fields }
func (*GetSpecifiedFriendsInfoReq) Check ¶
func (x *GetSpecifiedFriendsInfoReq) Check() error
func (*GetSpecifiedFriendsInfoReq) Descriptor
deprecated
func (*GetSpecifiedFriendsInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetSpecifiedFriendsInfoReq.ProtoReflect.Descriptor instead.
func (*GetSpecifiedFriendsInfoReq) GetOwnerUserID ¶
func (x *GetSpecifiedFriendsInfoReq) GetOwnerUserID() string
func (*GetSpecifiedFriendsInfoReq) GetUserIDList ¶
func (x *GetSpecifiedFriendsInfoReq) GetUserIDList() []string
func (*GetSpecifiedFriendsInfoReq) ProtoMessage ¶
func (*GetSpecifiedFriendsInfoReq) ProtoMessage()
func (*GetSpecifiedFriendsInfoReq) ProtoReflect ¶
func (x *GetSpecifiedFriendsInfoReq) ProtoReflect() protoreflect.Message
func (*GetSpecifiedFriendsInfoReq) Reset ¶
func (x *GetSpecifiedFriendsInfoReq) Reset()
func (*GetSpecifiedFriendsInfoReq) String ¶
func (x *GetSpecifiedFriendsInfoReq) String() string
type GetSpecifiedFriendsInfoResp ¶
type GetSpecifiedFriendsInfoResp struct { Infos []*GetSpecifiedFriendsInfoInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos"` // contains filtered or unexported fields }
func (*GetSpecifiedFriendsInfoResp) Descriptor
deprecated
func (*GetSpecifiedFriendsInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use GetSpecifiedFriendsInfoResp.ProtoReflect.Descriptor instead.
func (*GetSpecifiedFriendsInfoResp) GetInfos ¶
func (x *GetSpecifiedFriendsInfoResp) GetInfos() []*GetSpecifiedFriendsInfoInfo
func (*GetSpecifiedFriendsInfoResp) ProtoMessage ¶
func (*GetSpecifiedFriendsInfoResp) ProtoMessage()
func (*GetSpecifiedFriendsInfoResp) ProtoReflect ¶
func (x *GetSpecifiedFriendsInfoResp) ProtoReflect() protoreflect.Message
func (*GetSpecifiedFriendsInfoResp) Reset ¶
func (x *GetSpecifiedFriendsInfoResp) Reset()
func (*GetSpecifiedFriendsInfoResp) String ¶
func (x *GetSpecifiedFriendsInfoResp) String() string
type ImportFriendReq ¶
type ImportFriendReq struct { OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"` FriendUserIDs []string `protobuf:"bytes,2,rep,name=friendUserIDs,proto3" json:"friendUserIDs"` // contains filtered or unexported fields }
func (*ImportFriendReq) Check ¶
func (x *ImportFriendReq) Check() error
func (*ImportFriendReq) Descriptor
deprecated
func (*ImportFriendReq) Descriptor() ([]byte, []int)
Deprecated: Use ImportFriendReq.ProtoReflect.Descriptor instead.
func (*ImportFriendReq) GetFriendUserIDs ¶
func (x *ImportFriendReq) GetFriendUserIDs() []string
func (*ImportFriendReq) GetOwnerUserID ¶
func (x *ImportFriendReq) GetOwnerUserID() string
func (*ImportFriendReq) ProtoMessage ¶
func (*ImportFriendReq) ProtoMessage()
func (*ImportFriendReq) ProtoReflect ¶
func (x *ImportFriendReq) ProtoReflect() protoreflect.Message
func (*ImportFriendReq) Reset ¶
func (x *ImportFriendReq) Reset()
func (*ImportFriendReq) String ¶
func (x *ImportFriendReq) String() string
type ImportFriendResp ¶
type ImportFriendResp struct {
// contains filtered or unexported fields
}
func (*ImportFriendResp) Descriptor
deprecated
func (*ImportFriendResp) Descriptor() ([]byte, []int)
Deprecated: Use ImportFriendResp.ProtoReflect.Descriptor instead.
func (*ImportFriendResp) ProtoMessage ¶
func (*ImportFriendResp) ProtoMessage()
func (*ImportFriendResp) ProtoReflect ¶
func (x *ImportFriendResp) ProtoReflect() protoreflect.Message
func (*ImportFriendResp) Reset ¶
func (x *ImportFriendResp) Reset()
func (*ImportFriendResp) String ¶
func (x *ImportFriendResp) String() string
type IsBlackReq ¶
type IsBlackReq struct { UserID1 string `protobuf:"bytes,1,opt,name=userID1,proto3" json:"userID1"` UserID2 string `protobuf:"bytes,2,opt,name=userID2,proto3" json:"userID2"` // contains filtered or unexported fields }
func (*IsBlackReq) Check ¶
func (x *IsBlackReq) Check() error
func (*IsBlackReq) Descriptor
deprecated
func (*IsBlackReq) Descriptor() ([]byte, []int)
Deprecated: Use IsBlackReq.ProtoReflect.Descriptor instead.
func (*IsBlackReq) GetUserID1 ¶
func (x *IsBlackReq) GetUserID1() string
func (*IsBlackReq) GetUserID2 ¶
func (x *IsBlackReq) GetUserID2() string
func (*IsBlackReq) ProtoMessage ¶
func (*IsBlackReq) ProtoMessage()
func (*IsBlackReq) ProtoReflect ¶
func (x *IsBlackReq) ProtoReflect() protoreflect.Message
func (*IsBlackReq) Reset ¶
func (x *IsBlackReq) Reset()
func (*IsBlackReq) String ¶
func (x *IsBlackReq) String() string
type IsBlackResp ¶
type IsBlackResp struct { InUser1Blacks bool `protobuf:"varint,1,opt,name=inUser1Blacks,proto3" json:"inUser1Blacks"` // If userID2 is in userID1's blacklist, true InUser2Blacks bool `protobuf:"varint,2,opt,name=inUser2Blacks,proto3" json:"inUser2Blacks"` // If userID1 is in userID2's blacklist, true // contains filtered or unexported fields }
func (*IsBlackResp) Descriptor
deprecated
func (*IsBlackResp) Descriptor() ([]byte, []int)
Deprecated: Use IsBlackResp.ProtoReflect.Descriptor instead.
func (*IsBlackResp) GetInUser1Blacks ¶
func (x *IsBlackResp) GetInUser1Blacks() bool
func (*IsBlackResp) GetInUser2Blacks ¶
func (x *IsBlackResp) GetInUser2Blacks() bool
func (*IsBlackResp) ProtoMessage ¶
func (*IsBlackResp) ProtoMessage()
func (*IsBlackResp) ProtoReflect ¶
func (x *IsBlackResp) ProtoReflect() protoreflect.Message
func (*IsBlackResp) Reset ¶
func (x *IsBlackResp) Reset()
func (*IsBlackResp) String ¶
func (x *IsBlackResp) String() string
type IsFriendReq ¶
type IsFriendReq struct { UserID1 string `protobuf:"bytes,1,opt,name=userID1,proto3" json:"userID1"` UserID2 string `protobuf:"bytes,2,opt,name=userID2,proto3" json:"userID2"` // contains filtered or unexported fields }
func (*IsFriendReq) Check ¶
func (x *IsFriendReq) Check() error
func (*IsFriendReq) Descriptor
deprecated
func (*IsFriendReq) Descriptor() ([]byte, []int)
Deprecated: Use IsFriendReq.ProtoReflect.Descriptor instead.
func (*IsFriendReq) GetUserID1 ¶
func (x *IsFriendReq) GetUserID1() string
func (*IsFriendReq) GetUserID2 ¶
func (x *IsFriendReq) GetUserID2() string
func (*IsFriendReq) ProtoMessage ¶
func (*IsFriendReq) ProtoMessage()
func (*IsFriendReq) ProtoReflect ¶
func (x *IsFriendReq) ProtoReflect() protoreflect.Message
func (*IsFriendReq) Reset ¶
func (x *IsFriendReq) Reset()
func (*IsFriendReq) String ¶
func (x *IsFriendReq) String() string
type IsFriendResp ¶
type IsFriendResp struct { InUser1Friends bool `protobuf:"varint,1,opt,name=inUser1Friends,proto3" json:"inUser1Friends"` // If userID2 is in userID1’s friend list, return true InUser2Friends bool `protobuf:"varint,2,opt,name=inUser2Friends,proto3" json:"inUser2Friends"` // If userID1 is in userID2’s friend list, return true // contains filtered or unexported fields }
func (*IsFriendResp) Descriptor
deprecated
func (*IsFriendResp) Descriptor() ([]byte, []int)
Deprecated: Use IsFriendResp.ProtoReflect.Descriptor instead.
func (*IsFriendResp) GetInUser1Friends ¶
func (x *IsFriendResp) GetInUser1Friends() bool
func (*IsFriendResp) GetInUser2Friends ¶
func (x *IsFriendResp) GetInUser2Friends() bool
func (*IsFriendResp) ProtoMessage ¶
func (*IsFriendResp) ProtoMessage()
func (*IsFriendResp) ProtoReflect ¶
func (x *IsFriendResp) ProtoReflect() protoreflect.Message
func (*IsFriendResp) Reset ¶
func (x *IsFriendResp) Reset()
func (*IsFriendResp) String ¶
func (x *IsFriendResp) String() string
type NotificationUserInfoUpdateReq ¶
type NotificationUserInfoUpdateReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` OldUserInfo *sdkws.UserInfo `protobuf:"bytes,2,opt,name=oldUserInfo,proto3" json:"oldUserInfo"` NewUserInfo *sdkws.UserInfo `protobuf:"bytes,3,opt,name=newUserInfo,proto3" json:"newUserInfo"` // contains filtered or unexported fields }
func (*NotificationUserInfoUpdateReq) Descriptor
deprecated
func (*NotificationUserInfoUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use NotificationUserInfoUpdateReq.ProtoReflect.Descriptor instead.
func (*NotificationUserInfoUpdateReq) GetNewUserInfo ¶
func (x *NotificationUserInfoUpdateReq) GetNewUserInfo() *sdkws.UserInfo
func (*NotificationUserInfoUpdateReq) GetOldUserInfo ¶
func (x *NotificationUserInfoUpdateReq) GetOldUserInfo() *sdkws.UserInfo
func (*NotificationUserInfoUpdateReq) GetUserID ¶
func (x *NotificationUserInfoUpdateReq) GetUserID() string
func (*NotificationUserInfoUpdateReq) ProtoMessage ¶
func (*NotificationUserInfoUpdateReq) ProtoMessage()
func (*NotificationUserInfoUpdateReq) ProtoReflect ¶
func (x *NotificationUserInfoUpdateReq) ProtoReflect() protoreflect.Message
func (*NotificationUserInfoUpdateReq) Reset ¶
func (x *NotificationUserInfoUpdateReq) Reset()
func (*NotificationUserInfoUpdateReq) String ¶
func (x *NotificationUserInfoUpdateReq) String() string
type NotificationUserInfoUpdateResp ¶
type NotificationUserInfoUpdateResp struct {
// contains filtered or unexported fields
}
func (*NotificationUserInfoUpdateResp) Descriptor
deprecated
func (*NotificationUserInfoUpdateResp) Descriptor() ([]byte, []int)
Deprecated: Use NotificationUserInfoUpdateResp.ProtoReflect.Descriptor instead.
func (*NotificationUserInfoUpdateResp) ProtoMessage ¶
func (*NotificationUserInfoUpdateResp) ProtoMessage()
func (*NotificationUserInfoUpdateResp) ProtoReflect ¶
func (x *NotificationUserInfoUpdateResp) ProtoReflect() protoreflect.Message
func (*NotificationUserInfoUpdateResp) Reset ¶
func (x *NotificationUserInfoUpdateResp) Reset()
func (*NotificationUserInfoUpdateResp) String ¶
func (x *NotificationUserInfoUpdateResp) String() string
type RemoveBlackReq ¶
type RemoveBlackReq struct { OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"` BlackUserID string `protobuf:"bytes,2,opt,name=blackUserID,proto3" json:"blackUserID"` // contains filtered or unexported fields }
func (*RemoveBlackReq) Check ¶
func (x *RemoveBlackReq) Check() error
func (*RemoveBlackReq) Descriptor
deprecated
func (*RemoveBlackReq) Descriptor() ([]byte, []int)
Deprecated: Use RemoveBlackReq.ProtoReflect.Descriptor instead.
func (*RemoveBlackReq) GetBlackUserID ¶
func (x *RemoveBlackReq) GetBlackUserID() string
func (*RemoveBlackReq) GetOwnerUserID ¶
func (x *RemoveBlackReq) GetOwnerUserID() string
func (*RemoveBlackReq) ProtoMessage ¶
func (*RemoveBlackReq) ProtoMessage()
func (*RemoveBlackReq) ProtoReflect ¶
func (x *RemoveBlackReq) ProtoReflect() protoreflect.Message
func (*RemoveBlackReq) Reset ¶
func (x *RemoveBlackReq) Reset()
func (*RemoveBlackReq) String ¶
func (x *RemoveBlackReq) String() string
type RemoveBlackResp ¶
type RemoveBlackResp struct {
// contains filtered or unexported fields
}
func (*RemoveBlackResp) Descriptor
deprecated
func (*RemoveBlackResp) Descriptor() ([]byte, []int)
Deprecated: Use RemoveBlackResp.ProtoReflect.Descriptor instead.
func (*RemoveBlackResp) ProtoMessage ¶
func (*RemoveBlackResp) ProtoMessage()
func (*RemoveBlackResp) ProtoReflect ¶
func (x *RemoveBlackResp) ProtoReflect() protoreflect.Message
func (*RemoveBlackResp) Reset ¶
func (x *RemoveBlackResp) Reset()
func (*RemoveBlackResp) String ¶
func (x *RemoveBlackResp) String() string
type RespondFriendApplyReq ¶
type RespondFriendApplyReq struct { FromUserID string `protobuf:"bytes,1,opt,name=fromUserID,proto3" json:"fromUserID"` // ID of the user initiating the friend request ToUserID string `protobuf:"bytes,2,opt,name=toUserID,proto3" json:"toUserID"` // ID of the user receiving the friend request HandleResult int32 `protobuf:"varint,3,opt,name=handleResult,proto3" json:"handleResult"` HandleMsg string `protobuf:"bytes,4,opt,name=handleMsg,proto3" json:"handleMsg"` // contains filtered or unexported fields }
process
func (*RespondFriendApplyReq) Check ¶
func (x *RespondFriendApplyReq) Check() error
func (*RespondFriendApplyReq) Descriptor
deprecated
func (*RespondFriendApplyReq) Descriptor() ([]byte, []int)
Deprecated: Use RespondFriendApplyReq.ProtoReflect.Descriptor instead.
func (*RespondFriendApplyReq) GetFromUserID ¶
func (x *RespondFriendApplyReq) GetFromUserID() string
func (*RespondFriendApplyReq) GetHandleMsg ¶
func (x *RespondFriendApplyReq) GetHandleMsg() string
func (*RespondFriendApplyReq) GetHandleResult ¶
func (x *RespondFriendApplyReq) GetHandleResult() int32
func (*RespondFriendApplyReq) GetToUserID ¶
func (x *RespondFriendApplyReq) GetToUserID() string
func (*RespondFriendApplyReq) ProtoMessage ¶
func (*RespondFriendApplyReq) ProtoMessage()
func (*RespondFriendApplyReq) ProtoReflect ¶
func (x *RespondFriendApplyReq) ProtoReflect() protoreflect.Message
func (*RespondFriendApplyReq) Reset ¶
func (x *RespondFriendApplyReq) Reset()
func (*RespondFriendApplyReq) String ¶
func (x *RespondFriendApplyReq) String() string
type RespondFriendApplyResp ¶
type RespondFriendApplyResp struct {
// contains filtered or unexported fields
}
func (*RespondFriendApplyResp) Descriptor
deprecated
func (*RespondFriendApplyResp) Descriptor() ([]byte, []int)
Deprecated: Use RespondFriendApplyResp.ProtoReflect.Descriptor instead.
func (*RespondFriendApplyResp) ProtoMessage ¶
func (*RespondFriendApplyResp) ProtoMessage()
func (*RespondFriendApplyResp) ProtoReflect ¶
func (x *RespondFriendApplyResp) ProtoReflect() protoreflect.Message
func (*RespondFriendApplyResp) Reset ¶
func (x *RespondFriendApplyResp) Reset()
func (*RespondFriendApplyResp) String ¶
func (x *RespondFriendApplyResp) String() string
type SetFriendRemarkReq ¶
type SetFriendRemarkReq struct { OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"` FriendUserID string `protobuf:"bytes,2,opt,name=friendUserID,proto3" json:"friendUserID"` Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark"` // contains filtered or unexported fields }
func (*SetFriendRemarkReq) Check ¶
func (x *SetFriendRemarkReq) Check() error
func (*SetFriendRemarkReq) Descriptor
deprecated
func (*SetFriendRemarkReq) Descriptor() ([]byte, []int)
Deprecated: Use SetFriendRemarkReq.ProtoReflect.Descriptor instead.
func (*SetFriendRemarkReq) GetFriendUserID ¶
func (x *SetFriendRemarkReq) GetFriendUserID() string
func (*SetFriendRemarkReq) GetOwnerUserID ¶
func (x *SetFriendRemarkReq) GetOwnerUserID() string
func (*SetFriendRemarkReq) GetRemark ¶
func (x *SetFriendRemarkReq) GetRemark() string
func (*SetFriendRemarkReq) ProtoMessage ¶
func (*SetFriendRemarkReq) ProtoMessage()
func (*SetFriendRemarkReq) ProtoReflect ¶
func (x *SetFriendRemarkReq) ProtoReflect() protoreflect.Message
func (*SetFriendRemarkReq) Reset ¶
func (x *SetFriendRemarkReq) Reset()
func (*SetFriendRemarkReq) String ¶
func (x *SetFriendRemarkReq) String() string
type SetFriendRemarkResp ¶
type SetFriendRemarkResp struct {
// contains filtered or unexported fields
}
func (*SetFriendRemarkResp) Descriptor
deprecated
func (*SetFriendRemarkResp) Descriptor() ([]byte, []int)
Deprecated: Use SetFriendRemarkResp.ProtoReflect.Descriptor instead.
func (*SetFriendRemarkResp) ProtoMessage ¶
func (*SetFriendRemarkResp) ProtoMessage()
func (*SetFriendRemarkResp) ProtoReflect ¶
func (x *SetFriendRemarkResp) ProtoReflect() protoreflect.Message
func (*SetFriendRemarkResp) Reset ¶
func (x *SetFriendRemarkResp) Reset()
func (*SetFriendRemarkResp) String ¶
func (x *SetFriendRemarkResp) String() string
type UnimplementedFriendServer ¶
type UnimplementedFriendServer struct { }
UnimplementedFriendServer can be embedded to have forward compatible implementations.
func (*UnimplementedFriendServer) AddBlack ¶
func (*UnimplementedFriendServer) AddBlack(context.Context, *AddBlackReq) (*AddBlackResp, error)
func (*UnimplementedFriendServer) ApplyToAddFriend ¶
func (*UnimplementedFriendServer) ApplyToAddFriend(context.Context, *ApplyToAddFriendReq) (*ApplyToAddFriendResp, error)
func (*UnimplementedFriendServer) DeleteFriend ¶
func (*UnimplementedFriendServer) DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error)
func (*UnimplementedFriendServer) GetDesignatedFriends ¶
func (*UnimplementedFriendServer) GetDesignatedFriends(context.Context, *GetDesignatedFriendsReq) (*GetDesignatedFriendsResp, error)
func (*UnimplementedFriendServer) GetDesignatedFriendsApply ¶
func (*UnimplementedFriendServer) GetDesignatedFriendsApply(context.Context, *GetDesignatedFriendsApplyReq) (*GetDesignatedFriendsApplyResp, error)
func (*UnimplementedFriendServer) GetFriendIDs ¶
func (*UnimplementedFriendServer) GetFriendIDs(context.Context, *GetFriendIDsReq) (*GetFriendIDsResp, error)
func (*UnimplementedFriendServer) GetFullFriendUserIDs ¶
func (*UnimplementedFriendServer) GetFullFriendUserIDs(context.Context, *GetFullFriendUserIDsReq) (*GetFullFriendUserIDsResp, error)
func (*UnimplementedFriendServer) GetIncrementalBlacks ¶
func (*UnimplementedFriendServer) GetIncrementalBlacks(context.Context, *GetIncrementalBlacksReq) (*GetIncrementalBlacksResp, error)
func (*UnimplementedFriendServer) GetIncrementalFriends ¶
func (*UnimplementedFriendServer) GetIncrementalFriends(context.Context, *GetIncrementalFriendsReq) (*GetIncrementalFriendsResp, error)
func (*UnimplementedFriendServer) GetIncrementalFriendsApplyFrom ¶
func (*UnimplementedFriendServer) GetIncrementalFriendsApplyFrom(context.Context, *GetIncrementalFriendsApplyFromReq) (*GetIncrementalFriendsApplyFromResp, error)
func (*UnimplementedFriendServer) GetIncrementalFriendsApplyTo ¶
func (*UnimplementedFriendServer) GetIncrementalFriendsApplyTo(context.Context, *GetIncrementalFriendsApplyToReq) (*GetIncrementalFriendsApplyToResp, error)
func (*UnimplementedFriendServer) GetPaginationBlacks ¶
func (*UnimplementedFriendServer) GetPaginationBlacks(context.Context, *GetPaginationBlacksReq) (*GetPaginationBlacksResp, error)
func (*UnimplementedFriendServer) GetPaginationFriends ¶
func (*UnimplementedFriendServer) GetPaginationFriends(context.Context, *GetPaginationFriendsReq) (*GetPaginationFriendsResp, error)
func (*UnimplementedFriendServer) GetPaginationFriendsApplyFrom ¶
func (*UnimplementedFriendServer) GetPaginationFriendsApplyFrom(context.Context, *GetPaginationFriendsApplyFromReq) (*GetPaginationFriendsApplyFromResp, error)
func (*UnimplementedFriendServer) GetPaginationFriendsApplyTo ¶
func (*UnimplementedFriendServer) GetPaginationFriendsApplyTo(context.Context, *GetPaginationFriendsApplyToReq) (*GetPaginationFriendsApplyToResp, error)
func (*UnimplementedFriendServer) GetSpecifiedFriendsInfo ¶
func (*UnimplementedFriendServer) GetSpecifiedFriendsInfo(context.Context, *GetSpecifiedFriendsInfoReq) (*GetSpecifiedFriendsInfoResp, error)
func (*UnimplementedFriendServer) ImportFriends ¶
func (*UnimplementedFriendServer) ImportFriends(context.Context, *ImportFriendReq) (*ImportFriendResp, error)
func (*UnimplementedFriendServer) IsBlack ¶
func (*UnimplementedFriendServer) IsBlack(context.Context, *IsBlackReq) (*IsBlackResp, error)
func (*UnimplementedFriendServer) IsFriend ¶
func (*UnimplementedFriendServer) IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error)
func (*UnimplementedFriendServer) NotificationUserInfoUpdate ¶
func (*UnimplementedFriendServer) NotificationUserInfoUpdate(context.Context, *NotificationUserInfoUpdateReq) (*NotificationUserInfoUpdateResp, error)
func (*UnimplementedFriendServer) RemoveBlack ¶
func (*UnimplementedFriendServer) RemoveBlack(context.Context, *RemoveBlackReq) (*RemoveBlackResp, error)
func (*UnimplementedFriendServer) RespondFriendApply ¶
func (*UnimplementedFriendServer) RespondFriendApply(context.Context, *RespondFriendApplyReq) (*RespondFriendApplyResp, error)
func (*UnimplementedFriendServer) SetFriendRemark ¶
func (*UnimplementedFriendServer) SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error)
func (*UnimplementedFriendServer) UpdateFriends ¶
func (*UnimplementedFriendServer) UpdateFriends(context.Context, *UpdateFriendsReq) (*UpdateFriendsResp, error)
type UpdateFriendsReq ¶
type UpdateFriendsReq struct { OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"` FriendUserIDs []string `protobuf:"bytes,2,rep,name=friendUserIDs,proto3" json:"friendUserIDs"` IsPinned *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=isPinned,proto3" json:"isPinned"` Remark *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark"` Ex *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=ex,proto3" json:"ex"` // contains filtered or unexported fields }
func (*UpdateFriendsReq) Check ¶
func (x *UpdateFriendsReq) Check() error
func (*UpdateFriendsReq) Descriptor
deprecated
func (*UpdateFriendsReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFriendsReq.ProtoReflect.Descriptor instead.
func (*UpdateFriendsReq) GetEx ¶
func (x *UpdateFriendsReq) GetEx() *wrapperspb.StringValue
func (*UpdateFriendsReq) GetFriendUserIDs ¶
func (x *UpdateFriendsReq) GetFriendUserIDs() []string
func (*UpdateFriendsReq) GetIsPinned ¶
func (x *UpdateFriendsReq) GetIsPinned() *wrapperspb.BoolValue
func (*UpdateFriendsReq) GetOwnerUserID ¶
func (x *UpdateFriendsReq) GetOwnerUserID() string
func (*UpdateFriendsReq) GetRemark ¶
func (x *UpdateFriendsReq) GetRemark() *wrapperspb.StringValue
func (*UpdateFriendsReq) ProtoMessage ¶
func (*UpdateFriendsReq) ProtoMessage()
func (*UpdateFriendsReq) ProtoReflect ¶
func (x *UpdateFriendsReq) ProtoReflect() protoreflect.Message
func (*UpdateFriendsReq) Reset ¶
func (x *UpdateFriendsReq) Reset()
func (*UpdateFriendsReq) String ¶
func (x *UpdateFriendsReq) String() string
type UpdateFriendsResp ¶
type UpdateFriendsResp struct {
// contains filtered or unexported fields
}
func (*UpdateFriendsResp) Descriptor
deprecated
func (*UpdateFriendsResp) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFriendsResp.ProtoReflect.Descriptor instead.
func (*UpdateFriendsResp) ProtoMessage ¶
func (*UpdateFriendsResp) ProtoMessage()
func (*UpdateFriendsResp) ProtoReflect ¶
func (x *UpdateFriendsResp) ProtoReflect() protoreflect.Message
func (*UpdateFriendsResp) Reset ¶
func (x *UpdateFriendsResp) Reset()
func (*UpdateFriendsResp) String ¶
func (x *UpdateFriendsResp) String() string