Documentation
¶
Index ¶
- Variables
- type DouyinRelationActionRequest
- func (*DouyinRelationActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinRelationActionRequest) GetActionType() int32
- func (x *DouyinRelationActionRequest) GetToUserId() int64
- func (x *DouyinRelationActionRequest) GetToken() string
- func (x *DouyinRelationActionRequest) GetUserId() int64
- func (*DouyinRelationActionRequest) ProtoMessage()
- func (x *DouyinRelationActionRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinRelationActionRequest) Reset()
- func (x *DouyinRelationActionRequest) String() string
- type DouyinRelationActionResponse
- func (*DouyinRelationActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinRelationActionResponse) GetStatusCode() int32
- func (x *DouyinRelationActionResponse) GetStatusMsg() string
- func (*DouyinRelationActionResponse) ProtoMessage()
- func (x *DouyinRelationActionResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinRelationActionResponse) Reset()
- func (x *DouyinRelationActionResponse) String() string
- type DouyinRelationFollowListRequest
- func (*DouyinRelationFollowListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinRelationFollowListRequest) GetToken() string
- func (x *DouyinRelationFollowListRequest) GetUserId() int64
- func (*DouyinRelationFollowListRequest) ProtoMessage()
- func (x *DouyinRelationFollowListRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinRelationFollowListRequest) Reset()
- func (x *DouyinRelationFollowListRequest) String() string
- type DouyinRelationFollowListResponse
- func (*DouyinRelationFollowListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinRelationFollowListResponse) GetStatusCode() int32
- func (x *DouyinRelationFollowListResponse) GetStatusMsg() string
- func (x *DouyinRelationFollowListResponse) GetUserList() []*user.User
- func (*DouyinRelationFollowListResponse) ProtoMessage()
- func (x *DouyinRelationFollowListResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinRelationFollowListResponse) Reset()
- func (x *DouyinRelationFollowListResponse) String() string
- type DouyinRelationFollowerListRequest
- func (*DouyinRelationFollowerListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinRelationFollowerListRequest) GetToken() string
- func (x *DouyinRelationFollowerListRequest) GetUserId() int64
- func (*DouyinRelationFollowerListRequest) ProtoMessage()
- func (x *DouyinRelationFollowerListRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinRelationFollowerListRequest) Reset()
- func (x *DouyinRelationFollowerListRequest) String() string
- type DouyinRelationFollowerListResponse
- func (*DouyinRelationFollowerListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinRelationFollowerListResponse) GetStatusCode() int32
- func (x *DouyinRelationFollowerListResponse) GetStatusMsg() string
- func (x *DouyinRelationFollowerListResponse) GetUserList() []*user.User
- func (*DouyinRelationFollowerListResponse) ProtoMessage()
- func (x *DouyinRelationFollowerListResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinRelationFollowerListResponse) Reset()
- func (x *DouyinRelationFollowerListResponse) String() string
- type RelationSrv
Constants ¶
This section is empty.
Variables ¶
View Source
var File_relation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DouyinRelationActionRequest ¶
type DouyinRelationActionRequest 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 ToUserId int64 `protobuf:"varint,3,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` // 对方用户id ActionType int32 `protobuf:"varint,4,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"` // 1-关注,2-取消关注 // contains filtered or unexported fields }
func (*DouyinRelationActionRequest) Descriptor
deprecated
func (*DouyinRelationActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinRelationActionRequest.ProtoReflect.Descriptor instead.
func (*DouyinRelationActionRequest) GetActionType ¶
func (x *DouyinRelationActionRequest) GetActionType() int32
func (*DouyinRelationActionRequest) GetToUserId ¶
func (x *DouyinRelationActionRequest) GetToUserId() int64
func (*DouyinRelationActionRequest) GetToken ¶
func (x *DouyinRelationActionRequest) GetToken() string
func (*DouyinRelationActionRequest) GetUserId ¶
func (x *DouyinRelationActionRequest) GetUserId() int64
func (*DouyinRelationActionRequest) ProtoMessage ¶
func (*DouyinRelationActionRequest) ProtoMessage()
func (*DouyinRelationActionRequest) ProtoReflect ¶
func (x *DouyinRelationActionRequest) ProtoReflect() protoreflect.Message
func (*DouyinRelationActionRequest) Reset ¶
func (x *DouyinRelationActionRequest) Reset()
func (*DouyinRelationActionRequest) String ¶
func (x *DouyinRelationActionRequest) String() string
type DouyinRelationActionResponse ¶
type DouyinRelationActionResponse 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,oneof" json:"status_msg,omitempty"` // 返回状态描述 // contains filtered or unexported fields }
func (*DouyinRelationActionResponse) Descriptor
deprecated
func (*DouyinRelationActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinRelationActionResponse.ProtoReflect.Descriptor instead.
func (*DouyinRelationActionResponse) GetStatusCode ¶
func (x *DouyinRelationActionResponse) GetStatusCode() int32
func (*DouyinRelationActionResponse) GetStatusMsg ¶
func (x *DouyinRelationActionResponse) GetStatusMsg() string
func (*DouyinRelationActionResponse) ProtoMessage ¶
func (*DouyinRelationActionResponse) ProtoMessage()
func (*DouyinRelationActionResponse) ProtoReflect ¶
func (x *DouyinRelationActionResponse) ProtoReflect() protoreflect.Message
func (*DouyinRelationActionResponse) Reset ¶
func (x *DouyinRelationActionResponse) Reset()
func (*DouyinRelationActionResponse) String ¶
func (x *DouyinRelationActionResponse) String() string
type DouyinRelationFollowListRequest ¶
type DouyinRelationFollowListRequest 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 (*DouyinRelationFollowListRequest) Descriptor
deprecated
func (*DouyinRelationFollowListRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinRelationFollowListRequest.ProtoReflect.Descriptor instead.
func (*DouyinRelationFollowListRequest) GetToken ¶
func (x *DouyinRelationFollowListRequest) GetToken() string
func (*DouyinRelationFollowListRequest) GetUserId ¶
func (x *DouyinRelationFollowListRequest) GetUserId() int64
func (*DouyinRelationFollowListRequest) ProtoMessage ¶
func (*DouyinRelationFollowListRequest) ProtoMessage()
func (*DouyinRelationFollowListRequest) ProtoReflect ¶
func (x *DouyinRelationFollowListRequest) ProtoReflect() protoreflect.Message
func (*DouyinRelationFollowListRequest) Reset ¶
func (x *DouyinRelationFollowListRequest) Reset()
func (*DouyinRelationFollowListRequest) String ¶
func (x *DouyinRelationFollowListRequest) String() string
type DouyinRelationFollowListResponse ¶
type DouyinRelationFollowListResponse 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,oneof" 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 (*DouyinRelationFollowListResponse) Descriptor
deprecated
func (*DouyinRelationFollowListResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinRelationFollowListResponse.ProtoReflect.Descriptor instead.
func (*DouyinRelationFollowListResponse) GetStatusCode ¶
func (x *DouyinRelationFollowListResponse) GetStatusCode() int32
func (*DouyinRelationFollowListResponse) GetStatusMsg ¶
func (x *DouyinRelationFollowListResponse) GetStatusMsg() string
func (*DouyinRelationFollowListResponse) GetUserList ¶
func (x *DouyinRelationFollowListResponse) GetUserList() []*user.User
func (*DouyinRelationFollowListResponse) ProtoMessage ¶
func (*DouyinRelationFollowListResponse) ProtoMessage()
func (*DouyinRelationFollowListResponse) ProtoReflect ¶
func (x *DouyinRelationFollowListResponse) ProtoReflect() protoreflect.Message
func (*DouyinRelationFollowListResponse) Reset ¶
func (x *DouyinRelationFollowListResponse) Reset()
func (*DouyinRelationFollowListResponse) String ¶
func (x *DouyinRelationFollowListResponse) String() string
type DouyinRelationFollowerListRequest ¶
type DouyinRelationFollowerListRequest 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 (*DouyinRelationFollowerListRequest) Descriptor
deprecated
func (*DouyinRelationFollowerListRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinRelationFollowerListRequest.ProtoReflect.Descriptor instead.
func (*DouyinRelationFollowerListRequest) GetToken ¶
func (x *DouyinRelationFollowerListRequest) GetToken() string
func (*DouyinRelationFollowerListRequest) GetUserId ¶
func (x *DouyinRelationFollowerListRequest) GetUserId() int64
func (*DouyinRelationFollowerListRequest) ProtoMessage ¶
func (*DouyinRelationFollowerListRequest) ProtoMessage()
func (*DouyinRelationFollowerListRequest) ProtoReflect ¶
func (x *DouyinRelationFollowerListRequest) ProtoReflect() protoreflect.Message
func (*DouyinRelationFollowerListRequest) Reset ¶
func (x *DouyinRelationFollowerListRequest) Reset()
func (*DouyinRelationFollowerListRequest) String ¶
func (x *DouyinRelationFollowerListRequest) String() string
type DouyinRelationFollowerListResponse ¶
type DouyinRelationFollowerListResponse 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,oneof" 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 (*DouyinRelationFollowerListResponse) Descriptor
deprecated
func (*DouyinRelationFollowerListResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinRelationFollowerListResponse.ProtoReflect.Descriptor instead.
func (*DouyinRelationFollowerListResponse) GetStatusCode ¶
func (x *DouyinRelationFollowerListResponse) GetStatusCode() int32
func (*DouyinRelationFollowerListResponse) GetStatusMsg ¶
func (x *DouyinRelationFollowerListResponse) GetStatusMsg() string
func (*DouyinRelationFollowerListResponse) GetUserList ¶
func (x *DouyinRelationFollowerListResponse) GetUserList() []*user.User
func (*DouyinRelationFollowerListResponse) ProtoMessage ¶
func (*DouyinRelationFollowerListResponse) ProtoMessage()
func (*DouyinRelationFollowerListResponse) ProtoReflect ¶
func (x *DouyinRelationFollowerListResponse) ProtoReflect() protoreflect.Message
func (*DouyinRelationFollowerListResponse) Reset ¶
func (x *DouyinRelationFollowerListResponse) Reset()
func (*DouyinRelationFollowerListResponse) String ¶
func (x *DouyinRelationFollowerListResponse) String() string
type RelationSrv ¶
type RelationSrv interface { RelationAction(ctx context.Context, req *DouyinRelationActionRequest) (res *DouyinRelationActionResponse, err error) RelationFollowList(ctx context.Context, req *DouyinRelationFollowListRequest) (res *DouyinRelationFollowListResponse, err error) RelationFollowerList(ctx context.Context, req *DouyinRelationFollowerListRequest) (res *DouyinRelationFollowerListResponse, err error) }
Click to show internal directories.
Click to hide internal directories.