Documentation ¶
Index ¶
- Variables
- type FeedReq
- type FeedResp
- func (*FeedResp) Descriptor() ([]byte, []int)deprecated
- func (x *FeedResp) GetNextTime() int64
- func (x *FeedResp) GetStatusCode() int32
- func (x *FeedResp) GetStatusMsg() string
- func (x *FeedResp) GetVideoList() []*common.Video
- func (*FeedResp) ProtoMessage()
- func (x *FeedResp) ProtoReflect() protoreflect.Message
- func (x *FeedResp) Reset()
- func (x *FeedResp) String() string
- type PublishActionReq
- func (*PublishActionReq) Descriptor() ([]byte, []int)deprecated
- func (x *PublishActionReq) GetDataPath() string
- func (x *PublishActionReq) GetTitle() string
- func (x *PublishActionReq) GetToken() string
- func (*PublishActionReq) ProtoMessage()
- func (x *PublishActionReq) ProtoReflect() protoreflect.Message
- func (x *PublishActionReq) Reset()
- func (x *PublishActionReq) String() string
- type PublishActionResp
- func (*PublishActionResp) Descriptor() ([]byte, []int)deprecated
- func (x *PublishActionResp) GetStatusCode() int32
- func (x *PublishActionResp) GetStatusMsg() string
- func (*PublishActionResp) ProtoMessage()
- func (x *PublishActionResp) ProtoReflect() protoreflect.Message
- func (x *PublishActionResp) Reset()
- func (x *PublishActionResp) String() string
- type PublishListReq
- func (*PublishListReq) Descriptor() ([]byte, []int)deprecated
- func (x *PublishListReq) GetToken() string
- func (x *PublishListReq) GetUserId() int64
- func (*PublishListReq) ProtoMessage()
- func (x *PublishListReq) ProtoReflect() protoreflect.Message
- func (x *PublishListReq) Reset()
- func (x *PublishListReq) String() string
- type PublishListResp
- func (*PublishListResp) Descriptor() ([]byte, []int)deprecated
- func (x *PublishListResp) GetStatusCode() int32
- func (x *PublishListResp) GetStatusMsg() string
- func (x *PublishListResp) GetVideoList() []*common.Video
- func (*PublishListResp) ProtoMessage()
- func (x *PublishListResp) ProtoReflect() protoreflect.Message
- func (x *PublishListResp) Reset()
- func (x *PublishListResp) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_video_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FeedReq ¶
type FeedReq struct { LatestTime *int64 `protobuf:"varint,1,opt,name=latest_time,json=latestTime" json:"latest_time,omitempty" form:"latest_time" query:"latest_time"` // 可选参数,限制返回视频的最新投稿时间戳,精确到秒,不填表示当前时间 Token *string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty" form:"token" query:"token"` // 用户登录状态下设置 // contains filtered or unexported fields }
func (*FeedReq) Descriptor
deprecated
func (*FeedReq) GetLatestTime ¶
func (*FeedReq) ProtoMessage ¶
func (*FeedReq) ProtoMessage()
func (*FeedReq) ProtoReflect ¶
func (x *FeedReq) ProtoReflect() protoreflect.Message
type FeedResp ¶
type FeedResp 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"` // 返回状态描述 VideoList []*common.Video `protobuf:"bytes,3,rep,name=video_list,json=videoList" json:"video_list" form:"video_list" query:"video_list"` // 视频列表 NextTime *int64 `protobuf:"varint,4,opt,name=next_time,json=nextTime" json:"next_time,omitempty" form:"next_time" query:"next_time"` // 本次返回的视频中,发布最早的时间,作为下次请求时的latest_time // contains filtered or unexported fields }
func (*FeedResp) Descriptor
deprecated
func (*FeedResp) GetNextTime ¶
func (*FeedResp) GetStatusCode ¶
func (*FeedResp) GetStatusMsg ¶
func (*FeedResp) GetVideoList ¶
func (*FeedResp) ProtoMessage ¶
func (*FeedResp) ProtoMessage()
func (*FeedResp) ProtoReflect ¶
func (x *FeedResp) ProtoReflect() protoreflect.Message
type PublishActionReq ¶
type PublishActionReq struct { Token *string `protobuf:"bytes,1,req,name=token" json:"token,required" form:"token,required" query:"token,required"` // 用户鉴权token DataPath *string `` // 视频数据 /* 130-byte string literal not displayed */ Title *string `protobuf:"bytes,3,req,name=title" json:"title,required" form:"title,required" query:"title,required"` // 视频标题 // contains filtered or unexported fields }
func (*PublishActionReq) Descriptor
deprecated
func (*PublishActionReq) Descriptor() ([]byte, []int)
Deprecated: Use PublishActionReq.ProtoReflect.Descriptor instead.
func (*PublishActionReq) GetDataPath ¶
func (x *PublishActionReq) GetDataPath() string
func (*PublishActionReq) GetTitle ¶
func (x *PublishActionReq) GetTitle() string
func (*PublishActionReq) GetToken ¶
func (x *PublishActionReq) GetToken() string
func (*PublishActionReq) ProtoMessage ¶
func (*PublishActionReq) ProtoMessage()
func (*PublishActionReq) ProtoReflect ¶
func (x *PublishActionReq) ProtoReflect() protoreflect.Message
func (*PublishActionReq) Reset ¶
func (x *PublishActionReq) Reset()
func (*PublishActionReq) String ¶
func (x *PublishActionReq) String() string
type PublishActionResp ¶
type PublishActionResp 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 (*PublishActionResp) Descriptor
deprecated
func (*PublishActionResp) Descriptor() ([]byte, []int)
Deprecated: Use PublishActionResp.ProtoReflect.Descriptor instead.
func (*PublishActionResp) GetStatusCode ¶
func (x *PublishActionResp) GetStatusCode() int32
func (*PublishActionResp) GetStatusMsg ¶
func (x *PublishActionResp) GetStatusMsg() string
func (*PublishActionResp) ProtoMessage ¶
func (*PublishActionResp) ProtoMessage()
func (*PublishActionResp) ProtoReflect ¶
func (x *PublishActionResp) ProtoReflect() protoreflect.Message
func (*PublishActionResp) Reset ¶
func (x *PublishActionResp) Reset()
func (*PublishActionResp) String ¶
func (x *PublishActionResp) String() string
type PublishListReq ¶
type PublishListReq struct { UserId *int64 `protobuf:"varint,1,req,name=user_id,json=userId" json:"user_id,required" form:"user_id,required" query:"user_id,required"` // 用户鉴权token Token *string `protobuf:"bytes,2,req,name=token" json:"token,required" form:"token,required" query:"token,required"` // 用户id // contains filtered or unexported fields }
func (*PublishListReq) Descriptor
deprecated
func (*PublishListReq) Descriptor() ([]byte, []int)
Deprecated: Use PublishListReq.ProtoReflect.Descriptor instead.
func (*PublishListReq) GetToken ¶
func (x *PublishListReq) GetToken() string
func (*PublishListReq) GetUserId ¶
func (x *PublishListReq) GetUserId() int64
func (*PublishListReq) ProtoMessage ¶
func (*PublishListReq) ProtoMessage()
func (*PublishListReq) ProtoReflect ¶
func (x *PublishListReq) ProtoReflect() protoreflect.Message
func (*PublishListReq) Reset ¶
func (x *PublishListReq) Reset()
func (*PublishListReq) String ¶
func (x *PublishListReq) String() string
type PublishListResp ¶
type PublishListResp 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"` // 返回状态描述 VideoList []*common.Video `protobuf:"bytes,3,rep,name=video_list,json=videoList" json:"video_list" form:"video_list" query:"video_list"` // 用户发布的视频列表 // contains filtered or unexported fields }
func (*PublishListResp) Descriptor
deprecated
func (*PublishListResp) Descriptor() ([]byte, []int)
Deprecated: Use PublishListResp.ProtoReflect.Descriptor instead.
func (*PublishListResp) GetStatusCode ¶
func (x *PublishListResp) GetStatusCode() int32
func (*PublishListResp) GetStatusMsg ¶
func (x *PublishListResp) GetStatusMsg() string
func (*PublishListResp) GetVideoList ¶
func (x *PublishListResp) GetVideoList() []*common.Video
func (*PublishListResp) ProtoMessage ¶
func (*PublishListResp) ProtoMessage()
func (*PublishListResp) ProtoReflect ¶
func (x *PublishListResp) ProtoReflect() protoreflect.Message
func (*PublishListResp) Reset ¶
func (x *PublishListResp) Reset()
func (*PublishListResp) String ¶
func (x *PublishListResp) String() string
Click to show internal directories.
Click to hide internal directories.