Documentation ¶
Index ¶
- Variables
- type BaseResp
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment) GetContent() string
- func (x *Comment) GetCreateDate() string
- func (x *Comment) GetId() int64
- func (x *Comment) GetUser() *User
- func (*Comment) ProtoMessage()
- func (x *Comment) ProtoReflect() protoreflect.Message
- func (x *Comment) Reset()
- func (x *Comment) String() string
- type DouyinCommentActionRequest
- func (*DouyinCommentActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinCommentActionRequest) GetActionType() int32
- func (x *DouyinCommentActionRequest) GetCommentId() int64
- func (x *DouyinCommentActionRequest) GetCommentText() string
- func (x *DouyinCommentActionRequest) GetToken() string
- func (x *DouyinCommentActionRequest) GetVideoId() int64
- func (*DouyinCommentActionRequest) ProtoMessage()
- func (x *DouyinCommentActionRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinCommentActionRequest) Reset()
- func (x *DouyinCommentActionRequest) String() string
- type DouyinCommentActionResponse
- func (*DouyinCommentActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinCommentActionResponse) GetBaseResp() *BaseResp
- func (x *DouyinCommentActionResponse) GetComment() *Comment
- func (*DouyinCommentActionResponse) ProtoMessage()
- func (x *DouyinCommentActionResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinCommentActionResponse) Reset()
- func (x *DouyinCommentActionResponse) String() string
- type DouyinCommentListRequest
- func (*DouyinCommentListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinCommentListRequest) GetToken() string
- func (x *DouyinCommentListRequest) GetVideoId() int64
- func (*DouyinCommentListRequest) ProtoMessage()
- func (x *DouyinCommentListRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinCommentListRequest) Reset()
- func (x *DouyinCommentListRequest) String() string
- type DouyinCommentListResponse
- func (*DouyinCommentListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinCommentListResponse) GetBaseResp() *BaseResp
- func (x *DouyinCommentListResponse) GetCommentList() []*Comment
- func (*DouyinCommentListResponse) ProtoMessage()
- func (x *DouyinCommentListResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinCommentListResponse) Reset()
- func (x *DouyinCommentListResponse) String() string
- type DouyinFavoriteActionRequest
- func (*DouyinFavoriteActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinFavoriteActionRequest) GetActionType() int32
- func (x *DouyinFavoriteActionRequest) GetToken() string
- func (x *DouyinFavoriteActionRequest) GetVideoId() int64
- func (*DouyinFavoriteActionRequest) ProtoMessage()
- func (x *DouyinFavoriteActionRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinFavoriteActionRequest) Reset()
- func (x *DouyinFavoriteActionRequest) String() string
- type DouyinFavoriteActionResponse
- func (*DouyinFavoriteActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinFavoriteActionResponse) GetBaseResp() *BaseResp
- func (*DouyinFavoriteActionResponse) ProtoMessage()
- func (x *DouyinFavoriteActionResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinFavoriteActionResponse) Reset()
- func (x *DouyinFavoriteActionResponse) String() string
- type DouyinFavoriteListRequest
- func (*DouyinFavoriteListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinFavoriteListRequest) GetToken() string
- func (x *DouyinFavoriteListRequest) GetUserId() int64
- func (*DouyinFavoriteListRequest) ProtoMessage()
- func (x *DouyinFavoriteListRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinFavoriteListRequest) Reset()
- func (x *DouyinFavoriteListRequest) String() string
- type DouyinFavoriteListResponse
- func (*DouyinFavoriteListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinFavoriteListResponse) GetBaseResp() *BaseResp
- func (x *DouyinFavoriteListResponse) GetVideoList() []*Video
- func (*DouyinFavoriteListResponse) ProtoMessage()
- func (x *DouyinFavoriteListResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinFavoriteListResponse) Reset()
- func (x *DouyinFavoriteListResponse) String() string
- type DouyinFeedRequest
- func (*DouyinFeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinFeedRequest) GetLatestTime() int64
- func (x *DouyinFeedRequest) GetToken() string
- func (*DouyinFeedRequest) ProtoMessage()
- func (x *DouyinFeedRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinFeedRequest) Reset()
- func (x *DouyinFeedRequest) String() string
- type DouyinFeedResponse
- func (*DouyinFeedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinFeedResponse) GetBaseResp() *BaseResp
- func (x *DouyinFeedResponse) GetNextTime() int64
- func (x *DouyinFeedResponse) GetVideoList() []*Video
- func (*DouyinFeedResponse) ProtoMessage()
- func (x *DouyinFeedResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinFeedResponse) Reset()
- func (x *DouyinFeedResponse) String() string
- type DouyinPublishActionRequest
- func (*DouyinPublishActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinPublishActionRequest) GetData() []byte
- func (x *DouyinPublishActionRequest) GetTitle() string
- func (x *DouyinPublishActionRequest) GetToken() string
- func (*DouyinPublishActionRequest) ProtoMessage()
- func (x *DouyinPublishActionRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinPublishActionRequest) Reset()
- func (x *DouyinPublishActionRequest) String() string
- type DouyinPublishActionResponse
- func (*DouyinPublishActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinPublishActionResponse) GetBaseResp() *BaseResp
- func (*DouyinPublishActionResponse) ProtoMessage()
- func (x *DouyinPublishActionResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinPublishActionResponse) Reset()
- func (x *DouyinPublishActionResponse) String() string
- type DouyinPublishListRequest
- func (*DouyinPublishListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinPublishListRequest) GetToken() string
- func (x *DouyinPublishListRequest) GetUserId() int64
- func (*DouyinPublishListRequest) ProtoMessage()
- func (x *DouyinPublishListRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinPublishListRequest) Reset()
- func (x *DouyinPublishListRequest) String() string
- type DouyinPublishListResponse
- func (*DouyinPublishListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinPublishListResponse) GetBaseResp() *BaseResp
- func (x *DouyinPublishListResponse) GetVideoList() []*Video
- func (*DouyinPublishListResponse) ProtoMessage()
- func (x *DouyinPublishListResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinPublishListResponse) Reset()
- func (x *DouyinPublishListResponse) String() string
- type DouyinRelationActionRequest
- func (*DouyinRelationActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinRelationActionRequest) GetActionType() int32
- func (x *DouyinRelationActionRequest) GetToUserId() int64
- func (x *DouyinRelationActionRequest) GetToken() string
- 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) GetBaseResp() *BaseResp
- 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) GetBaseResp() *BaseResp
- func (x *DouyinRelationFollowListResponse) GetUserList() []*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) GetBaseResp() *BaseResp
- func (x *DouyinRelationFollowerListResponse) GetUserList() []*User
- func (*DouyinRelationFollowerListResponse) ProtoMessage()
- func (x *DouyinRelationFollowerListResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinRelationFollowerListResponse) Reset()
- func (x *DouyinRelationFollowerListResponse) String() string
- type DouyinUserLoginRequest
- func (*DouyinUserLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinUserLoginRequest) GetPassword() string
- func (x *DouyinUserLoginRequest) GetUsername() string
- func (*DouyinUserLoginRequest) ProtoMessage()
- func (x *DouyinUserLoginRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinUserLoginRequest) Reset()
- func (x *DouyinUserLoginRequest) String() string
- type DouyinUserLoginResponse
- func (*DouyinUserLoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinUserLoginResponse) GetBaseResp() *BaseResp
- func (x *DouyinUserLoginResponse) GetToken() string
- func (x *DouyinUserLoginResponse) GetUserId() int64
- func (*DouyinUserLoginResponse) ProtoMessage()
- func (x *DouyinUserLoginResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinUserLoginResponse) Reset()
- func (x *DouyinUserLoginResponse) String() string
- type DouyinUserRegisterRequest
- func (*DouyinUserRegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinUserRegisterRequest) GetPassword() string
- func (x *DouyinUserRegisterRequest) GetUsername() string
- func (*DouyinUserRegisterRequest) ProtoMessage()
- func (x *DouyinUserRegisterRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinUserRegisterRequest) Reset()
- func (x *DouyinUserRegisterRequest) String() string
- type DouyinUserRegisterResponse
- func (*DouyinUserRegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinUserRegisterResponse) GetBaseResp() *BaseResp
- func (x *DouyinUserRegisterResponse) GetToken() string
- func (x *DouyinUserRegisterResponse) GetUserId() int64
- func (*DouyinUserRegisterResponse) ProtoMessage()
- func (x *DouyinUserRegisterResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinUserRegisterResponse) Reset()
- func (x *DouyinUserRegisterResponse) String() string
- type DouyinUserRequest
- func (*DouyinUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinUserRequest) GetToken() string
- func (x *DouyinUserRequest) GetUserId() int64
- func (*DouyinUserRequest) ProtoMessage()
- func (x *DouyinUserRequest) ProtoReflect() protoreflect.Message
- func (x *DouyinUserRequest) Reset()
- func (x *DouyinUserRequest) String() string
- type DouyinUserResponse
- func (*DouyinUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DouyinUserResponse) GetBaseResp() *BaseResp
- func (x *DouyinUserResponse) GetUser() *User
- func (*DouyinUserResponse) ProtoMessage()
- func (x *DouyinUserResponse) ProtoReflect() protoreflect.Message
- func (x *DouyinUserResponse) Reset()
- func (x *DouyinUserResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetFollowCount() int64
- func (x *User) GetFollowerCount() int64
- func (x *User) GetId() int64
- func (x *User) GetIsFollow() bool
- func (x *User) GetName() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type Video
- func (*Video) Descriptor() ([]byte, []int)deprecated
- func (x *Video) GetAuthor() *User
- func (x *Video) GetCommentCount() int64
- func (x *Video) GetCoverUrl() string
- func (x *Video) GetFavoriteCount() int64
- func (x *Video) GetId() int64
- func (x *Video) GetIsFavorite() bool
- func (x *Video) GetPlayUrl() string
- func (x *Video) GetTitle() string
- func (*Video) ProtoMessage()
- func (x *Video) ProtoReflect() protoreflect.Message
- func (x *Video) Reset()
- func (x *Video) String() string
Constants ¶
This section is empty.
Variables ¶
var File_ApiServer_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BaseResp ¶
type BaseResp struct { StatusCode int32 `` // 状态码,0-成功,其他值-失败 /* 131-byte string literal not displayed */ StatusMsg string `protobuf:"bytes,2,opt,name=status_msg,json=statusMsg,proto3" json:"status_msg,omitempty" form:"status_msg" query:"status_msg"` // 返回状态描述--可选 // contains filtered or unexported fields }
func (*BaseResp) Descriptor
deprecated
func (*BaseResp) GetStatusCode ¶
func (*BaseResp) GetStatusMsg ¶
func (*BaseResp) ProtoMessage ¶
func (*BaseResp) ProtoMessage()
func (*BaseResp) ProtoReflect ¶
func (x *BaseResp) ProtoReflect() protoreflect.Message
type Comment ¶
type Comment struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` // 视频评论id User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty" form:"user" query:"user"` // 评论用户信息 Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty" form:"content" query:"content"` // 评论内容 CreateDate string `` // 评论发布日期,格式 mm-dd /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Comment) Descriptor
deprecated
func (*Comment) GetContent ¶
func (*Comment) GetCreateDate ¶
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) ProtoReflect ¶
func (x *Comment) ProtoReflect() protoreflect.Message
type DouyinCommentActionRequest ¶
type DouyinCommentActionRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty" query:"token"` // 用户鉴权token VideoId int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty" query:"video_id" vd:"len($) > 0"` // 视频id ActionType int32 `protobuf:"varint,3,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty" query:"action_type"` // 1-发布评论,2-删除评论 CommentText string `` // 用户填写的评论内容,在action_type=1的时候使用 /* 131-byte string literal not displayed */ CommentId int64 `protobuf:"varint,5,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty" query:"comment_id" vd:"len($) > 0"` // 要删除的评论id,在action_type=2的时候使用 // contains filtered or unexported fields }
Comment--action
func (*DouyinCommentActionRequest) Descriptor
deprecated
func (*DouyinCommentActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinCommentActionRequest.ProtoReflect.Descriptor instead.
func (*DouyinCommentActionRequest) GetActionType ¶
func (x *DouyinCommentActionRequest) GetActionType() int32
func (*DouyinCommentActionRequest) GetCommentId ¶
func (x *DouyinCommentActionRequest) GetCommentId() int64
func (*DouyinCommentActionRequest) GetCommentText ¶
func (x *DouyinCommentActionRequest) GetCommentText() string
func (*DouyinCommentActionRequest) GetToken ¶
func (x *DouyinCommentActionRequest) GetToken() string
func (*DouyinCommentActionRequest) GetVideoId ¶
func (x *DouyinCommentActionRequest) GetVideoId() int64
func (*DouyinCommentActionRequest) ProtoMessage ¶
func (*DouyinCommentActionRequest) ProtoMessage()
func (*DouyinCommentActionRequest) ProtoReflect ¶
func (x *DouyinCommentActionRequest) ProtoReflect() protoreflect.Message
func (*DouyinCommentActionRequest) Reset ¶
func (x *DouyinCommentActionRequest) Reset()
func (*DouyinCommentActionRequest) String ¶
func (x *DouyinCommentActionRequest) String() string
type DouyinCommentActionResponse ¶
type DouyinCommentActionResponse struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` Comment *Comment `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty" form:"comment" query:"comment"` // 评论成功返回评论内容,不需要重新拉取整个列表--可选 // contains filtered or unexported fields }
func (*DouyinCommentActionResponse) Descriptor
deprecated
func (*DouyinCommentActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinCommentActionResponse.ProtoReflect.Descriptor instead.
func (*DouyinCommentActionResponse) GetBaseResp ¶
func (x *DouyinCommentActionResponse) GetBaseResp() *BaseResp
func (*DouyinCommentActionResponse) GetComment ¶
func (x *DouyinCommentActionResponse) GetComment() *Comment
func (*DouyinCommentActionResponse) ProtoMessage ¶
func (*DouyinCommentActionResponse) ProtoMessage()
func (*DouyinCommentActionResponse) ProtoReflect ¶
func (x *DouyinCommentActionResponse) ProtoReflect() protoreflect.Message
func (*DouyinCommentActionResponse) Reset ¶
func (x *DouyinCommentActionResponse) Reset()
func (*DouyinCommentActionResponse) String ¶
func (x *DouyinCommentActionResponse) String() string
type DouyinCommentListRequest ¶
type DouyinCommentListRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty" query:"token"` // 用户鉴权token VideoId int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty" query:"video_id"` // 视频id // contains filtered or unexported fields }
Comment--list
func (*DouyinCommentListRequest) Descriptor
deprecated
func (*DouyinCommentListRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinCommentListRequest.ProtoReflect.Descriptor instead.
func (*DouyinCommentListRequest) GetToken ¶
func (x *DouyinCommentListRequest) GetToken() string
func (*DouyinCommentListRequest) GetVideoId ¶
func (x *DouyinCommentListRequest) GetVideoId() int64
func (*DouyinCommentListRequest) ProtoMessage ¶
func (*DouyinCommentListRequest) ProtoMessage()
func (*DouyinCommentListRequest) ProtoReflect ¶
func (x *DouyinCommentListRequest) ProtoReflect() protoreflect.Message
func (*DouyinCommentListRequest) Reset ¶
func (x *DouyinCommentListRequest) Reset()
func (*DouyinCommentListRequest) String ¶
func (x *DouyinCommentListRequest) String() string
type DouyinCommentListResponse ¶
type DouyinCommentListResponse struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` CommentList []*Comment `protobuf:"bytes,2,rep,name=comment_list,json=commentList,proto3" json:"comment_list" form:"comment_list" query:"comment_list"` // 评论列表 // contains filtered or unexported fields }
func (*DouyinCommentListResponse) Descriptor
deprecated
func (*DouyinCommentListResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinCommentListResponse.ProtoReflect.Descriptor instead.
func (*DouyinCommentListResponse) GetBaseResp ¶
func (x *DouyinCommentListResponse) GetBaseResp() *BaseResp
func (*DouyinCommentListResponse) GetCommentList ¶
func (x *DouyinCommentListResponse) GetCommentList() []*Comment
func (*DouyinCommentListResponse) ProtoMessage ¶
func (*DouyinCommentListResponse) ProtoMessage()
func (*DouyinCommentListResponse) ProtoReflect ¶
func (x *DouyinCommentListResponse) ProtoReflect() protoreflect.Message
func (*DouyinCommentListResponse) Reset ¶
func (x *DouyinCommentListResponse) Reset()
func (*DouyinCommentListResponse) String ¶
func (x *DouyinCommentListResponse) String() string
type DouyinFavoriteActionRequest ¶
type DouyinFavoriteActionRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty" query:"token"` // 用户鉴权token VideoId int64 `protobuf:"varint,2,opt,name=video_id,json=videoId,proto3" json:"video_id,omitempty" query:"video_id"` // 视频id ActionType int32 `protobuf:"varint,3,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty" query:"action_type"` // 1-点赞,2-取消点赞 // contains filtered or unexported fields }
Favorite-action
func (*DouyinFavoriteActionRequest) Descriptor
deprecated
func (*DouyinFavoriteActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinFavoriteActionRequest.ProtoReflect.Descriptor instead.
func (*DouyinFavoriteActionRequest) GetActionType ¶
func (x *DouyinFavoriteActionRequest) GetActionType() int32
func (*DouyinFavoriteActionRequest) GetToken ¶
func (x *DouyinFavoriteActionRequest) GetToken() string
func (*DouyinFavoriteActionRequest) GetVideoId ¶
func (x *DouyinFavoriteActionRequest) GetVideoId() int64
func (*DouyinFavoriteActionRequest) ProtoMessage ¶
func (*DouyinFavoriteActionRequest) ProtoMessage()
func (*DouyinFavoriteActionRequest) ProtoReflect ¶
func (x *DouyinFavoriteActionRequest) ProtoReflect() protoreflect.Message
func (*DouyinFavoriteActionRequest) Reset ¶
func (x *DouyinFavoriteActionRequest) Reset()
func (*DouyinFavoriteActionRequest) String ¶
func (x *DouyinFavoriteActionRequest) String() string
type DouyinFavoriteActionResponse ¶
type DouyinFavoriteActionResponse struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` // contains filtered or unexported fields }
func (*DouyinFavoriteActionResponse) Descriptor
deprecated
func (*DouyinFavoriteActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinFavoriteActionResponse.ProtoReflect.Descriptor instead.
func (*DouyinFavoriteActionResponse) GetBaseResp ¶
func (x *DouyinFavoriteActionResponse) GetBaseResp() *BaseResp
func (*DouyinFavoriteActionResponse) ProtoMessage ¶
func (*DouyinFavoriteActionResponse) ProtoMessage()
func (*DouyinFavoriteActionResponse) ProtoReflect ¶
func (x *DouyinFavoriteActionResponse) ProtoReflect() protoreflect.Message
func (*DouyinFavoriteActionResponse) Reset ¶
func (x *DouyinFavoriteActionResponse) Reset()
func (*DouyinFavoriteActionResponse) String ¶
func (x *DouyinFavoriteActionResponse) String() string
type DouyinFavoriteListRequest ¶
type DouyinFavoriteListRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" query:"user_id"` // 用户id Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty" query:"token"` // 用户鉴权token // contains filtered or unexported fields }
Favorite-list
func (*DouyinFavoriteListRequest) Descriptor
deprecated
func (*DouyinFavoriteListRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinFavoriteListRequest.ProtoReflect.Descriptor instead.
func (*DouyinFavoriteListRequest) GetToken ¶
func (x *DouyinFavoriteListRequest) GetToken() string
func (*DouyinFavoriteListRequest) GetUserId ¶
func (x *DouyinFavoriteListRequest) GetUserId() int64
func (*DouyinFavoriteListRequest) ProtoMessage ¶
func (*DouyinFavoriteListRequest) ProtoMessage()
func (*DouyinFavoriteListRequest) ProtoReflect ¶
func (x *DouyinFavoriteListRequest) ProtoReflect() protoreflect.Message
func (*DouyinFavoriteListRequest) Reset ¶
func (x *DouyinFavoriteListRequest) Reset()
func (*DouyinFavoriteListRequest) String ¶
func (x *DouyinFavoriteListRequest) String() string
type DouyinFavoriteListResponse ¶
type DouyinFavoriteListResponse struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` VideoList []*Video `protobuf:"bytes,2,rep,name=video_list,json=videoList,proto3" json:"video_list" form:"video_list" query:"video_list"` // 用户点赞视频列表 // contains filtered or unexported fields }
func (*DouyinFavoriteListResponse) Descriptor
deprecated
func (*DouyinFavoriteListResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinFavoriteListResponse.ProtoReflect.Descriptor instead.
func (*DouyinFavoriteListResponse) GetBaseResp ¶
func (x *DouyinFavoriteListResponse) GetBaseResp() *BaseResp
func (*DouyinFavoriteListResponse) GetVideoList ¶
func (x *DouyinFavoriteListResponse) GetVideoList() []*Video
func (*DouyinFavoriteListResponse) ProtoMessage ¶
func (*DouyinFavoriteListResponse) ProtoMessage()
func (*DouyinFavoriteListResponse) ProtoReflect ¶
func (x *DouyinFavoriteListResponse) ProtoReflect() protoreflect.Message
func (*DouyinFavoriteListResponse) Reset ¶
func (x *DouyinFavoriteListResponse) Reset()
func (*DouyinFavoriteListResponse) String ¶
func (x *DouyinFavoriteListResponse) String() string
type DouyinFeedRequest ¶
type DouyinFeedRequest struct { LatestTime int64 `` // 可选参数,限制返回视频的最新投稿时间戳,精确到秒,不填表示当前时间 /* 128-byte string literal not displayed */ Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty" query:"token"` // 可选参数,登录用户设置 // contains filtered or unexported fields }
Feed
func (*DouyinFeedRequest) Descriptor
deprecated
func (*DouyinFeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinFeedRequest.ProtoReflect.Descriptor instead.
func (*DouyinFeedRequest) GetLatestTime ¶
func (x *DouyinFeedRequest) GetLatestTime() int64
func (*DouyinFeedRequest) GetToken ¶
func (x *DouyinFeedRequest) GetToken() string
func (*DouyinFeedRequest) ProtoMessage ¶
func (*DouyinFeedRequest) ProtoMessage()
func (*DouyinFeedRequest) ProtoReflect ¶
func (x *DouyinFeedRequest) ProtoReflect() protoreflect.Message
func (*DouyinFeedRequest) Reset ¶
func (x *DouyinFeedRequest) Reset()
func (*DouyinFeedRequest) String ¶
func (x *DouyinFeedRequest) String() string
type DouyinFeedResponse ¶
type DouyinFeedResponse struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` VideoList []*Video `protobuf:"bytes,2,rep,name=video_list,json=videoList,proto3" json:"video_list" form:"video_list" query:"video_list"` // 视频列表--注意按照投稿时间戳逆序返回视频列表 NextTime int64 `protobuf:"varint,3,opt,name=next_time,json=nextTime,proto3" json:"next_time,omitempty" form:"next_time" query:"next_time"` // 本次返回的视频中,发布最早的时间,作为下次请求时的latest_time--可选 // contains filtered or unexported fields }
func (*DouyinFeedResponse) Descriptor
deprecated
func (*DouyinFeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinFeedResponse.ProtoReflect.Descriptor instead.
func (*DouyinFeedResponse) GetBaseResp ¶
func (x *DouyinFeedResponse) GetBaseResp() *BaseResp
func (*DouyinFeedResponse) GetNextTime ¶
func (x *DouyinFeedResponse) GetNextTime() int64
func (*DouyinFeedResponse) GetVideoList ¶
func (x *DouyinFeedResponse) GetVideoList() []*Video
func (*DouyinFeedResponse) ProtoMessage ¶
func (*DouyinFeedResponse) ProtoMessage()
func (*DouyinFeedResponse) ProtoReflect ¶
func (x *DouyinFeedResponse) ProtoReflect() protoreflect.Message
func (*DouyinFeedResponse) Reset ¶
func (x *DouyinFeedResponse) Reset()
func (*DouyinFeedResponse) String ¶
func (x *DouyinFeedResponse) String() string
type DouyinPublishActionRequest ¶
type DouyinPublishActionRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty" form:"token"` // 用户鉴权token Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty" form:"data" vd:"len($) > 0"` // 视频数据 Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty" form:"title" vd:"len($) > 0"` // 视频标题 // contains filtered or unexported fields }
Publish-action
func (*DouyinPublishActionRequest) Descriptor
deprecated
func (*DouyinPublishActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinPublishActionRequest.ProtoReflect.Descriptor instead.
func (*DouyinPublishActionRequest) GetData ¶
func (x *DouyinPublishActionRequest) GetData() []byte
func (*DouyinPublishActionRequest) GetTitle ¶
func (x *DouyinPublishActionRequest) GetTitle() string
func (*DouyinPublishActionRequest) GetToken ¶
func (x *DouyinPublishActionRequest) GetToken() string
func (*DouyinPublishActionRequest) ProtoMessage ¶
func (*DouyinPublishActionRequest) ProtoMessage()
func (*DouyinPublishActionRequest) ProtoReflect ¶
func (x *DouyinPublishActionRequest) ProtoReflect() protoreflect.Message
func (*DouyinPublishActionRequest) Reset ¶
func (x *DouyinPublishActionRequest) Reset()
func (*DouyinPublishActionRequest) String ¶
func (x *DouyinPublishActionRequest) String() string
type DouyinPublishActionResponse ¶
type DouyinPublishActionResponse struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` // contains filtered or unexported fields }
func (*DouyinPublishActionResponse) Descriptor
deprecated
func (*DouyinPublishActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinPublishActionResponse.ProtoReflect.Descriptor instead.
func (*DouyinPublishActionResponse) GetBaseResp ¶
func (x *DouyinPublishActionResponse) GetBaseResp() *BaseResp
func (*DouyinPublishActionResponse) ProtoMessage ¶
func (*DouyinPublishActionResponse) ProtoMessage()
func (*DouyinPublishActionResponse) ProtoReflect ¶
func (x *DouyinPublishActionResponse) ProtoReflect() protoreflect.Message
func (*DouyinPublishActionResponse) Reset ¶
func (x *DouyinPublishActionResponse) Reset()
func (*DouyinPublishActionResponse) String ¶
func (x *DouyinPublishActionResponse) String() string
type DouyinPublishListRequest ¶
type DouyinPublishListRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" query:"user_id"` // 用户id Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty" query:"token"` // 用户鉴权token // contains filtered or unexported fields }
Publish-list
func (*DouyinPublishListRequest) Descriptor
deprecated
func (*DouyinPublishListRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinPublishListRequest.ProtoReflect.Descriptor instead.
func (*DouyinPublishListRequest) GetToken ¶
func (x *DouyinPublishListRequest) GetToken() string
func (*DouyinPublishListRequest) GetUserId ¶
func (x *DouyinPublishListRequest) GetUserId() int64
func (*DouyinPublishListRequest) ProtoMessage ¶
func (*DouyinPublishListRequest) ProtoMessage()
func (*DouyinPublishListRequest) ProtoReflect ¶
func (x *DouyinPublishListRequest) ProtoReflect() protoreflect.Message
func (*DouyinPublishListRequest) Reset ¶
func (x *DouyinPublishListRequest) Reset()
func (*DouyinPublishListRequest) String ¶
func (x *DouyinPublishListRequest) String() string
type DouyinPublishListResponse ¶
type DouyinPublishListResponse struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` VideoList []*Video `protobuf:"bytes,2,rep,name=video_list,json=videoList,proto3" json:"video_list" form:"video_list" query:"video_list"` // 用户发布的视频列表 // contains filtered or unexported fields }
func (*DouyinPublishListResponse) Descriptor
deprecated
func (*DouyinPublishListResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinPublishListResponse.ProtoReflect.Descriptor instead.
func (*DouyinPublishListResponse) GetBaseResp ¶
func (x *DouyinPublishListResponse) GetBaseResp() *BaseResp
func (*DouyinPublishListResponse) GetVideoList ¶
func (x *DouyinPublishListResponse) GetVideoList() []*Video
func (*DouyinPublishListResponse) ProtoMessage ¶
func (*DouyinPublishListResponse) ProtoMessage()
func (*DouyinPublishListResponse) ProtoReflect ¶
func (x *DouyinPublishListResponse) ProtoReflect() protoreflect.Message
func (*DouyinPublishListResponse) Reset ¶
func (x *DouyinPublishListResponse) Reset()
func (*DouyinPublishListResponse) String ¶
func (x *DouyinPublishListResponse) String() string
type DouyinRelationActionRequest ¶
type DouyinRelationActionRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty" query:"token"` // 用户鉴权token ToUserId int64 `protobuf:"varint,2,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty" query:"to_user_id" vd:"len($) > 0"` // 对方用户id ActionType int32 `` // 1-关注,2-取消关注 /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
Relation--action
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) 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 { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` // contains filtered or unexported fields }
func (*DouyinRelationActionResponse) Descriptor
deprecated
func (*DouyinRelationActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinRelationActionResponse.ProtoReflect.Descriptor instead.
func (*DouyinRelationActionResponse) GetBaseResp ¶
func (x *DouyinRelationActionResponse) GetBaseResp() *BaseResp
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" query:"user_id"` // 用户id Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty" query:"token"` // 用户鉴权token // contains filtered or unexported fields }
Relation--follow
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 { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` UserList []*User `protobuf:"bytes,2,rep,name=user_list,json=userList,proto3" json:"user_list" form:"user_list" query:"user_list"` // 用户信息列表 // contains filtered or unexported fields }
func (*DouyinRelationFollowListResponse) Descriptor
deprecated
func (*DouyinRelationFollowListResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinRelationFollowListResponse.ProtoReflect.Descriptor instead.
func (*DouyinRelationFollowListResponse) GetBaseResp ¶
func (x *DouyinRelationFollowListResponse) GetBaseResp() *BaseResp
func (*DouyinRelationFollowListResponse) GetUserList ¶
func (x *DouyinRelationFollowListResponse) GetUserList() []*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" query:"user_id"` // 用户id Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty" query:"token"` // 用户鉴权token // contains filtered or unexported fields }
Relation--follower
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 { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` UserList []*User `protobuf:"bytes,2,rep,name=user_list,json=userList,proto3" json:"user_list" form:"user_list" query:"user_list"` // 用户列表 // contains filtered or unexported fields }
func (*DouyinRelationFollowerListResponse) Descriptor
deprecated
func (*DouyinRelationFollowerListResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinRelationFollowerListResponse.ProtoReflect.Descriptor instead.
func (*DouyinRelationFollowerListResponse) GetBaseResp ¶
func (x *DouyinRelationFollowerListResponse) GetBaseResp() *BaseResp
func (*DouyinRelationFollowerListResponse) GetUserList ¶
func (x *DouyinRelationFollowerListResponse) GetUserList() []*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 DouyinUserLoginRequest ¶
type DouyinUserLoginRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" query:"username" vd:"len($) <= 32"` // 注册用户名,最长32个字符 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty" query:"password" vd:"len($) <= 32"` // 密码,最长32个字符 // contains filtered or unexported fields }
User login
func (*DouyinUserLoginRequest) Descriptor
deprecated
func (*DouyinUserLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinUserLoginRequest.ProtoReflect.Descriptor instead.
func (*DouyinUserLoginRequest) GetPassword ¶
func (x *DouyinUserLoginRequest) GetPassword() string
func (*DouyinUserLoginRequest) GetUsername ¶
func (x *DouyinUserLoginRequest) GetUsername() string
func (*DouyinUserLoginRequest) ProtoMessage ¶
func (*DouyinUserLoginRequest) ProtoMessage()
func (*DouyinUserLoginRequest) ProtoReflect ¶
func (x *DouyinUserLoginRequest) ProtoReflect() protoreflect.Message
func (*DouyinUserLoginRequest) Reset ¶
func (x *DouyinUserLoginRequest) Reset()
func (*DouyinUserLoginRequest) String ¶
func (x *DouyinUserLoginRequest) String() string
type DouyinUserLoginResponse ¶
type DouyinUserLoginResponse struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" form:"user_id" query:"user_id"` // 用户id Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty" form:"token" query:"token"` // 用户鉴权token // contains filtered or unexported fields }
func (*DouyinUserLoginResponse) Descriptor
deprecated
func (*DouyinUserLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinUserLoginResponse.ProtoReflect.Descriptor instead.
func (*DouyinUserLoginResponse) GetBaseResp ¶
func (x *DouyinUserLoginResponse) GetBaseResp() *BaseResp
func (*DouyinUserLoginResponse) GetToken ¶
func (x *DouyinUserLoginResponse) GetToken() string
func (*DouyinUserLoginResponse) GetUserId ¶
func (x *DouyinUserLoginResponse) GetUserId() int64
func (*DouyinUserLoginResponse) ProtoMessage ¶
func (*DouyinUserLoginResponse) ProtoMessage()
func (*DouyinUserLoginResponse) ProtoReflect ¶
func (x *DouyinUserLoginResponse) ProtoReflect() protoreflect.Message
func (*DouyinUserLoginResponse) Reset ¶
func (x *DouyinUserLoginResponse) Reset()
func (*DouyinUserLoginResponse) String ¶
func (x *DouyinUserLoginResponse) String() string
type DouyinUserRegisterRequest ¶
type DouyinUserRegisterRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" query:"username" vd:"len($) <= 32"` // 注册用户名,最长32个字符 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty" query:"password" vd:"len($) <= 32"` // 密码,最长32个字符 // contains filtered or unexported fields }
User register
func (*DouyinUserRegisterRequest) Descriptor
deprecated
func (*DouyinUserRegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinUserRegisterRequest.ProtoReflect.Descriptor instead.
func (*DouyinUserRegisterRequest) GetPassword ¶
func (x *DouyinUserRegisterRequest) GetPassword() string
func (*DouyinUserRegisterRequest) GetUsername ¶
func (x *DouyinUserRegisterRequest) GetUsername() string
func (*DouyinUserRegisterRequest) ProtoMessage ¶
func (*DouyinUserRegisterRequest) ProtoMessage()
func (*DouyinUserRegisterRequest) ProtoReflect ¶
func (x *DouyinUserRegisterRequest) ProtoReflect() protoreflect.Message
func (*DouyinUserRegisterRequest) Reset ¶
func (x *DouyinUserRegisterRequest) Reset()
func (*DouyinUserRegisterRequest) String ¶
func (x *DouyinUserRegisterRequest) String() string
type DouyinUserRegisterResponse ¶
type DouyinUserRegisterResponse struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" form:"user_id" query:"user_id"` // 用户id Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty" form:"token" query:"token"` // 用户鉴权token // contains filtered or unexported fields }
func (*DouyinUserRegisterResponse) Descriptor
deprecated
func (*DouyinUserRegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinUserRegisterResponse.ProtoReflect.Descriptor instead.
func (*DouyinUserRegisterResponse) GetBaseResp ¶
func (x *DouyinUserRegisterResponse) GetBaseResp() *BaseResp
func (*DouyinUserRegisterResponse) GetToken ¶
func (x *DouyinUserRegisterResponse) GetToken() string
func (*DouyinUserRegisterResponse) GetUserId ¶
func (x *DouyinUserRegisterResponse) GetUserId() int64
func (*DouyinUserRegisterResponse) ProtoMessage ¶
func (*DouyinUserRegisterResponse) ProtoMessage()
func (*DouyinUserRegisterResponse) ProtoReflect ¶
func (x *DouyinUserRegisterResponse) ProtoReflect() protoreflect.Message
func (*DouyinUserRegisterResponse) Reset ¶
func (x *DouyinUserRegisterResponse) Reset()
func (*DouyinUserRegisterResponse) String ¶
func (x *DouyinUserRegisterResponse) String() string
type DouyinUserRequest ¶
type DouyinUserRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" query:"user_id"` // 用户id Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty" query:"token"` // 用户鉴权token // contains filtered or unexported fields }
User info
func (*DouyinUserRequest) Descriptor
deprecated
func (*DouyinUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DouyinUserRequest.ProtoReflect.Descriptor instead.
func (*DouyinUserRequest) GetToken ¶
func (x *DouyinUserRequest) GetToken() string
func (*DouyinUserRequest) GetUserId ¶
func (x *DouyinUserRequest) GetUserId() int64
func (*DouyinUserRequest) ProtoMessage ¶
func (*DouyinUserRequest) ProtoMessage()
func (*DouyinUserRequest) ProtoReflect ¶
func (x *DouyinUserRequest) ProtoReflect() protoreflect.Message
func (*DouyinUserRequest) Reset ¶
func (x *DouyinUserRequest) Reset()
func (*DouyinUserRequest) String ¶
func (x *DouyinUserRequest) String() string
type DouyinUserResponse ¶
type DouyinUserResponse struct { BaseResp *BaseResp `protobuf:"bytes,1,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty" form:"base_resp" query:"base_resp"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty" form:"user" query:"user"` // 用户信息 // contains filtered or unexported fields }
func (*DouyinUserResponse) Descriptor
deprecated
func (*DouyinUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DouyinUserResponse.ProtoReflect.Descriptor instead.
func (*DouyinUserResponse) GetBaseResp ¶
func (x *DouyinUserResponse) GetBaseResp() *BaseResp
func (*DouyinUserResponse) GetUser ¶
func (x *DouyinUserResponse) GetUser() *User
func (*DouyinUserResponse) ProtoMessage ¶
func (*DouyinUserResponse) ProtoMessage()
func (*DouyinUserResponse) ProtoReflect ¶
func (x *DouyinUserResponse) ProtoReflect() protoreflect.Message
func (*DouyinUserResponse) Reset ¶
func (x *DouyinUserResponse) Reset()
func (*DouyinUserResponse) String ¶
func (x *DouyinUserResponse) String() string
type User ¶
type User struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` // 用户id Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" form:"name" query:"name"` // 用户名称 FollowCount int64 `` // 关注总数--可选 /* 136-byte string literal not displayed */ FollowerCount int64 `` // 粉丝总数--可选 /* 146-byte string literal not displayed */ IsFollow bool `protobuf:"varint,5,opt,name=is_follow,json=isFollow,proto3" json:"is_follow,omitempty" form:"is_follow" query:"is_follow"` // true-已关注,false-未关注 // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetFollowCount ¶
func (*User) GetFollowerCount ¶
func (*User) GetIsFollow ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type Video ¶
type Video struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` // 视频唯一标识 Author *User `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty" form:"author" query:"author"` // 视频作者信息 PlayUrl string `protobuf:"bytes,3,opt,name=play_url,json=playUrl,proto3" json:"play_url,omitempty" form:"play_url" query:"play_url"` // 视频播放地址 CoverUrl string `protobuf:"bytes,4,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty" form:"cover_url" query:"cover_url"` // 视频封面地址 FavoriteCount int64 `` // 视频的点赞总数 /* 146-byte string literal not displayed */ CommentCount int64 `` // 视频的评论总数 /* 141-byte string literal not displayed */ IsFavorite bool `` // true-已点赞,false-未点赞 /* 131-byte string literal not displayed */ Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty" form:"title" query:"title"` // 视频标题 // contains filtered or unexported fields }
func (*Video) Descriptor
deprecated
func (*Video) GetCommentCount ¶
func (*Video) GetCoverUrl ¶
func (*Video) GetFavoriteCount ¶
func (*Video) GetIsFavorite ¶
func (*Video) GetPlayUrl ¶
func (*Video) ProtoMessage ¶
func (*Video) ProtoMessage()
func (*Video) ProtoReflect ¶
func (x *Video) ProtoReflect() protoreflect.Message