Documentation
¶
Index ¶
- Variables
- type FriendItem
- func (*FriendItem) Descriptor() ([]byte, []int)deprecated
- func (x *FriendItem) GetFaceURL() string
- func (x *FriendItem) GetId() string
- func (x *FriendItem) GetNickName() string
- func (*FriendItem) ProtoMessage()
- func (x *FriendItem) ProtoReflect() protoreflect.Message
- func (x *FriendItem) Reset()
- func (x *FriendItem) String() string
- type FriendListReply
- type FriendListReq
- func (*FriendListReq) Descriptor() ([]byte, []int)deprecated
- func (x *FriendListReq) GetChangTime() map[string]int64
- func (x *FriendListReq) GetUserID() string
- func (*FriendListReq) ProtoMessage()
- func (x *FriendListReq) ProtoReflect() protoreflect.Message
- func (x *FriendListReq) Reset()
- func (x *FriendListReq) String() string
- type GroupItem
- func (*GroupItem) Descriptor() ([]byte, []int)deprecated
- func (x *GroupItem) GetFaceURL() string
- func (x *GroupItem) GetId() string
- func (x *GroupItem) GetNickName() string
- func (*GroupItem) ProtoMessage()
- func (x *GroupItem) ProtoReflect() protoreflect.Message
- func (x *GroupItem) Reset()
- func (x *GroupItem) String() string
- type JoinGroupListReply
- func (*JoinGroupListReply) Descriptor() ([]byte, []int)deprecated
- func (x *JoinGroupListReply) GetItems() []*GroupItem
- func (*JoinGroupListReply) ProtoMessage()
- func (x *JoinGroupListReply) ProtoReflect() protoreflect.Message
- func (x *JoinGroupListReply) Reset()
- func (x *JoinGroupListReply) String() string
- type JoinGroupListReq
- func (*JoinGroupListReq) Descriptor() ([]byte, []int)deprecated
- func (x *JoinGroupListReq) GetChangTime() map[string]int64
- func (x *JoinGroupListReq) GetUserID() string
- func (*JoinGroupListReq) ProtoMessage()
- func (x *JoinGroupListReq) ProtoReflect() protoreflect.Message
- func (x *JoinGroupListReq) Reset()
- func (x *JoinGroupListReq) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_common_model_v2_friend_proto protoreflect.FileDescriptor
View Source
var File_common_model_v2_group_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FriendItem ¶
type FriendItem struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id NickName string `protobuf:"bytes,2,opt,name=nickName,proto3" json:"nickName,omitempty"` // 昵称 FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL,omitempty"` // 头像 // contains filtered or unexported fields }
好友列表项
func (*FriendItem) Descriptor
deprecated
func (*FriendItem) Descriptor() ([]byte, []int)
Deprecated: Use FriendItem.ProtoReflect.Descriptor instead.
func (*FriendItem) GetFaceURL ¶
func (x *FriendItem) GetFaceURL() string
func (*FriendItem) GetId ¶
func (x *FriendItem) GetId() string
func (*FriendItem) GetNickName ¶
func (x *FriendItem) GetNickName() string
func (*FriendItem) ProtoMessage ¶
func (*FriendItem) ProtoMessage()
func (*FriendItem) ProtoReflect ¶
func (x *FriendItem) ProtoReflect() protoreflect.Message
func (*FriendItem) Reset ¶
func (x *FriendItem) Reset()
func (*FriendItem) String ¶
func (x *FriendItem) String() string
type FriendListReply ¶
type FriendListReply struct { Items []*FriendItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // 好友列表 // contains filtered or unexported fields }
FriendListReply
func (*FriendListReply) Descriptor
deprecated
func (*FriendListReply) Descriptor() ([]byte, []int)
Deprecated: Use FriendListReply.ProtoReflect.Descriptor instead.
func (*FriendListReply) GetItems ¶
func (x *FriendListReply) GetItems() []*FriendItem
func (*FriendListReply) ProtoMessage ¶
func (*FriendListReply) ProtoMessage()
func (*FriendListReply) ProtoReflect ¶
func (x *FriendListReply) ProtoReflect() protoreflect.Message
func (*FriendListReply) Reset ¶
func (x *FriendListReply) Reset()
func (*FriendListReply) String ¶
func (x *FriendListReply) String() string
type FriendListReq ¶
type FriendListReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` // 用户id ChangTime map[string]int64 `` //好友信息更新时间列表 /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
CreateFriendRequest
func (*FriendListReq) Descriptor
deprecated
func (*FriendListReq) Descriptor() ([]byte, []int)
Deprecated: Use FriendListReq.ProtoReflect.Descriptor instead.
func (*FriendListReq) GetChangTime ¶
func (x *FriendListReq) GetChangTime() map[string]int64
func (*FriendListReq) GetUserID ¶
func (x *FriendListReq) GetUserID() string
func (*FriendListReq) ProtoMessage ¶
func (*FriendListReq) ProtoMessage()
func (*FriendListReq) ProtoReflect ¶
func (x *FriendListReq) ProtoReflect() protoreflect.Message
func (*FriendListReq) Reset ¶
func (x *FriendListReq) Reset()
func (*FriendListReq) String ¶
func (x *FriendListReq) String() string
type GroupItem ¶
type GroupItem struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // 用户id NickName string `protobuf:"bytes,2,opt,name=nickName,proto3" json:"nickName,omitempty"` // 昵称 FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL,omitempty"` // 头像 // contains filtered or unexported fields }
群列表项
func (*GroupItem) Descriptor
deprecated
func (*GroupItem) GetFaceURL ¶
func (*GroupItem) GetNickName ¶
func (*GroupItem) ProtoMessage ¶
func (*GroupItem) ProtoMessage()
func (*GroupItem) ProtoReflect ¶
func (x *GroupItem) ProtoReflect() protoreflect.Message
type JoinGroupListReply ¶
type JoinGroupListReply struct { Items []*GroupItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // 群列表 // contains filtered or unexported fields }
加入群组列表返回
func (*JoinGroupListReply) Descriptor
deprecated
func (*JoinGroupListReply) Descriptor() ([]byte, []int)
Deprecated: Use JoinGroupListReply.ProtoReflect.Descriptor instead.
func (*JoinGroupListReply) GetItems ¶
func (x *JoinGroupListReply) GetItems() []*GroupItem
func (*JoinGroupListReply) ProtoMessage ¶
func (*JoinGroupListReply) ProtoMessage()
func (*JoinGroupListReply) ProtoReflect ¶
func (x *JoinGroupListReply) ProtoReflect() protoreflect.Message
func (*JoinGroupListReply) Reset ¶
func (x *JoinGroupListReply) Reset()
func (*JoinGroupListReply) String ¶
func (x *JoinGroupListReply) String() string
type JoinGroupListReq ¶
type JoinGroupListReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` // 用户id ChangTime map[string]int64 `` //群信息更新时间列表 /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
加入群组列表请求
func (*JoinGroupListReq) Descriptor
deprecated
func (*JoinGroupListReq) Descriptor() ([]byte, []int)
Deprecated: Use JoinGroupListReq.ProtoReflect.Descriptor instead.
func (*JoinGroupListReq) GetChangTime ¶
func (x *JoinGroupListReq) GetChangTime() map[string]int64
func (*JoinGroupListReq) GetUserID ¶
func (x *JoinGroupListReq) GetUserID() string
func (*JoinGroupListReq) ProtoMessage ¶
func (*JoinGroupListReq) ProtoMessage()
func (*JoinGroupListReq) ProtoReflect ¶
func (x *JoinGroupListReq) ProtoReflect() protoreflect.Message
func (*JoinGroupListReq) Reset ¶
func (x *JoinGroupListReq) Reset()
func (*JoinGroupListReq) String ¶
func (x *JoinGroupListReq) String() string
Click to show internal directories.
Click to hide internal directories.