Documentation ¶
Index ¶
- Variables
- func RegisterFriendServer(s *grpc.Server, srv FriendServer)
- type AddBlacklistReq
- type AddBlacklistResp
- type AddFriendReq
- func (*AddFriendReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddFriendReq) GetCommID() *CommID
- func (x *AddFriendReq) GetReqMsg() string
- func (*AddFriendReq) ProtoMessage()
- func (x *AddFriendReq) ProtoReflect() protoreflect.Message
- func (x *AddFriendReq) Reset()
- func (x *AddFriendReq) String() string
- type AddFriendResp
- type AddFriendResponseReq
- func (*AddFriendResponseReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddFriendResponseReq) GetCommID() *CommID
- func (x *AddFriendResponseReq) GetHandleMsg() string
- func (x *AddFriendResponseReq) GetHandleResult() int32
- func (*AddFriendResponseReq) ProtoMessage()
- func (x *AddFriendResponseReq) ProtoReflect() protoreflect.Message
- func (x *AddFriendResponseReq) Reset()
- func (x *AddFriendResponseReq) String() string
- type AddFriendResponseResp
- func (*AddFriendResponseResp) Descriptor() ([]byte, []int)deprecated
- func (x *AddFriendResponseResp) GetCommonResp() *CommonResp
- func (*AddFriendResponseResp) ProtoMessage()
- func (x *AddFriendResponseResp) ProtoReflect() protoreflect.Message
- func (x *AddFriendResponseResp) Reset()
- func (x *AddFriendResponseResp) String() string
- type CommID
- func (*CommID) Descriptor() ([]byte, []int)deprecated
- func (x *CommID) GetFromUserID() string
- func (x *CommID) GetOpUserID() string
- func (x *CommID) GetOperationID() string
- func (x *CommID) GetToUserID() string
- func (*CommID) ProtoMessage()
- func (x *CommID) ProtoReflect() protoreflect.Message
- func (x *CommID) Reset()
- func (x *CommID) String() string
- type CommonResp
- type DeleteFriendReq
- type DeleteFriendResp
- type FriendClient
- type FriendServer
- type GetBlacklistReq
- type GetBlacklistResp
- func (*GetBlacklistResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlacklistResp) GetBlackUserInfoList() []*sdk_ws.PublicUserInfo
- func (x *GetBlacklistResp) GetErrCode() int32
- func (x *GetBlacklistResp) GetErrMsg() string
- func (*GetBlacklistResp) ProtoMessage()
- func (x *GetBlacklistResp) ProtoReflect() protoreflect.Message
- func (x *GetBlacklistResp) Reset()
- func (x *GetBlacklistResp) String() string
- type GetFriendApplyListReq
- func (*GetFriendApplyListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetFriendApplyListReq) GetCommID() *CommID
- func (*GetFriendApplyListReq) ProtoMessage()
- func (x *GetFriendApplyListReq) ProtoReflect() protoreflect.Message
- func (x *GetFriendApplyListReq) Reset()
- func (x *GetFriendApplyListReq) String() string
- type GetFriendApplyListResp
- func (*GetFriendApplyListResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetFriendApplyListResp) GetErrCode() int32
- func (x *GetFriendApplyListResp) GetErrMsg() string
- func (x *GetFriendApplyListResp) GetFriendRequestList() []*sdk_ws.FriendRequest
- func (*GetFriendApplyListResp) ProtoMessage()
- func (x *GetFriendApplyListResp) ProtoReflect() protoreflect.Message
- func (x *GetFriendApplyListResp) Reset()
- func (x *GetFriendApplyListResp) String() string
- type GetFriendInfoResp
- func (*GetFriendInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetFriendInfoResp) GetErrCode() int32
- func (x *GetFriendInfoResp) GetErrMsg() string
- func (x *GetFriendInfoResp) GetFriendInfoList() []*sdk_ws.FriendInfo
- func (*GetFriendInfoResp) ProtoMessage()
- func (x *GetFriendInfoResp) ProtoReflect() protoreflect.Message
- func (x *GetFriendInfoResp) Reset()
- func (x *GetFriendInfoResp) String() string
- type GetFriendListReq
- type GetFriendListResp
- func (*GetFriendListResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetFriendListResp) GetErrCode() int32
- func (x *GetFriendListResp) GetErrMsg() string
- func (x *GetFriendListResp) GetFriendInfoList() []*sdk_ws.FriendInfo
- func (*GetFriendListResp) ProtoMessage()
- func (x *GetFriendListResp) ProtoReflect() protoreflect.Message
- func (x *GetFriendListResp) Reset()
- func (x *GetFriendListResp) String() string
- type GetFriendsInfoReq
- type GetSelfApplyListReq
- func (*GetSelfApplyListReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetSelfApplyListReq) GetCommID() *CommID
- func (*GetSelfApplyListReq) ProtoMessage()
- func (x *GetSelfApplyListReq) ProtoReflect() protoreflect.Message
- func (x *GetSelfApplyListReq) Reset()
- func (x *GetSelfApplyListReq) String() string
- type GetSelfApplyListResp
- func (*GetSelfApplyListResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetSelfApplyListResp) GetErrCode() int32
- func (x *GetSelfApplyListResp) GetErrMsg() string
- func (x *GetSelfApplyListResp) GetFriendRequestList() []*sdk_ws.FriendRequest
- func (*GetSelfApplyListResp) ProtoMessage()
- func (x *GetSelfApplyListResp) ProtoReflect() protoreflect.Message
- func (x *GetSelfApplyListResp) Reset()
- func (x *GetSelfApplyListResp) String() string
- type ImportFriendReq
- func (*ImportFriendReq) Descriptor() ([]byte, []int)deprecated
- func (x *ImportFriendReq) GetFriendUserIDList() []string
- func (x *ImportFriendReq) GetFromUserID() string
- func (x *ImportFriendReq) GetOpUserID() string
- func (x *ImportFriendReq) GetOperationID() string
- func (*ImportFriendReq) ProtoMessage()
- func (x *ImportFriendReq) ProtoReflect() protoreflect.Message
- func (x *ImportFriendReq) Reset()
- func (x *ImportFriendReq) String() string
- type ImportFriendResp
- func (*ImportFriendResp) Descriptor() ([]byte, []int)deprecated
- func (x *ImportFriendResp) GetCommonResp() *CommonResp
- func (x *ImportFriendResp) GetUserIDResultList() []*UserIDResult
- func (*ImportFriendResp) ProtoMessage()
- func (x *ImportFriendResp) ProtoReflect() protoreflect.Message
- func (x *ImportFriendResp) Reset()
- func (x *ImportFriendResp) String() string
- type IsFriendReq
- type IsFriendResp
- func (*IsFriendResp) Descriptor() ([]byte, []int)deprecated
- func (x *IsFriendResp) GetErrCode() int32
- func (x *IsFriendResp) GetErrMsg() string
- func (x *IsFriendResp) GetResponse() bool
- func (*IsFriendResp) ProtoMessage()
- func (x *IsFriendResp) ProtoReflect() protoreflect.Message
- func (x *IsFriendResp) Reset()
- func (x *IsFriendResp) String() string
- type IsInBlackListReq
- type IsInBlackListResp
- func (*IsInBlackListResp) Descriptor() ([]byte, []int)deprecated
- func (x *IsInBlackListResp) GetErrCode() int32
- func (x *IsInBlackListResp) GetErrMsg() string
- func (x *IsInBlackListResp) GetResponse() bool
- func (*IsInBlackListResp) ProtoMessage()
- func (x *IsInBlackListResp) ProtoReflect() protoreflect.Message
- func (x *IsInBlackListResp) Reset()
- func (x *IsInBlackListResp) String() string
- type RemoveBlacklistReq
- func (*RemoveBlacklistReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveBlacklistReq) GetCommID() *CommID
- func (*RemoveBlacklistReq) ProtoMessage()
- func (x *RemoveBlacklistReq) ProtoReflect() protoreflect.Message
- func (x *RemoveBlacklistReq) Reset()
- func (x *RemoveBlacklistReq) String() string
- type RemoveBlacklistResp
- func (*RemoveBlacklistResp) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveBlacklistResp) GetCommonResp() *CommonResp
- func (*RemoveBlacklistResp) ProtoMessage()
- func (x *RemoveBlacklistResp) ProtoReflect() protoreflect.Message
- func (x *RemoveBlacklistResp) Reset()
- func (x *RemoveBlacklistResp) String() string
- type SetFriendRemarkReq
- func (*SetFriendRemarkReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetFriendRemarkReq) GetCommID() *CommID
- 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
- func (*SetFriendRemarkResp) Descriptor() ([]byte, []int)deprecated
- func (x *SetFriendRemarkResp) GetCommonResp() *CommonResp
- func (*SetFriendRemarkResp) ProtoMessage()
- func (x *SetFriendRemarkResp) ProtoReflect() protoreflect.Message
- func (x *SetFriendRemarkResp) Reset()
- func (x *SetFriendRemarkResp) String() string
- type UnimplementedFriendServer
- func (*UnimplementedFriendServer) AddBlacklist(context.Context, *AddBlacklistReq) (*AddBlacklistResp, error)
- func (*UnimplementedFriendServer) AddFriend(context.Context, *AddFriendReq) (*AddFriendResp, error)
- func (*UnimplementedFriendServer) AddFriendResponse(context.Context, *AddFriendResponseReq) (*AddFriendResponseResp, error)
- func (*UnimplementedFriendServer) DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error)
- func (*UnimplementedFriendServer) GetBlacklist(context.Context, *GetBlacklistReq) (*GetBlacklistResp, error)
- func (*UnimplementedFriendServer) GetFriendApplyList(context.Context, *GetFriendApplyListReq) (*GetFriendApplyListResp, error)
- func (*UnimplementedFriendServer) GetFriendList(context.Context, *GetFriendListReq) (*GetFriendListResp, error)
- func (*UnimplementedFriendServer) GetSelfApplyList(context.Context, *GetSelfApplyListReq) (*GetSelfApplyListResp, error)
- func (*UnimplementedFriendServer) ImportFriend(context.Context, *ImportFriendReq) (*ImportFriendResp, error)
- func (*UnimplementedFriendServer) IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error)
- func (*UnimplementedFriendServer) IsInBlackList(context.Context, *IsInBlackListReq) (*IsInBlackListResp, error)
- func (*UnimplementedFriendServer) RemoveBlacklist(context.Context, *RemoveBlacklistReq) (*RemoveBlacklistResp, error)
- func (*UnimplementedFriendServer) SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error)
- type UserIDResult
- func (*UserIDResult) Descriptor() ([]byte, []int)deprecated
- func (x *UserIDResult) GetResult() int32
- func (x *UserIDResult) GetUserID() string
- func (*UserIDResult) ProtoMessage()
- func (x *UserIDResult) ProtoReflect() protoreflect.Message
- func (x *UserIDResult) Reset()
- func (x *UserIDResult) String() string
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 AddBlacklistReq ¶
type AddBlacklistReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` // contains filtered or unexported fields }
func (*AddBlacklistReq) Descriptor
deprecated
func (*AddBlacklistReq) Descriptor() ([]byte, []int)
Deprecated: Use AddBlacklistReq.ProtoReflect.Descriptor instead.
func (*AddBlacklistReq) GetCommID ¶
func (x *AddBlacklistReq) GetCommID() *CommID
func (*AddBlacklistReq) ProtoMessage ¶
func (*AddBlacklistReq) ProtoMessage()
func (*AddBlacklistReq) ProtoReflect ¶
func (x *AddBlacklistReq) ProtoReflect() protoreflect.Message
func (*AddBlacklistReq) Reset ¶
func (x *AddBlacklistReq) Reset()
func (*AddBlacklistReq) String ¶
func (x *AddBlacklistReq) String() string
type AddBlacklistResp ¶
type AddBlacklistResp struct { CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` // contains filtered or unexported fields }
func (*AddBlacklistResp) Descriptor
deprecated
func (*AddBlacklistResp) Descriptor() ([]byte, []int)
Deprecated: Use AddBlacklistResp.ProtoReflect.Descriptor instead.
func (*AddBlacklistResp) GetCommonResp ¶
func (x *AddBlacklistResp) GetCommonResp() *CommonResp
func (*AddBlacklistResp) ProtoMessage ¶
func (*AddBlacklistResp) ProtoMessage()
func (*AddBlacklistResp) ProtoReflect ¶
func (x *AddBlacklistResp) ProtoReflect() protoreflect.Message
func (*AddBlacklistResp) Reset ¶
func (x *AddBlacklistResp) Reset()
func (*AddBlacklistResp) String ¶
func (x *AddBlacklistResp) String() string
type AddFriendReq ¶
type AddFriendReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` ReqMsg string `protobuf:"bytes,2,opt,name=ReqMsg,proto3" json:"ReqMsg,omitempty"` // contains filtered or unexported fields }
func (*AddFriendReq) Descriptor
deprecated
func (*AddFriendReq) Descriptor() ([]byte, []int)
Deprecated: Use AddFriendReq.ProtoReflect.Descriptor instead.
func (*AddFriendReq) GetCommID ¶
func (x *AddFriendReq) GetCommID() *CommID
func (*AddFriendReq) GetReqMsg ¶
func (x *AddFriendReq) GetReqMsg() string
func (*AddFriendReq) ProtoMessage ¶
func (*AddFriendReq) ProtoMessage()
func (*AddFriendReq) ProtoReflect ¶
func (x *AddFriendReq) ProtoReflect() protoreflect.Message
func (*AddFriendReq) Reset ¶
func (x *AddFriendReq) Reset()
func (*AddFriendReq) String ¶
func (x *AddFriendReq) String() string
type AddFriendResp ¶
type AddFriendResp struct { CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` // contains filtered or unexported fields }
func (*AddFriendResp) Descriptor
deprecated
func (*AddFriendResp) Descriptor() ([]byte, []int)
Deprecated: Use AddFriendResp.ProtoReflect.Descriptor instead.
func (*AddFriendResp) GetCommonResp ¶
func (x *AddFriendResp) GetCommonResp() *CommonResp
func (*AddFriendResp) ProtoMessage ¶
func (*AddFriendResp) ProtoMessage()
func (*AddFriendResp) ProtoReflect ¶
func (x *AddFriendResp) ProtoReflect() protoreflect.Message
func (*AddFriendResp) Reset ¶
func (x *AddFriendResp) Reset()
func (*AddFriendResp) String ¶
func (x *AddFriendResp) String() string
type AddFriendResponseReq ¶
type AddFriendResponseReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` HandleResult int32 `protobuf:"varint,2,opt,name=handleResult,proto3" json:"handleResult,omitempty"` HandleMsg string `protobuf:"bytes,3,opt,name=handleMsg,proto3" json:"handleMsg,omitempty"` // contains filtered or unexported fields }
process
func (*AddFriendResponseReq) Descriptor
deprecated
func (*AddFriendResponseReq) Descriptor() ([]byte, []int)
Deprecated: Use AddFriendResponseReq.ProtoReflect.Descriptor instead.
func (*AddFriendResponseReq) GetCommID ¶
func (x *AddFriendResponseReq) GetCommID() *CommID
func (*AddFriendResponseReq) GetHandleMsg ¶
func (x *AddFriendResponseReq) GetHandleMsg() string
func (*AddFriendResponseReq) GetHandleResult ¶
func (x *AddFriendResponseReq) GetHandleResult() int32
func (*AddFriendResponseReq) ProtoMessage ¶
func (*AddFriendResponseReq) ProtoMessage()
func (*AddFriendResponseReq) ProtoReflect ¶
func (x *AddFriendResponseReq) ProtoReflect() protoreflect.Message
func (*AddFriendResponseReq) Reset ¶
func (x *AddFriendResponseReq) Reset()
func (*AddFriendResponseReq) String ¶
func (x *AddFriendResponseReq) String() string
type AddFriendResponseResp ¶
type AddFriendResponseResp struct { CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` // contains filtered or unexported fields }
func (*AddFriendResponseResp) Descriptor
deprecated
func (*AddFriendResponseResp) Descriptor() ([]byte, []int)
Deprecated: Use AddFriendResponseResp.ProtoReflect.Descriptor instead.
func (*AddFriendResponseResp) GetCommonResp ¶
func (x *AddFriendResponseResp) GetCommonResp() *CommonResp
func (*AddFriendResponseResp) ProtoMessage ¶
func (*AddFriendResponseResp) ProtoMessage()
func (*AddFriendResponseResp) ProtoReflect ¶
func (x *AddFriendResponseResp) ProtoReflect() protoreflect.Message
func (*AddFriendResponseResp) Reset ¶
func (x *AddFriendResponseResp) Reset()
func (*AddFriendResponseResp) String ¶
func (x *AddFriendResponseResp) String() string
type CommID ¶
type CommID struct { OpUserID string `protobuf:"bytes,1,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"` ToUserID string `protobuf:"bytes,4,opt,name=ToUserID,proto3" json:"ToUserID,omitempty"` FromUserID string `protobuf:"bytes,5,opt,name=FromUserID,proto3" json:"FromUserID,omitempty"` // contains filtered or unexported fields }
func (*CommID) Descriptor
deprecated
func (*CommID) GetFromUserID ¶
func (*CommID) GetOpUserID ¶
func (*CommID) GetOperationID ¶
func (*CommID) GetToUserID ¶
func (*CommID) ProtoMessage ¶
func (*CommID) ProtoMessage()
func (*CommID) ProtoReflect ¶
func (x *CommID) ProtoReflect() protoreflect.Message
type CommonResp ¶
type CommonResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*CommonResp) Descriptor
deprecated
func (*CommonResp) Descriptor() ([]byte, []int)
Deprecated: Use CommonResp.ProtoReflect.Descriptor instead.
func (*CommonResp) GetErrCode ¶
func (x *CommonResp) GetErrCode() int32
func (*CommonResp) GetErrMsg ¶
func (x *CommonResp) GetErrMsg() string
func (*CommonResp) ProtoMessage ¶
func (*CommonResp) ProtoMessage()
func (*CommonResp) ProtoReflect ¶
func (x *CommonResp) ProtoReflect() protoreflect.Message
func (*CommonResp) Reset ¶
func (x *CommonResp) Reset()
func (*CommonResp) String ¶
func (x *CommonResp) String() string
type DeleteFriendReq ¶
type DeleteFriendReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` // contains filtered or unexported fields }
func (*DeleteFriendReq) Descriptor
deprecated
func (*DeleteFriendReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFriendReq.ProtoReflect.Descriptor instead.
func (*DeleteFriendReq) GetCommID ¶
func (x *DeleteFriendReq) GetCommID() *CommID
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 { CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` // contains filtered or unexported fields }
func (*DeleteFriendResp) Descriptor
deprecated
func (*DeleteFriendResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFriendResp.ProtoReflect.Descriptor instead.
func (*DeleteFriendResp) GetCommonResp ¶
func (x *DeleteFriendResp) GetCommonResp() *CommonResp
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 { // rpc getFriendsInfo(GetFriendsInfoReq) returns(GetFriendInfoResp); AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*AddFriendResp, error) GetFriendApplyList(ctx context.Context, in *GetFriendApplyListReq, opts ...grpc.CallOption) (*GetFriendApplyListResp, error) GetSelfApplyList(ctx context.Context, in *GetSelfApplyListReq, opts ...grpc.CallOption) (*GetSelfApplyListResp, error) GetFriendList(ctx context.Context, in *GetFriendListReq, opts ...grpc.CallOption) (*GetFriendListResp, error) AddBlacklist(ctx context.Context, in *AddBlacklistReq, opts ...grpc.CallOption) (*AddBlacklistResp, error) RemoveBlacklist(ctx context.Context, in *RemoveBlacklistReq, opts ...grpc.CallOption) (*RemoveBlacklistResp, error) IsFriend(ctx context.Context, in *IsFriendReq, opts ...grpc.CallOption) (*IsFriendResp, error) IsInBlackList(ctx context.Context, in *IsInBlackListReq, opts ...grpc.CallOption) (*IsInBlackListResp, error) GetBlacklist(ctx context.Context, in *GetBlacklistReq, opts ...grpc.CallOption) (*GetBlacklistResp, error) DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*DeleteFriendResp, error) AddFriendResponse(ctx context.Context, in *AddFriendResponseReq, opts ...grpc.CallOption) (*AddFriendResponseResp, error) SetFriendRemark(ctx context.Context, in *SetFriendRemarkReq, opts ...grpc.CallOption) (*SetFriendRemarkResp, error) ImportFriend(ctx context.Context, in *ImportFriendReq, opts ...grpc.CallOption) (*ImportFriendResp, 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 { // rpc getFriendsInfo(GetFriendsInfoReq) returns(GetFriendInfoResp); AddFriend(context.Context, *AddFriendReq) (*AddFriendResp, error) GetFriendApplyList(context.Context, *GetFriendApplyListReq) (*GetFriendApplyListResp, error) GetSelfApplyList(context.Context, *GetSelfApplyListReq) (*GetSelfApplyListResp, error) GetFriendList(context.Context, *GetFriendListReq) (*GetFriendListResp, error) AddBlacklist(context.Context, *AddBlacklistReq) (*AddBlacklistResp, error) RemoveBlacklist(context.Context, *RemoveBlacklistReq) (*RemoveBlacklistResp, error) IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error) IsInBlackList(context.Context, *IsInBlackListReq) (*IsInBlackListResp, error) GetBlacklist(context.Context, *GetBlacklistReq) (*GetBlacklistResp, error) DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error) AddFriendResponse(context.Context, *AddFriendResponseReq) (*AddFriendResponseResp, error) SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error) ImportFriend(context.Context, *ImportFriendReq) (*ImportFriendResp, error) }
FriendServer is the server API for Friend service.
type GetBlacklistReq ¶
type GetBlacklistReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` // contains filtered or unexported fields }
func (*GetBlacklistReq) Descriptor
deprecated
func (*GetBlacklistReq) Descriptor() ([]byte, []int)
Deprecated: Use GetBlacklistReq.ProtoReflect.Descriptor instead.
func (*GetBlacklistReq) GetCommID ¶
func (x *GetBlacklistReq) GetCommID() *CommID
func (*GetBlacklistReq) ProtoMessage ¶
func (*GetBlacklistReq) ProtoMessage()
func (*GetBlacklistReq) ProtoReflect ¶
func (x *GetBlacklistReq) ProtoReflect() protoreflect.Message
func (*GetBlacklistReq) Reset ¶
func (x *GetBlacklistReq) Reset()
func (*GetBlacklistReq) String ¶
func (x *GetBlacklistReq) String() string
type GetBlacklistResp ¶
type GetBlacklistResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` BlackUserInfoList []*sdk_ws.PublicUserInfo `protobuf:"bytes,3,rep,name=BlackUserInfoList,proto3" json:"BlackUserInfoList,omitempty"` // contains filtered or unexported fields }
func (*GetBlacklistResp) Descriptor
deprecated
func (*GetBlacklistResp) Descriptor() ([]byte, []int)
Deprecated: Use GetBlacklistResp.ProtoReflect.Descriptor instead.
func (*GetBlacklistResp) GetBlackUserInfoList ¶
func (x *GetBlacklistResp) GetBlackUserInfoList() []*sdk_ws.PublicUserInfo
func (*GetBlacklistResp) GetErrCode ¶
func (x *GetBlacklistResp) GetErrCode() int32
func (*GetBlacklistResp) GetErrMsg ¶
func (x *GetBlacklistResp) GetErrMsg() string
func (*GetBlacklistResp) ProtoMessage ¶
func (*GetBlacklistResp) ProtoMessage()
func (*GetBlacklistResp) ProtoReflect ¶
func (x *GetBlacklistResp) ProtoReflect() protoreflect.Message
func (*GetBlacklistResp) Reset ¶
func (x *GetBlacklistResp) Reset()
func (*GetBlacklistResp) String ¶
func (x *GetBlacklistResp) String() string
type GetFriendApplyListReq ¶
type GetFriendApplyListReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` // contains filtered or unexported fields }
func (*GetFriendApplyListReq) Descriptor
deprecated
func (*GetFriendApplyListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendApplyListReq.ProtoReflect.Descriptor instead.
func (*GetFriendApplyListReq) GetCommID ¶
func (x *GetFriendApplyListReq) GetCommID() *CommID
func (*GetFriendApplyListReq) ProtoMessage ¶
func (*GetFriendApplyListReq) ProtoMessage()
func (*GetFriendApplyListReq) ProtoReflect ¶
func (x *GetFriendApplyListReq) ProtoReflect() protoreflect.Message
func (*GetFriendApplyListReq) Reset ¶
func (x *GetFriendApplyListReq) Reset()
func (*GetFriendApplyListReq) String ¶
func (x *GetFriendApplyListReq) String() string
type GetFriendApplyListResp ¶
type GetFriendApplyListResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` FriendRequestList []*sdk_ws.FriendRequest `protobuf:"bytes,3,rep,name=FriendRequestList,proto3" json:"FriendRequestList,omitempty"` // contains filtered or unexported fields }
func (*GetFriendApplyListResp) Descriptor
deprecated
func (*GetFriendApplyListResp) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendApplyListResp.ProtoReflect.Descriptor instead.
func (*GetFriendApplyListResp) GetErrCode ¶
func (x *GetFriendApplyListResp) GetErrCode() int32
func (*GetFriendApplyListResp) GetErrMsg ¶
func (x *GetFriendApplyListResp) GetErrMsg() string
func (*GetFriendApplyListResp) GetFriendRequestList ¶
func (x *GetFriendApplyListResp) GetFriendRequestList() []*sdk_ws.FriendRequest
func (*GetFriendApplyListResp) ProtoMessage ¶
func (*GetFriendApplyListResp) ProtoMessage()
func (*GetFriendApplyListResp) ProtoReflect ¶
func (x *GetFriendApplyListResp) ProtoReflect() protoreflect.Message
func (*GetFriendApplyListResp) Reset ¶
func (x *GetFriendApplyListResp) Reset()
func (*GetFriendApplyListResp) String ¶
func (x *GetFriendApplyListResp) String() string
type GetFriendInfoResp ¶
type GetFriendInfoResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` FriendInfoList []*sdk_ws.FriendInfo `protobuf:"bytes,3,rep,name=FriendInfoList,proto3" json:"FriendInfoList,omitempty"` // int32 IsBlack = 4; // contains filtered or unexported fields }
func (*GetFriendInfoResp) Descriptor
deprecated
func (*GetFriendInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendInfoResp.ProtoReflect.Descriptor instead.
func (*GetFriendInfoResp) GetErrCode ¶
func (x *GetFriendInfoResp) GetErrCode() int32
func (*GetFriendInfoResp) GetErrMsg ¶
func (x *GetFriendInfoResp) GetErrMsg() string
func (*GetFriendInfoResp) GetFriendInfoList ¶
func (x *GetFriendInfoResp) GetFriendInfoList() []*sdk_ws.FriendInfo
func (*GetFriendInfoResp) ProtoMessage ¶
func (*GetFriendInfoResp) ProtoMessage()
func (*GetFriendInfoResp) ProtoReflect ¶
func (x *GetFriendInfoResp) ProtoReflect() protoreflect.Message
func (*GetFriendInfoResp) Reset ¶
func (x *GetFriendInfoResp) Reset()
func (*GetFriendInfoResp) String ¶
func (x *GetFriendInfoResp) String() string
type GetFriendListReq ¶
type GetFriendListReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` // contains filtered or unexported fields }
func (*GetFriendListReq) Descriptor
deprecated
func (*GetFriendListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendListReq.ProtoReflect.Descriptor instead.
func (*GetFriendListReq) GetCommID ¶
func (x *GetFriendListReq) GetCommID() *CommID
func (*GetFriendListReq) ProtoMessage ¶
func (*GetFriendListReq) ProtoMessage()
func (*GetFriendListReq) ProtoReflect ¶
func (x *GetFriendListReq) ProtoReflect() protoreflect.Message
func (*GetFriendListReq) Reset ¶
func (x *GetFriendListReq) Reset()
func (*GetFriendListReq) String ¶
func (x *GetFriendListReq) String() string
type GetFriendListResp ¶
type GetFriendListResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` FriendInfoList []*sdk_ws.FriendInfo `protobuf:"bytes,3,rep,name=FriendInfoList,proto3" json:"FriendInfoList,omitempty"` // contains filtered or unexported fields }
func (*GetFriendListResp) Descriptor
deprecated
func (*GetFriendListResp) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendListResp.ProtoReflect.Descriptor instead.
func (*GetFriendListResp) GetErrCode ¶
func (x *GetFriendListResp) GetErrCode() int32
func (*GetFriendListResp) GetErrMsg ¶
func (x *GetFriendListResp) GetErrMsg() string
func (*GetFriendListResp) GetFriendInfoList ¶
func (x *GetFriendListResp) GetFriendInfoList() []*sdk_ws.FriendInfo
func (*GetFriendListResp) ProtoMessage ¶
func (*GetFriendListResp) ProtoMessage()
func (*GetFriendListResp) ProtoReflect ¶
func (x *GetFriendListResp) ProtoReflect() protoreflect.Message
func (*GetFriendListResp) Reset ¶
func (x *GetFriendListResp) Reset()
func (*GetFriendListResp) String ¶
func (x *GetFriendListResp) String() string
type GetFriendsInfoReq ¶
type GetFriendsInfoReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` // contains filtered or unexported fields }
func (*GetFriendsInfoReq) Descriptor
deprecated
func (*GetFriendsInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendsInfoReq.ProtoReflect.Descriptor instead.
func (*GetFriendsInfoReq) GetCommID ¶
func (x *GetFriendsInfoReq) GetCommID() *CommID
func (*GetFriendsInfoReq) ProtoMessage ¶
func (*GetFriendsInfoReq) ProtoMessage()
func (*GetFriendsInfoReq) ProtoReflect ¶
func (x *GetFriendsInfoReq) ProtoReflect() protoreflect.Message
func (*GetFriendsInfoReq) Reset ¶
func (x *GetFriendsInfoReq) Reset()
func (*GetFriendsInfoReq) String ¶
func (x *GetFriendsInfoReq) String() string
type GetSelfApplyListReq ¶
type GetSelfApplyListReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` // contains filtered or unexported fields }
func (*GetSelfApplyListReq) Descriptor
deprecated
func (*GetSelfApplyListReq) Descriptor() ([]byte, []int)
Deprecated: Use GetSelfApplyListReq.ProtoReflect.Descriptor instead.
func (*GetSelfApplyListReq) GetCommID ¶
func (x *GetSelfApplyListReq) GetCommID() *CommID
func (*GetSelfApplyListReq) ProtoMessage ¶
func (*GetSelfApplyListReq) ProtoMessage()
func (*GetSelfApplyListReq) ProtoReflect ¶
func (x *GetSelfApplyListReq) ProtoReflect() protoreflect.Message
func (*GetSelfApplyListReq) Reset ¶
func (x *GetSelfApplyListReq) Reset()
func (*GetSelfApplyListReq) String ¶
func (x *GetSelfApplyListReq) String() string
type GetSelfApplyListResp ¶
type GetSelfApplyListResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` FriendRequestList []*sdk_ws.FriendRequest `protobuf:"bytes,3,rep,name=FriendRequestList,proto3" json:"FriendRequestList,omitempty"` // contains filtered or unexported fields }
func (*GetSelfApplyListResp) Descriptor
deprecated
func (*GetSelfApplyListResp) Descriptor() ([]byte, []int)
Deprecated: Use GetSelfApplyListResp.ProtoReflect.Descriptor instead.
func (*GetSelfApplyListResp) GetErrCode ¶
func (x *GetSelfApplyListResp) GetErrCode() int32
func (*GetSelfApplyListResp) GetErrMsg ¶
func (x *GetSelfApplyListResp) GetErrMsg() string
func (*GetSelfApplyListResp) GetFriendRequestList ¶
func (x *GetSelfApplyListResp) GetFriendRequestList() []*sdk_ws.FriendRequest
func (*GetSelfApplyListResp) ProtoMessage ¶
func (*GetSelfApplyListResp) ProtoMessage()
func (*GetSelfApplyListResp) ProtoReflect ¶
func (x *GetSelfApplyListResp) ProtoReflect() protoreflect.Message
func (*GetSelfApplyListResp) Reset ¶
func (x *GetSelfApplyListResp) Reset()
func (*GetSelfApplyListResp) String ¶
func (x *GetSelfApplyListResp) String() string
type ImportFriendReq ¶
type ImportFriendReq struct { FriendUserIDList []string `protobuf:"bytes,1,rep,name=FriendUserIDList,proto3" json:"FriendUserIDList,omitempty"` OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"` FromUserID string `protobuf:"bytes,3,opt,name=FromUserID,proto3" json:"FromUserID,omitempty"` OpUserID string `protobuf:"bytes,4,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` // contains filtered or unexported fields }
func (*ImportFriendReq) Descriptor
deprecated
func (*ImportFriendReq) Descriptor() ([]byte, []int)
Deprecated: Use ImportFriendReq.ProtoReflect.Descriptor instead.
func (*ImportFriendReq) GetFriendUserIDList ¶
func (x *ImportFriendReq) GetFriendUserIDList() []string
func (*ImportFriendReq) GetFromUserID ¶
func (x *ImportFriendReq) GetFromUserID() string
func (*ImportFriendReq) GetOpUserID ¶
func (x *ImportFriendReq) GetOpUserID() string
func (*ImportFriendReq) GetOperationID ¶
func (x *ImportFriendReq) GetOperationID() 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 { CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` UserIDResultList []*UserIDResult `protobuf:"bytes,2,rep,name=UserIDResultList,proto3" json:"UserIDResultList,omitempty"` // contains filtered or unexported fields }
func (*ImportFriendResp) Descriptor
deprecated
func (*ImportFriendResp) Descriptor() ([]byte, []int)
Deprecated: Use ImportFriendResp.ProtoReflect.Descriptor instead.
func (*ImportFriendResp) GetCommonResp ¶
func (x *ImportFriendResp) GetCommonResp() *CommonResp
func (*ImportFriendResp) GetUserIDResultList ¶
func (x *ImportFriendResp) GetUserIDResultList() []*UserIDResult
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 IsFriendReq ¶
type IsFriendReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` // contains filtered or unexported fields }
func (*IsFriendReq) Descriptor
deprecated
func (*IsFriendReq) Descriptor() ([]byte, []int)
Deprecated: Use IsFriendReq.ProtoReflect.Descriptor instead.
func (*IsFriendReq) GetCommID ¶
func (x *IsFriendReq) GetCommID() *CommID
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 { ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` Response bool `protobuf:"varint,3,opt,name=Response,proto3" json:"Response,omitempty"` // contains filtered or unexported fields }
func (*IsFriendResp) Descriptor
deprecated
func (*IsFriendResp) Descriptor() ([]byte, []int)
Deprecated: Use IsFriendResp.ProtoReflect.Descriptor instead.
func (*IsFriendResp) GetErrCode ¶
func (x *IsFriendResp) GetErrCode() int32
func (*IsFriendResp) GetErrMsg ¶
func (x *IsFriendResp) GetErrMsg() string
func (*IsFriendResp) GetResponse ¶
func (x *IsFriendResp) GetResponse() 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 IsInBlackListReq ¶
type IsInBlackListReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` // contains filtered or unexported fields }
func (*IsInBlackListReq) Descriptor
deprecated
func (*IsInBlackListReq) Descriptor() ([]byte, []int)
Deprecated: Use IsInBlackListReq.ProtoReflect.Descriptor instead.
func (*IsInBlackListReq) GetCommID ¶
func (x *IsInBlackListReq) GetCommID() *CommID
func (*IsInBlackListReq) ProtoMessage ¶
func (*IsInBlackListReq) ProtoMessage()
func (*IsInBlackListReq) ProtoReflect ¶
func (x *IsInBlackListReq) ProtoReflect() protoreflect.Message
func (*IsInBlackListReq) Reset ¶
func (x *IsInBlackListReq) Reset()
func (*IsInBlackListReq) String ¶
func (x *IsInBlackListReq) String() string
type IsInBlackListResp ¶
type IsInBlackListResp struct { ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"` Response bool `protobuf:"varint,3,opt,name=Response,proto3" json:"Response,omitempty"` // contains filtered or unexported fields }
func (*IsInBlackListResp) Descriptor
deprecated
func (*IsInBlackListResp) Descriptor() ([]byte, []int)
Deprecated: Use IsInBlackListResp.ProtoReflect.Descriptor instead.
func (*IsInBlackListResp) GetErrCode ¶
func (x *IsInBlackListResp) GetErrCode() int32
func (*IsInBlackListResp) GetErrMsg ¶
func (x *IsInBlackListResp) GetErrMsg() string
func (*IsInBlackListResp) GetResponse ¶
func (x *IsInBlackListResp) GetResponse() bool
func (*IsInBlackListResp) ProtoMessage ¶
func (*IsInBlackListResp) ProtoMessage()
func (*IsInBlackListResp) ProtoReflect ¶
func (x *IsInBlackListResp) ProtoReflect() protoreflect.Message
func (*IsInBlackListResp) Reset ¶
func (x *IsInBlackListResp) Reset()
func (*IsInBlackListResp) String ¶
func (x *IsInBlackListResp) String() string
type RemoveBlacklistReq ¶
type RemoveBlacklistReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` // contains filtered or unexported fields }
func (*RemoveBlacklistReq) Descriptor
deprecated
func (*RemoveBlacklistReq) Descriptor() ([]byte, []int)
Deprecated: Use RemoveBlacklistReq.ProtoReflect.Descriptor instead.
func (*RemoveBlacklistReq) GetCommID ¶
func (x *RemoveBlacklistReq) GetCommID() *CommID
func (*RemoveBlacklistReq) ProtoMessage ¶
func (*RemoveBlacklistReq) ProtoMessage()
func (*RemoveBlacklistReq) ProtoReflect ¶
func (x *RemoveBlacklistReq) ProtoReflect() protoreflect.Message
func (*RemoveBlacklistReq) Reset ¶
func (x *RemoveBlacklistReq) Reset()
func (*RemoveBlacklistReq) String ¶
func (x *RemoveBlacklistReq) String() string
type RemoveBlacklistResp ¶
type RemoveBlacklistResp struct { CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` // contains filtered or unexported fields }
func (*RemoveBlacklistResp) Descriptor
deprecated
func (*RemoveBlacklistResp) Descriptor() ([]byte, []int)
Deprecated: Use RemoveBlacklistResp.ProtoReflect.Descriptor instead.
func (*RemoveBlacklistResp) GetCommonResp ¶
func (x *RemoveBlacklistResp) GetCommonResp() *CommonResp
func (*RemoveBlacklistResp) ProtoMessage ¶
func (*RemoveBlacklistResp) ProtoMessage()
func (*RemoveBlacklistResp) ProtoReflect ¶
func (x *RemoveBlacklistResp) ProtoReflect() protoreflect.Message
func (*RemoveBlacklistResp) Reset ¶
func (x *RemoveBlacklistResp) Reset()
func (*RemoveBlacklistResp) String ¶
func (x *RemoveBlacklistResp) String() string
type SetFriendRemarkReq ¶
type SetFriendRemarkReq struct { CommID *CommID `protobuf:"bytes,1,opt,name=CommID,proto3" json:"CommID,omitempty"` Remark string `protobuf:"bytes,2,opt,name=Remark,proto3" json:"Remark,omitempty"` // contains filtered or unexported fields }
func (*SetFriendRemarkReq) Descriptor
deprecated
func (*SetFriendRemarkReq) Descriptor() ([]byte, []int)
Deprecated: Use SetFriendRemarkReq.ProtoReflect.Descriptor instead.
func (*SetFriendRemarkReq) GetCommID ¶
func (x *SetFriendRemarkReq) GetCommID() *CommID
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 { CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"` // contains filtered or unexported fields }
func (*SetFriendRemarkResp) Descriptor
deprecated
func (*SetFriendRemarkResp) Descriptor() ([]byte, []int)
Deprecated: Use SetFriendRemarkResp.ProtoReflect.Descriptor instead.
func (*SetFriendRemarkResp) GetCommonResp ¶
func (x *SetFriendRemarkResp) GetCommonResp() *CommonResp
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) AddBlacklist ¶
func (*UnimplementedFriendServer) AddBlacklist(context.Context, *AddBlacklistReq) (*AddBlacklistResp, error)
func (*UnimplementedFriendServer) AddFriend ¶
func (*UnimplementedFriendServer) AddFriend(context.Context, *AddFriendReq) (*AddFriendResp, error)
func (*UnimplementedFriendServer) AddFriendResponse ¶
func (*UnimplementedFriendServer) AddFriendResponse(context.Context, *AddFriendResponseReq) (*AddFriendResponseResp, error)
func (*UnimplementedFriendServer) DeleteFriend ¶
func (*UnimplementedFriendServer) DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error)
func (*UnimplementedFriendServer) GetBlacklist ¶
func (*UnimplementedFriendServer) GetBlacklist(context.Context, *GetBlacklistReq) (*GetBlacklistResp, error)
func (*UnimplementedFriendServer) GetFriendApplyList ¶
func (*UnimplementedFriendServer) GetFriendApplyList(context.Context, *GetFriendApplyListReq) (*GetFriendApplyListResp, error)
func (*UnimplementedFriendServer) GetFriendList ¶
func (*UnimplementedFriendServer) GetFriendList(context.Context, *GetFriendListReq) (*GetFriendListResp, error)
func (*UnimplementedFriendServer) GetSelfApplyList ¶
func (*UnimplementedFriendServer) GetSelfApplyList(context.Context, *GetSelfApplyListReq) (*GetSelfApplyListResp, error)
func (*UnimplementedFriendServer) ImportFriend ¶
func (*UnimplementedFriendServer) ImportFriend(context.Context, *ImportFriendReq) (*ImportFriendResp, error)
func (*UnimplementedFriendServer) IsFriend ¶
func (*UnimplementedFriendServer) IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error)
func (*UnimplementedFriendServer) IsInBlackList ¶
func (*UnimplementedFriendServer) IsInBlackList(context.Context, *IsInBlackListReq) (*IsInBlackListResp, error)
func (*UnimplementedFriendServer) RemoveBlacklist ¶
func (*UnimplementedFriendServer) RemoveBlacklist(context.Context, *RemoveBlacklistReq) (*RemoveBlacklistResp, error)
func (*UnimplementedFriendServer) SetFriendRemark ¶
func (*UnimplementedFriendServer) SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error)
type UserIDResult ¶
type UserIDResult struct { UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID,omitempty"` Result int32 `protobuf:"varint,2,opt,name=Result,proto3" json:"Result,omitempty"` // contains filtered or unexported fields }
func (*UserIDResult) Descriptor
deprecated
func (*UserIDResult) Descriptor() ([]byte, []int)
Deprecated: Use UserIDResult.ProtoReflect.Descriptor instead.
func (*UserIDResult) GetResult ¶
func (x *UserIDResult) GetResult() int32
func (*UserIDResult) GetUserID ¶
func (x *UserIDResult) GetUserID() string
func (*UserIDResult) ProtoMessage ¶
func (*UserIDResult) ProtoMessage()
func (*UserIDResult) ProtoReflect ¶
func (x *UserIDResult) ProtoReflect() protoreflect.Message
func (*UserIDResult) Reset ¶
func (x *UserIDResult) Reset()
func (*UserIDResult) String ¶
func (x *UserIDResult) String() string