Documentation ¶
Index ¶
- Variables
- type RelationActionReq
- func (*RelationActionReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelationActionReq) GetActionType() RelationActionType
- func (x *RelationActionReq) GetToUserId() int64
- func (x *RelationActionReq) GetToken() string
- func (*RelationActionReq) ProtoMessage()
- func (x *RelationActionReq) ProtoReflect() protoreflect.Message
- func (x *RelationActionReq) Reset()
- func (x *RelationActionReq) String() string
- type RelationActionResp
- func (*RelationActionResp) Descriptor() ([]byte, []int)deprecated
- func (x *RelationActionResp) GetStatusCode() int32
- func (x *RelationActionResp) GetStatusMsg() string
- func (*RelationActionResp) ProtoMessage()
- func (x *RelationActionResp) ProtoReflect() protoreflect.Message
- func (x *RelationActionResp) Reset()
- func (x *RelationActionResp) String() string
- type RelationActionType
- func (RelationActionType) Descriptor() protoreflect.EnumDescriptor
- func (x RelationActionType) Enum() *RelationActionType
- func (RelationActionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelationActionType) Number() protoreflect.EnumNumber
- func (x RelationActionType) String() string
- func (RelationActionType) Type() protoreflect.EnumType
- func (x *RelationActionType) UnmarshalJSON(b []byte) errordeprecated
- type RelationFollowListReq
- func (*RelationFollowListReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelationFollowListReq) GetToken() string
- func (x *RelationFollowListReq) GetUserId() int64
- func (*RelationFollowListReq) ProtoMessage()
- func (x *RelationFollowListReq) ProtoReflect() protoreflect.Message
- func (x *RelationFollowListReq) Reset()
- func (x *RelationFollowListReq) String() string
- type RelationFollowListResp
- func (*RelationFollowListResp) Descriptor() ([]byte, []int)deprecated
- func (x *RelationFollowListResp) GetStatusCode() int32
- func (x *RelationFollowListResp) GetStatusMsg() string
- func (x *RelationFollowListResp) GetUserList() []*common.User
- func (*RelationFollowListResp) ProtoMessage()
- func (x *RelationFollowListResp) ProtoReflect() protoreflect.Message
- func (x *RelationFollowListResp) Reset()
- func (x *RelationFollowListResp) String() string
- type RelationFollowerListReq
- func (*RelationFollowerListReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelationFollowerListReq) GetToken() string
- func (x *RelationFollowerListReq) GetUserId() int64
- func (*RelationFollowerListReq) ProtoMessage()
- func (x *RelationFollowerListReq) ProtoReflect() protoreflect.Message
- func (x *RelationFollowerListReq) Reset()
- func (x *RelationFollowerListReq) String() string
- type RelationFollowerListResp
- func (*RelationFollowerListResp) Descriptor() ([]byte, []int)deprecated
- func (x *RelationFollowerListResp) GetStatusCode() int32
- func (x *RelationFollowerListResp) GetStatusMsg() string
- func (x *RelationFollowerListResp) GetUserList() []*common.User
- func (*RelationFollowerListResp) ProtoMessage()
- func (x *RelationFollowerListResp) ProtoReflect() protoreflect.Message
- func (x *RelationFollowerListResp) Reset()
- func (x *RelationFollowerListResp) String() string
- type RelationFriendListReq
- func (*RelationFriendListReq) Descriptor() ([]byte, []int)deprecated
- func (x *RelationFriendListReq) GetToken() string
- func (x *RelationFriendListReq) GetUserId() int64
- func (*RelationFriendListReq) ProtoMessage()
- func (x *RelationFriendListReq) ProtoReflect() protoreflect.Message
- func (x *RelationFriendListReq) Reset()
- func (x *RelationFriendListReq) String() string
- type RelationFriendListResp
- func (*RelationFriendListResp) Descriptor() ([]byte, []int)deprecated
- func (x *RelationFriendListResp) GetStatusCode() int32
- func (x *RelationFriendListResp) GetStatusMsg() string
- func (x *RelationFriendListResp) GetUserList() []*common.User
- func (*RelationFriendListResp) ProtoMessage()
- func (x *RelationFriendListResp) ProtoReflect() protoreflect.Message
- func (x *RelationFriendListResp) Reset()
- func (x *RelationFriendListResp) String() string
Constants ¶
This section is empty.
Variables ¶
var ( RelationActionType_name = map[int32]string{ 0: "_", 1: "FOLLOW", 2: "CANCEL", } RelationActionType_value = map[string]int32{ "_": 0, "FOLLOW": 1, "CANCEL": 2, } )
Enum value maps for RelationActionType.
var File_relation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RelationActionReq ¶
type RelationActionReq struct { Token *string `protobuf:"bytes,1,req,name=token" json:"token,required" form:"token,required" query:"token,required"` // 用户鉴权token ToUserId *int64 `` // 对方用户id /* 135-byte string literal not displayed */ ActionType *RelationActionType `` // 1-关注,2-取消关注 /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RelationActionReq) Descriptor
deprecated
func (*RelationActionReq) Descriptor() ([]byte, []int)
Deprecated: Use RelationActionReq.ProtoReflect.Descriptor instead.
func (*RelationActionReq) GetActionType ¶
func (x *RelationActionReq) GetActionType() RelationActionType
func (*RelationActionReq) GetToUserId ¶
func (x *RelationActionReq) GetToUserId() int64
func (*RelationActionReq) GetToken ¶
func (x *RelationActionReq) GetToken() string
func (*RelationActionReq) ProtoMessage ¶
func (*RelationActionReq) ProtoMessage()
func (*RelationActionReq) ProtoReflect ¶
func (x *RelationActionReq) ProtoReflect() protoreflect.Message
func (*RelationActionReq) Reset ¶
func (x *RelationActionReq) Reset()
func (*RelationActionReq) String ¶
func (x *RelationActionReq) String() string
type RelationActionResp ¶
type RelationActionResp struct { StatusCode *int32 `` // 状态码,0-成功,其他值-失败 /* 141-byte string literal not displayed */ StatusMsg *string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg" json:"status_msg,omitempty" form:"status_msg" query:"status_msg"` // 返回状态描述 // contains filtered or unexported fields }
func (*RelationActionResp) Descriptor
deprecated
func (*RelationActionResp) Descriptor() ([]byte, []int)
Deprecated: Use RelationActionResp.ProtoReflect.Descriptor instead.
func (*RelationActionResp) GetStatusCode ¶
func (x *RelationActionResp) GetStatusCode() int32
func (*RelationActionResp) GetStatusMsg ¶
func (x *RelationActionResp) GetStatusMsg() string
func (*RelationActionResp) ProtoMessage ¶
func (*RelationActionResp) ProtoMessage()
func (*RelationActionResp) ProtoReflect ¶
func (x *RelationActionResp) ProtoReflect() protoreflect.Message
func (*RelationActionResp) Reset ¶
func (x *RelationActionResp) Reset()
func (*RelationActionResp) String ¶
func (x *RelationActionResp) String() string
type RelationActionType ¶
type RelationActionType int32
const ( RelationActionType__ RelationActionType = 0 RelationActionType_FOLLOW RelationActionType = 1 RelationActionType_CANCEL RelationActionType = 2 )
func (RelationActionType) Descriptor ¶
func (RelationActionType) Descriptor() protoreflect.EnumDescriptor
func (RelationActionType) Enum ¶
func (x RelationActionType) Enum() *RelationActionType
func (RelationActionType) EnumDescriptor
deprecated
func (RelationActionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelationActionType.Descriptor instead.
func (RelationActionType) Number ¶
func (x RelationActionType) Number() protoreflect.EnumNumber
func (RelationActionType) String ¶
func (x RelationActionType) String() string
func (RelationActionType) Type ¶
func (RelationActionType) Type() protoreflect.EnumType
func (*RelationActionType) UnmarshalJSON
deprecated
func (x *RelationActionType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type RelationFollowListReq ¶
type RelationFollowListReq struct { UserId *int64 `protobuf:"varint,1,req,name=user_id,json=userId" json:"user_id,required" form:"user_id,required" query:"user_id,required"` // 用户id Token *string `protobuf:"bytes,2,req,name=token" json:"token,required" form:"token,required" query:"token,required"` // 用户鉴权token // contains filtered or unexported fields }
func (*RelationFollowListReq) Descriptor
deprecated
func (*RelationFollowListReq) Descriptor() ([]byte, []int)
Deprecated: Use RelationFollowListReq.ProtoReflect.Descriptor instead.
func (*RelationFollowListReq) GetToken ¶
func (x *RelationFollowListReq) GetToken() string
func (*RelationFollowListReq) GetUserId ¶
func (x *RelationFollowListReq) GetUserId() int64
func (*RelationFollowListReq) ProtoMessage ¶
func (*RelationFollowListReq) ProtoMessage()
func (*RelationFollowListReq) ProtoReflect ¶
func (x *RelationFollowListReq) ProtoReflect() protoreflect.Message
func (*RelationFollowListReq) Reset ¶
func (x *RelationFollowListReq) Reset()
func (*RelationFollowListReq) String ¶
func (x *RelationFollowListReq) String() string
type RelationFollowListResp ¶
type RelationFollowListResp struct { StatusCode *int32 `` // 状态码,0-成功,其他值-失败 /* 141-byte string literal not displayed */ StatusMsg *string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg" json:"status_msg,omitempty" form:"status_msg" query:"status_msg"` // 返回状态描述 UserList []*common.User `protobuf:"bytes,3,rep,name=user_list,json=userList" json:"user_list" form:"user_list" query:"user_list"` // 用户信息列表 // contains filtered or unexported fields }
func (*RelationFollowListResp) Descriptor
deprecated
func (*RelationFollowListResp) Descriptor() ([]byte, []int)
Deprecated: Use RelationFollowListResp.ProtoReflect.Descriptor instead.
func (*RelationFollowListResp) GetStatusCode ¶
func (x *RelationFollowListResp) GetStatusCode() int32
func (*RelationFollowListResp) GetStatusMsg ¶
func (x *RelationFollowListResp) GetStatusMsg() string
func (*RelationFollowListResp) GetUserList ¶
func (x *RelationFollowListResp) GetUserList() []*common.User
func (*RelationFollowListResp) ProtoMessage ¶
func (*RelationFollowListResp) ProtoMessage()
func (*RelationFollowListResp) ProtoReflect ¶
func (x *RelationFollowListResp) ProtoReflect() protoreflect.Message
func (*RelationFollowListResp) Reset ¶
func (x *RelationFollowListResp) Reset()
func (*RelationFollowListResp) String ¶
func (x *RelationFollowListResp) String() string
type RelationFollowerListReq ¶
type RelationFollowerListReq struct { UserId *int64 `protobuf:"varint,1,req,name=user_id,json=userId" json:"user_id,required" form:"user_id,required" query:"user_id,required"` // 用户id Token *string `protobuf:"bytes,2,req,name=token" json:"token,required" form:"token,required" query:"token,required"` // 用户鉴权token // contains filtered or unexported fields }
func (*RelationFollowerListReq) Descriptor
deprecated
func (*RelationFollowerListReq) Descriptor() ([]byte, []int)
Deprecated: Use RelationFollowerListReq.ProtoReflect.Descriptor instead.
func (*RelationFollowerListReq) GetToken ¶
func (x *RelationFollowerListReq) GetToken() string
func (*RelationFollowerListReq) GetUserId ¶
func (x *RelationFollowerListReq) GetUserId() int64
func (*RelationFollowerListReq) ProtoMessage ¶
func (*RelationFollowerListReq) ProtoMessage()
func (*RelationFollowerListReq) ProtoReflect ¶
func (x *RelationFollowerListReq) ProtoReflect() protoreflect.Message
func (*RelationFollowerListReq) Reset ¶
func (x *RelationFollowerListReq) Reset()
func (*RelationFollowerListReq) String ¶
func (x *RelationFollowerListReq) String() string
type RelationFollowerListResp ¶
type RelationFollowerListResp struct { StatusCode *int32 `` // 状态码,0-成功,其他值-失败 /* 141-byte string literal not displayed */ StatusMsg *string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg" json:"status_msg,omitempty" form:"status_msg" query:"status_msg"` // 返回状态描述 UserList []*common.User `protobuf:"bytes,3,rep,name=user_list,json=userList" json:"user_list" form:"user_list" query:"user_list"` // 用户信息列表 // contains filtered or unexported fields }
func (*RelationFollowerListResp) Descriptor
deprecated
func (*RelationFollowerListResp) Descriptor() ([]byte, []int)
Deprecated: Use RelationFollowerListResp.ProtoReflect.Descriptor instead.
func (*RelationFollowerListResp) GetStatusCode ¶
func (x *RelationFollowerListResp) GetStatusCode() int32
func (*RelationFollowerListResp) GetStatusMsg ¶
func (x *RelationFollowerListResp) GetStatusMsg() string
func (*RelationFollowerListResp) GetUserList ¶
func (x *RelationFollowerListResp) GetUserList() []*common.User
func (*RelationFollowerListResp) ProtoMessage ¶
func (*RelationFollowerListResp) ProtoMessage()
func (*RelationFollowerListResp) ProtoReflect ¶
func (x *RelationFollowerListResp) ProtoReflect() protoreflect.Message
func (*RelationFollowerListResp) Reset ¶
func (x *RelationFollowerListResp) Reset()
func (*RelationFollowerListResp) String ¶
func (x *RelationFollowerListResp) String() string
type RelationFriendListReq ¶
type RelationFriendListReq struct { UserId *int64 `protobuf:"varint,1,req,name=user_id,json=userId" json:"user_id,required" form:"user_id,required" query:"user_id,required"` // 用户id Token *string `protobuf:"bytes,2,req,name=token" json:"token,required" form:"token,required" query:"token,required"` // 用户鉴权token // contains filtered or unexported fields }
func (*RelationFriendListReq) Descriptor
deprecated
func (*RelationFriendListReq) Descriptor() ([]byte, []int)
Deprecated: Use RelationFriendListReq.ProtoReflect.Descriptor instead.
func (*RelationFriendListReq) GetToken ¶
func (x *RelationFriendListReq) GetToken() string
func (*RelationFriendListReq) GetUserId ¶
func (x *RelationFriendListReq) GetUserId() int64
func (*RelationFriendListReq) ProtoMessage ¶
func (*RelationFriendListReq) ProtoMessage()
func (*RelationFriendListReq) ProtoReflect ¶
func (x *RelationFriendListReq) ProtoReflect() protoreflect.Message
func (*RelationFriendListReq) Reset ¶
func (x *RelationFriendListReq) Reset()
func (*RelationFriendListReq) String ¶
func (x *RelationFriendListReq) String() string
type RelationFriendListResp ¶
type RelationFriendListResp struct { StatusCode *int32 `` // 状态码,0-成功,其他值-失败 /* 141-byte string literal not displayed */ StatusMsg *string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg" json:"status_msg,omitempty" form:"status_msg" query:"status_msg"` // 返回状态描述 UserList []*common.User `protobuf:"bytes,3,rep,name=user_list,json=userList" json:"user_list" form:"user_list" query:"user_list"` // 用户信息列表 // contains filtered or unexported fields }
func (*RelationFriendListResp) Descriptor
deprecated
func (*RelationFriendListResp) Descriptor() ([]byte, []int)
Deprecated: Use RelationFriendListResp.ProtoReflect.Descriptor instead.
func (*RelationFriendListResp) GetStatusCode ¶
func (x *RelationFriendListResp) GetStatusCode() int32
func (*RelationFriendListResp) GetStatusMsg ¶
func (x *RelationFriendListResp) GetStatusMsg() string
func (*RelationFriendListResp) GetUserList ¶
func (x *RelationFriendListResp) GetUserList() []*common.User
func (*RelationFriendListResp) ProtoMessage ¶
func (*RelationFriendListResp) ProtoMessage()
func (*RelationFriendListResp) ProtoReflect ¶
func (x *RelationFriendListResp) ProtoReflect() protoreflect.Message
func (*RelationFriendListResp) Reset ¶
func (x *RelationFriendListResp) Reset()
func (*RelationFriendListResp) String ¶
func (x *RelationFriendListResp) String() string