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 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 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 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) 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) 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 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) 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) 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_friend_friend_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 ¶ added in v0.0.36
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 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 { // 申请加好友 ApplyToAddFriend(ctx context.Context, in *ApplyToAddFriendReq, opts ...grpc.CallOption) (*ApplyToAddFriendResp, error) // 获取收到的好友申请列表 GetPaginationFriendsApplyTo(ctx context.Context, in *GetPaginationFriendsApplyToReq, opts ...grpc.CallOption) (*GetPaginationFriendsApplyToResp, error) // 获取主动发出去的好友申请列表 GetPaginationFriendsApplyFrom(ctx context.Context, in *GetPaginationFriendsApplyFromReq, opts ...grpc.CallOption) (*GetPaginationFriendsApplyFromResp, error) // 获取指定好友申请 GetDesignatedFriendsApply(ctx context.Context, in *GetDesignatedFriendsApplyReq, opts ...grpc.CallOption) (*GetDesignatedFriendsApplyResp, error) // 添加黑名单 AddBlack(ctx context.Context, in *AddBlackReq, opts ...grpc.CallOption) (*AddBlackResp, error) // 移除黑名单 RemoveBlack(ctx context.Context, in *RemoveBlackReq, opts ...grpc.CallOption) (*RemoveBlackResp, error) // 判断是否好友关系 IsFriend(ctx context.Context, in *IsFriendReq, opts ...grpc.CallOption) (*IsFriendResp, error) // 判断是否在黑名单中 IsBlack(ctx context.Context, in *IsBlackReq, opts ...grpc.CallOption) (*IsBlackResp, error) // 获取黑名单列表 GetPaginationBlacks(ctx context.Context, in *GetPaginationBlacksReq, opts ...grpc.CallOption) (*GetPaginationBlacksResp, error) // 删除好友 DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*DeleteFriendResp, error) // 对好友申请响应(同意或拒绝) RespondFriendApply(ctx context.Context, in *RespondFriendApplyReq, opts ...grpc.CallOption) (*RespondFriendApplyResp, error) // 星标好友 UpdateFriends(ctx context.Context, in *UpdateFriendsReq, opts ...grpc.CallOption) (*UpdateFriendsResp, error) // 设置好友备注 SetFriendRemark(ctx context.Context, in *SetFriendRemarkReq, opts ...grpc.CallOption) (*SetFriendRemarkResp, error) // 导入好友关系 ImportFriends(ctx context.Context, in *ImportFriendReq, opts ...grpc.CallOption) (*ImportFriendResp, error) // 翻页获取好友列表 无结果不返回错误 GetDesignatedFriends(ctx context.Context, in *GetDesignatedFriendsReq, opts ...grpc.CallOption) (*GetDesignatedFriendsResp, error) // 获取指定好友信息 有id不存在也返回错误 GetPaginationFriends(ctx context.Context, in *GetPaginationFriendsReq, opts ...grpc.CallOption) (*GetPaginationFriendsResp, error) // 获取好友ID列表 GetFriendIDs(ctx context.Context, in *GetFriendIDsReq, opts ...grpc.CallOption) (*GetFriendIDsResp, error) // 获取指定好友信息 GetSpecifiedFriendsInfo(ctx context.Context, in *GetSpecifiedFriendsInfoReq, opts ...grpc.CallOption) (*GetSpecifiedFriendsInfoResp, 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 FriendServer ¶
type FriendServer interface { // 申请加好友 ApplyToAddFriend(context.Context, *ApplyToAddFriendReq) (*ApplyToAddFriendResp, error) // 获取收到的好友申请列表 GetPaginationFriendsApplyTo(context.Context, *GetPaginationFriendsApplyToReq) (*GetPaginationFriendsApplyToResp, error) // 获取主动发出去的好友申请列表 GetPaginationFriendsApplyFrom(context.Context, *GetPaginationFriendsApplyFromReq) (*GetPaginationFriendsApplyFromResp, error) // 获取指定好友申请 GetDesignatedFriendsApply(context.Context, *GetDesignatedFriendsApplyReq) (*GetDesignatedFriendsApplyResp, error) // 添加黑名单 AddBlack(context.Context, *AddBlackReq) (*AddBlackResp, error) // 移除黑名单 RemoveBlack(context.Context, *RemoveBlackReq) (*RemoveBlackResp, error) // 判断是否好友关系 IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error) // 判断是否在黑名单中 IsBlack(context.Context, *IsBlackReq) (*IsBlackResp, error) // 获取黑名单列表 GetPaginationBlacks(context.Context, *GetPaginationBlacksReq) (*GetPaginationBlacksResp, error) // 删除好友 DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error) // 对好友申请响应(同意或拒绝) RespondFriendApply(context.Context, *RespondFriendApplyReq) (*RespondFriendApplyResp, error) // 星标好友 UpdateFriends(context.Context, *UpdateFriendsReq) (*UpdateFriendsResp, error) // 设置好友备注 SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error) // 导入好友关系 ImportFriends(context.Context, *ImportFriendReq) (*ImportFriendResp, error) // 翻页获取好友列表 无结果不返回错误 GetDesignatedFriends(context.Context, *GetDesignatedFriendsReq) (*GetDesignatedFriendsResp, error) // 获取指定好友信息 有id不存在也返回错误 GetPaginationFriends(context.Context, *GetPaginationFriendsReq) (*GetPaginationFriendsResp, error) // 获取好友ID列表 GetFriendIDs(context.Context, *GetFriendIDsReq) (*GetFriendIDsResp, error) // 获取指定好友信息 GetSpecifiedFriendsInfo(context.Context, *GetSpecifiedFriendsInfoReq) (*GetSpecifiedFriendsInfoResp, 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 ¶ added in v0.0.32
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 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) 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) 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 ¶ added in v0.0.32
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"` //如果userID2在userID1的黑名单列表中 true InUser2Blacks bool `protobuf:"varint,2,opt,name=inUser2Blacks,proto3" json:"inUser2Blacks"` //如果userID1在userID2的黑名单列表中 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"` //如果userID2在userID1的好友列表中 true InUser2Friends bool `protobuf:"varint,2,opt,name=inUser2Friends,proto3" json:"inUser2Friends"` //如果userID1在userID2的好友列表中 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 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"` //主动发起的申请者 ToUserID string `protobuf:"bytes,2,opt,name=toUserID,proto3" json:"toUserID"` //被动添加者 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) 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) 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 ¶ added in v0.0.37
func (*UnimplementedFriendServer) UpdateFriends(context.Context, *UpdateFriendsReq) (*UpdateFriendsResp, error)
type UpdateFriendsReq ¶ added in v0.0.37
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 ¶ added in v0.0.37
func (x *UpdateFriendsReq) Check() error
func (*UpdateFriendsReq) Descriptor
deprecated
added in
v0.0.37
func (*UpdateFriendsReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFriendsReq.ProtoReflect.Descriptor instead.
func (*UpdateFriendsReq) GetEx ¶ added in v0.0.37
func (x *UpdateFriendsReq) GetEx() *wrapperspb.StringValue
func (*UpdateFriendsReq) GetFriendUserIDs ¶ added in v0.0.37
func (x *UpdateFriendsReq) GetFriendUserIDs() []string
func (*UpdateFriendsReq) GetIsPinned ¶ added in v0.0.37
func (x *UpdateFriendsReq) GetIsPinned() *wrapperspb.BoolValue
func (*UpdateFriendsReq) GetOwnerUserID ¶ added in v0.0.37
func (x *UpdateFriendsReq) GetOwnerUserID() string
func (*UpdateFriendsReq) GetRemark ¶ added in v0.0.37
func (x *UpdateFriendsReq) GetRemark() *wrapperspb.StringValue
func (*UpdateFriendsReq) ProtoMessage ¶ added in v0.0.37
func (*UpdateFriendsReq) ProtoMessage()
func (*UpdateFriendsReq) ProtoReflect ¶ added in v0.0.37
func (x *UpdateFriendsReq) ProtoReflect() protoreflect.Message
func (*UpdateFriendsReq) Reset ¶ added in v0.0.37
func (x *UpdateFriendsReq) Reset()
func (*UpdateFriendsReq) String ¶ added in v0.0.37
func (x *UpdateFriendsReq) String() string
type UpdateFriendsResp ¶ added in v0.0.37
type UpdateFriendsResp struct {
// contains filtered or unexported fields
}
func (*UpdateFriendsResp) Descriptor
deprecated
added in
v0.0.37
func (*UpdateFriendsResp) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFriendsResp.ProtoReflect.Descriptor instead.
func (*UpdateFriendsResp) ProtoMessage ¶ added in v0.0.37
func (*UpdateFriendsResp) ProtoMessage()
func (*UpdateFriendsResp) ProtoReflect ¶ added in v0.0.37
func (x *UpdateFriendsResp) ProtoReflect() protoreflect.Message
func (*UpdateFriendsResp) Reset ¶ added in v0.0.37
func (x *UpdateFriendsResp) Reset()
func (*UpdateFriendsResp) String ¶ added in v0.0.37
func (x *UpdateFriendsResp) String() string