Documentation ¶
Index ¶
- Variables
- type FriendUser
- func (*FriendUser) Descriptor() ([]byte, []int)deprecated
- func (x *FriendUser) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *FriendUser) FastWrite(buf []byte) (offset int)
- func (x *FriendUser) GetAvatar() string
- func (x *FriendUser) GetBackgroundImage() string
- func (x *FriendUser) GetFavoriteCount() int64
- func (x *FriendUser) GetFollowCount() int64
- func (x *FriendUser) GetFollowerCount() int64
- func (x *FriendUser) GetId() int64
- func (x *FriendUser) GetIsFollow() bool
- func (x *FriendUser) GetMessage() string
- func (x *FriendUser) GetMsgType() int64
- func (x *FriendUser) GetName() string
- func (x *FriendUser) GetSignature() string
- func (x *FriendUser) GetTotalFavorited() int64
- func (x *FriendUser) GetWorkCount() int64
- func (*FriendUser) ProtoMessage()
- func (x *FriendUser) ProtoReflect() protoreflect.Message
- func (x *FriendUser) Reset()
- func (x *FriendUser) Size() (n int)
- func (x *FriendUser) String() string
- type RelationActionRequest
- func (*RelationActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RelationActionRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RelationActionRequest) FastWrite(buf []byte) (offset int)
- func (x *RelationActionRequest) GetActionType() int32
- func (x *RelationActionRequest) GetToUserId() int64
- func (x *RelationActionRequest) GetToken() string
- func (*RelationActionRequest) ProtoMessage()
- func (x *RelationActionRequest) ProtoReflect() protoreflect.Message
- func (x *RelationActionRequest) Reset()
- func (x *RelationActionRequest) Size() (n int)
- func (x *RelationActionRequest) String() string
- type RelationActionResponse
- func (*RelationActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RelationActionResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RelationActionResponse) FastWrite(buf []byte) (offset int)
- func (x *RelationActionResponse) GetStatusCode() int32
- func (x *RelationActionResponse) GetStatusMsg() string
- func (*RelationActionResponse) ProtoMessage()
- func (x *RelationActionResponse) ProtoReflect() protoreflect.Message
- func (x *RelationActionResponse) Reset()
- func (x *RelationActionResponse) Size() (n int)
- func (x *RelationActionResponse) String() string
- type RelationFollowListRequest
- func (*RelationFollowListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RelationFollowListRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RelationFollowListRequest) FastWrite(buf []byte) (offset int)
- func (x *RelationFollowListRequest) GetToken() string
- func (x *RelationFollowListRequest) GetUserId() int64
- func (*RelationFollowListRequest) ProtoMessage()
- func (x *RelationFollowListRequest) ProtoReflect() protoreflect.Message
- func (x *RelationFollowListRequest) Reset()
- func (x *RelationFollowListRequest) Size() (n int)
- func (x *RelationFollowListRequest) String() string
- type RelationFollowListResponse
- func (*RelationFollowListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RelationFollowListResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RelationFollowListResponse) FastWrite(buf []byte) (offset int)
- func (x *RelationFollowListResponse) GetStatusCode() int32
- func (x *RelationFollowListResponse) GetStatusMsg() string
- func (x *RelationFollowListResponse) GetUserList() []*user.User
- func (*RelationFollowListResponse) ProtoMessage()
- func (x *RelationFollowListResponse) ProtoReflect() protoreflect.Message
- func (x *RelationFollowListResponse) Reset()
- func (x *RelationFollowListResponse) Size() (n int)
- func (x *RelationFollowListResponse) String() string
- type RelationFollowerListRequest
- func (*RelationFollowerListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RelationFollowerListRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RelationFollowerListRequest) FastWrite(buf []byte) (offset int)
- func (x *RelationFollowerListRequest) GetToken() string
- func (x *RelationFollowerListRequest) GetUserId() int64
- func (*RelationFollowerListRequest) ProtoMessage()
- func (x *RelationFollowerListRequest) ProtoReflect() protoreflect.Message
- func (x *RelationFollowerListRequest) Reset()
- func (x *RelationFollowerListRequest) Size() (n int)
- func (x *RelationFollowerListRequest) String() string
- type RelationFollowerListResponse
- func (*RelationFollowerListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RelationFollowerListResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RelationFollowerListResponse) FastWrite(buf []byte) (offset int)
- func (x *RelationFollowerListResponse) GetStatusCode() int32
- func (x *RelationFollowerListResponse) GetStatusMsg() string
- func (x *RelationFollowerListResponse) GetUserList() []*user.User
- func (*RelationFollowerListResponse) ProtoMessage()
- func (x *RelationFollowerListResponse) ProtoReflect() protoreflect.Message
- func (x *RelationFollowerListResponse) Reset()
- func (x *RelationFollowerListResponse) Size() (n int)
- func (x *RelationFollowerListResponse) String() string
- type RelationFriendListRequest
- func (*RelationFriendListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RelationFriendListRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RelationFriendListRequest) FastWrite(buf []byte) (offset int)
- func (x *RelationFriendListRequest) GetToken() string
- func (x *RelationFriendListRequest) GetUserId() int64
- func (*RelationFriendListRequest) ProtoMessage()
- func (x *RelationFriendListRequest) ProtoReflect() protoreflect.Message
- func (x *RelationFriendListRequest) Reset()
- func (x *RelationFriendListRequest) Size() (n int)
- func (x *RelationFriendListRequest) String() string
- type RelationFriendListResponse
- func (*RelationFriendListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RelationFriendListResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *RelationFriendListResponse) FastWrite(buf []byte) (offset int)
- func (x *RelationFriendListResponse) GetStatusCode() int32
- func (x *RelationFriendListResponse) GetStatusMsg() string
- func (x *RelationFriendListResponse) GetUserList() []*FriendUser
- func (*RelationFriendListResponse) ProtoMessage()
- func (x *RelationFriendListResponse) ProtoReflect() protoreflect.Message
- func (x *RelationFriendListResponse) Reset()
- func (x *RelationFriendListResponse) Size() (n int)
- func (x *RelationFriendListResponse) String() string
- type RelationService
Constants ¶
This section is empty.
Variables ¶
var File_relation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FriendUser ¶
type FriendUser struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // 和该好友的最新聊天消息 MsgType int64 `protobuf:"varint,2,opt,name=msgType,proto3" json:"msgType,omitempty"` // message消息的类型,0 => 当前请求用户接收的消息, 1 => 当前请求用户发送的消息 Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` // 用户id Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // 用户名称 FollowCount int64 `protobuf:"varint,5,opt,name=follow_count,json=followCount,proto3" json:"follow_count,omitempty"` // 关注总数 FollowerCount int64 `protobuf:"varint,6,opt,name=follower_count,json=followerCount,proto3" json:"follower_count,omitempty"` // 粉丝总数 IsFollow bool `protobuf:"varint,7,opt,name=is_follow,json=isFollow,proto3" json:"is_follow,omitempty"` //true-已关注,false-未关注 Avatar string `protobuf:"bytes,8,opt,name=avatar,proto3" json:"avatar,omitempty"` // 用户头像 BackgroundImage string `protobuf:"bytes,9,opt,name=background_image,json=backgroundImage,proto3" json:"background_image,omitempty"` // 用户个人页顶部大图 Signature string `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature,omitempty"` // 个人简介 TotalFavorited int64 `protobuf:"varint,11,opt,name=total_favorited,json=totalFavorited,proto3" json:"total_favorited,omitempty"` // 获赞数量 WorkCount int64 `protobuf:"varint,12,opt,name=work_count,json=workCount,proto3" json:"work_count,omitempty"` // 作品数量 FavoriteCount int64 `protobuf:"varint,13,opt,name=favorite_count,json=favoriteCount,proto3" json:"favorite_count,omitempty"` // 点赞数量 // contains filtered or unexported fields }
func (*FriendUser) Descriptor
deprecated
func (*FriendUser) Descriptor() ([]byte, []int)
Deprecated: Use FriendUser.ProtoReflect.Descriptor instead.
func (*FriendUser) FastWrite ¶
func (x *FriendUser) FastWrite(buf []byte) (offset int)
func (*FriendUser) GetAvatar ¶
func (x *FriendUser) GetAvatar() string
func (*FriendUser) GetBackgroundImage ¶
func (x *FriendUser) GetBackgroundImage() string
func (*FriendUser) GetFavoriteCount ¶
func (x *FriendUser) GetFavoriteCount() int64
func (*FriendUser) GetFollowCount ¶
func (x *FriendUser) GetFollowCount() int64
func (*FriendUser) GetFollowerCount ¶
func (x *FriendUser) GetFollowerCount() int64
func (*FriendUser) GetId ¶
func (x *FriendUser) GetId() int64
func (*FriendUser) GetIsFollow ¶
func (x *FriendUser) GetIsFollow() bool
func (*FriendUser) GetMessage ¶
func (x *FriendUser) GetMessage() string
func (*FriendUser) GetMsgType ¶
func (x *FriendUser) GetMsgType() int64
func (*FriendUser) GetName ¶
func (x *FriendUser) GetName() string
func (*FriendUser) GetSignature ¶
func (x *FriendUser) GetSignature() string
func (*FriendUser) GetTotalFavorited ¶
func (x *FriendUser) GetTotalFavorited() int64
func (*FriendUser) GetWorkCount ¶
func (x *FriendUser) GetWorkCount() int64
func (*FriendUser) ProtoMessage ¶
func (*FriendUser) ProtoMessage()
func (*FriendUser) ProtoReflect ¶
func (x *FriendUser) ProtoReflect() protoreflect.Message
func (*FriendUser) Reset ¶
func (x *FriendUser) Reset()
func (*FriendUser) Size ¶
func (x *FriendUser) Size() (n int)
func (*FriendUser) String ¶
func (x *FriendUser) String() string
type RelationActionRequest ¶
type RelationActionRequest struct { // int64 user_id = 1; // 用户id Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // 用户鉴权token ToUserId int64 `protobuf:"varint,2,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` // 对方用户id ActionType int32 `protobuf:"varint,3,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"` // 1-关注,2-取消关注 // contains filtered or unexported fields }
============================关注or取消关注===================================
func (*RelationActionRequest) Descriptor
deprecated
func (*RelationActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelationActionRequest.ProtoReflect.Descriptor instead.
func (*RelationActionRequest) FastWrite ¶
func (x *RelationActionRequest) FastWrite(buf []byte) (offset int)
func (*RelationActionRequest) GetActionType ¶
func (x *RelationActionRequest) GetActionType() int32
func (*RelationActionRequest) GetToUserId ¶
func (x *RelationActionRequest) GetToUserId() int64
func (*RelationActionRequest) GetToken ¶
func (x *RelationActionRequest) GetToken() string
func (*RelationActionRequest) ProtoMessage ¶
func (*RelationActionRequest) ProtoMessage()
func (*RelationActionRequest) ProtoReflect ¶
func (x *RelationActionRequest) ProtoReflect() protoreflect.Message
func (*RelationActionRequest) Reset ¶
func (x *RelationActionRequest) Reset()
func (*RelationActionRequest) Size ¶
func (x *RelationActionRequest) Size() (n int)
func (*RelationActionRequest) String ¶
func (x *RelationActionRequest) String() string
type RelationActionResponse ¶
type RelationActionResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` // 状态码,0-成功,其他值-失败 StatusMsg string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg,proto3" json:"status_msg,omitempty"` // 返回状态描述 // contains filtered or unexported fields }
func (*RelationActionResponse) Descriptor
deprecated
func (*RelationActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RelationActionResponse.ProtoReflect.Descriptor instead.
func (*RelationActionResponse) FastWrite ¶
func (x *RelationActionResponse) FastWrite(buf []byte) (offset int)
func (*RelationActionResponse) GetStatusCode ¶
func (x *RelationActionResponse) GetStatusCode() int32
func (*RelationActionResponse) GetStatusMsg ¶
func (x *RelationActionResponse) GetStatusMsg() string
func (*RelationActionResponse) ProtoMessage ¶
func (*RelationActionResponse) ProtoMessage()
func (*RelationActionResponse) ProtoReflect ¶
func (x *RelationActionResponse) ProtoReflect() protoreflect.Message
func (*RelationActionResponse) Reset ¶
func (x *RelationActionResponse) Reset()
func (*RelationActionResponse) Size ¶
func (x *RelationActionResponse) Size() (n int)
func (*RelationActionResponse) String ¶
func (x *RelationActionResponse) String() string
type RelationFollowListRequest ¶
type RelationFollowListRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // 用户鉴权token // contains filtered or unexported fields }
==============================关注列表========================================
func (*RelationFollowListRequest) Descriptor
deprecated
func (*RelationFollowListRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelationFollowListRequest.ProtoReflect.Descriptor instead.
func (*RelationFollowListRequest) FastWrite ¶
func (x *RelationFollowListRequest) FastWrite(buf []byte) (offset int)
func (*RelationFollowListRequest) GetToken ¶
func (x *RelationFollowListRequest) GetToken() string
func (*RelationFollowListRequest) GetUserId ¶
func (x *RelationFollowListRequest) GetUserId() int64
func (*RelationFollowListRequest) ProtoMessage ¶
func (*RelationFollowListRequest) ProtoMessage()
func (*RelationFollowListRequest) ProtoReflect ¶
func (x *RelationFollowListRequest) ProtoReflect() protoreflect.Message
func (*RelationFollowListRequest) Reset ¶
func (x *RelationFollowListRequest) Reset()
func (*RelationFollowListRequest) Size ¶
func (x *RelationFollowListRequest) Size() (n int)
func (*RelationFollowListRequest) String ¶
func (x *RelationFollowListRequest) String() string
type RelationFollowListResponse ¶
type RelationFollowListResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` // 状态码,0-成功,其他值-失败 StatusMsg string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg,proto3" json:"status_msg,omitempty"` // 返回状态描述 UserList []*user.User `protobuf:"bytes,3,rep,name=user_list,json=userList,proto3" json:"user_list,omitempty"` // 用户信息列表 // contains filtered or unexported fields }
func (*RelationFollowListResponse) Descriptor
deprecated
func (*RelationFollowListResponse) Descriptor() ([]byte, []int)
Deprecated: Use RelationFollowListResponse.ProtoReflect.Descriptor instead.
func (*RelationFollowListResponse) FastWrite ¶
func (x *RelationFollowListResponse) FastWrite(buf []byte) (offset int)
func (*RelationFollowListResponse) GetStatusCode ¶
func (x *RelationFollowListResponse) GetStatusCode() int32
func (*RelationFollowListResponse) GetStatusMsg ¶
func (x *RelationFollowListResponse) GetStatusMsg() string
func (*RelationFollowListResponse) GetUserList ¶
func (x *RelationFollowListResponse) GetUserList() []*user.User
func (*RelationFollowListResponse) ProtoMessage ¶
func (*RelationFollowListResponse) ProtoMessage()
func (*RelationFollowListResponse) ProtoReflect ¶
func (x *RelationFollowListResponse) ProtoReflect() protoreflect.Message
func (*RelationFollowListResponse) Reset ¶
func (x *RelationFollowListResponse) Reset()
func (*RelationFollowListResponse) Size ¶
func (x *RelationFollowListResponse) Size() (n int)
func (*RelationFollowListResponse) String ¶
func (x *RelationFollowListResponse) String() string
type RelationFollowerListRequest ¶
type RelationFollowerListRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // 用户鉴权token // contains filtered or unexported fields }
==============================粉丝列表=======================================
func (*RelationFollowerListRequest) Descriptor
deprecated
func (*RelationFollowerListRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelationFollowerListRequest.ProtoReflect.Descriptor instead.
func (*RelationFollowerListRequest) FastWrite ¶
func (x *RelationFollowerListRequest) FastWrite(buf []byte) (offset int)
func (*RelationFollowerListRequest) GetToken ¶
func (x *RelationFollowerListRequest) GetToken() string
func (*RelationFollowerListRequest) GetUserId ¶
func (x *RelationFollowerListRequest) GetUserId() int64
func (*RelationFollowerListRequest) ProtoMessage ¶
func (*RelationFollowerListRequest) ProtoMessage()
func (*RelationFollowerListRequest) ProtoReflect ¶
func (x *RelationFollowerListRequest) ProtoReflect() protoreflect.Message
func (*RelationFollowerListRequest) Reset ¶
func (x *RelationFollowerListRequest) Reset()
func (*RelationFollowerListRequest) Size ¶
func (x *RelationFollowerListRequest) Size() (n int)
func (*RelationFollowerListRequest) String ¶
func (x *RelationFollowerListRequest) String() string
type RelationFollowerListResponse ¶
type RelationFollowerListResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` // 状态码,0-成功,其他值-失败 StatusMsg string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg,proto3" json:"status_msg,omitempty"` // 返回状态描述 UserList []*user.User `protobuf:"bytes,3,rep,name=user_list,json=userList,proto3" json:"user_list,omitempty"` // 用户列表 // contains filtered or unexported fields }
func (*RelationFollowerListResponse) Descriptor
deprecated
func (*RelationFollowerListResponse) Descriptor() ([]byte, []int)
Deprecated: Use RelationFollowerListResponse.ProtoReflect.Descriptor instead.
func (*RelationFollowerListResponse) FastWrite ¶
func (x *RelationFollowerListResponse) FastWrite(buf []byte) (offset int)
func (*RelationFollowerListResponse) GetStatusCode ¶
func (x *RelationFollowerListResponse) GetStatusCode() int32
func (*RelationFollowerListResponse) GetStatusMsg ¶
func (x *RelationFollowerListResponse) GetStatusMsg() string
func (*RelationFollowerListResponse) GetUserList ¶
func (x *RelationFollowerListResponse) GetUserList() []*user.User
func (*RelationFollowerListResponse) ProtoMessage ¶
func (*RelationFollowerListResponse) ProtoMessage()
func (*RelationFollowerListResponse) ProtoReflect ¶
func (x *RelationFollowerListResponse) ProtoReflect() protoreflect.Message
func (*RelationFollowerListResponse) Reset ¶
func (x *RelationFollowerListResponse) Reset()
func (*RelationFollowerListResponse) Size ¶
func (x *RelationFollowerListResponse) Size() (n int)
func (*RelationFollowerListResponse) String ¶
func (x *RelationFollowerListResponse) String() string
type RelationFriendListRequest ¶
type RelationFriendListRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // 用户鉴权token // contains filtered or unexported fields }
==============================好友列表=======================================
func (*RelationFriendListRequest) Descriptor
deprecated
func (*RelationFriendListRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelationFriendListRequest.ProtoReflect.Descriptor instead.
func (*RelationFriendListRequest) FastWrite ¶
func (x *RelationFriendListRequest) FastWrite(buf []byte) (offset int)
func (*RelationFriendListRequest) GetToken ¶
func (x *RelationFriendListRequest) GetToken() string
func (*RelationFriendListRequest) GetUserId ¶
func (x *RelationFriendListRequest) GetUserId() int64
func (*RelationFriendListRequest) ProtoMessage ¶
func (*RelationFriendListRequest) ProtoMessage()
func (*RelationFriendListRequest) ProtoReflect ¶
func (x *RelationFriendListRequest) ProtoReflect() protoreflect.Message
func (*RelationFriendListRequest) Reset ¶
func (x *RelationFriendListRequest) Reset()
func (*RelationFriendListRequest) Size ¶
func (x *RelationFriendListRequest) Size() (n int)
func (*RelationFriendListRequest) String ¶
func (x *RelationFriendListRequest) String() string
type RelationFriendListResponse ¶
type RelationFriendListResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` // 状态码,0-成功,其他值-失败 StatusMsg string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg,proto3" json:"status_msg,omitempty"` // 返回状态描述 UserList []*FriendUser `protobuf:"bytes,3,rep,name=user_list,json=userList,proto3" json:"user_list,omitempty"` // 用户列表 // contains filtered or unexported fields }
func (*RelationFriendListResponse) Descriptor
deprecated
func (*RelationFriendListResponse) Descriptor() ([]byte, []int)
Deprecated: Use RelationFriendListResponse.ProtoReflect.Descriptor instead.
func (*RelationFriendListResponse) FastWrite ¶
func (x *RelationFriendListResponse) FastWrite(buf []byte) (offset int)
func (*RelationFriendListResponse) GetStatusCode ¶
func (x *RelationFriendListResponse) GetStatusCode() int32
func (*RelationFriendListResponse) GetStatusMsg ¶
func (x *RelationFriendListResponse) GetStatusMsg() string
func (*RelationFriendListResponse) GetUserList ¶
func (x *RelationFriendListResponse) GetUserList() []*FriendUser
func (*RelationFriendListResponse) ProtoMessage ¶
func (*RelationFriendListResponse) ProtoMessage()
func (*RelationFriendListResponse) ProtoReflect ¶
func (x *RelationFriendListResponse) ProtoReflect() protoreflect.Message
func (*RelationFriendListResponse) Reset ¶
func (x *RelationFriendListResponse) Reset()
func (*RelationFriendListResponse) Size ¶
func (x *RelationFriendListResponse) Size() (n int)
func (*RelationFriendListResponse) String ¶
func (x *RelationFriendListResponse) String() string
type RelationService ¶
type RelationService interface { RelationAction(ctx context.Context, req *RelationActionRequest) (res *RelationActionResponse, err error) RelationFollowList(ctx context.Context, req *RelationFollowListRequest) (res *RelationFollowListResponse, err error) RelationFollowerList(ctx context.Context, req *RelationFollowerListRequest) (res *RelationFollowerListResponse, err error) RelationFriendList(ctx context.Context, req *RelationFriendListRequest) (res *RelationFriendListResponse, err error) }