Documentation
¶
Index ¶
- Variables
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetCategoryName() string
- func (x *Data) GetCoverHzUrl() string
- func (x *Data) GetCoverVtUrl() string
- func (x *Data) GetCreateTime() string
- func (x *Data) GetDescr() string
- func (x *Data) GetExtra() map[string]string
- func (x *Data) GetIsSeries() bool
- func (x *Data) GetIsVip() bool
- func (x *Data) GetSeriesId() string
- func (x *Data) GetSeriesTitle() string
- func (x *Data) GetStatus() string
- func (x *Data) GetTypeName() string
- func (x *Data) GetUpdateNum() uint32
- func (x *Data) GetVidNum() uint32
- func (x *Data) GetVideoList() []*Video
- func (x *Data) Len() int
- func (x *Data) Less(i, j int) bool
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- func (x *Data) Swap(i, j int)
- type HelloRequest
- type HelloResponse
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetCountry() string
- func (x *Request) GetLength() int32
- func (x *Request) GetOffset() int32
- func (x *Request) GetUrl() string
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetCode() int32
- func (x *Response) GetMessage() string
- func (x *Response) GetVideo() *Data
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type Video
- func (*Video) Descriptor() ([]byte, []int)deprecated
- func (x *Video) GetCoverUrl() string
- func (x *Video) GetDuration() uint32
- func (x *Video) GetEpisode() uint32
- func (x *Video) GetEpisodeId() string
- func (x *Video) GetEpisodeTitle() string
- func (x *Video) GetExtra() map[string]string
- func (x *Video) GetIsTrailer() bool
- func (x *Video) GetIsVip() bool
- func (x *Video) GetStatus() string
- func (x *Video) GetSubTitle() 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 ¶
View Source
var File_ddddlist_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct {
SeriesId string `protobuf:"bytes,1,opt,name=SeriesId,proto3" json:"SeriesId,omitempty"`
SeriesTitle string `protobuf:"bytes,2,opt,name=SeriesTitle,proto3" json:"SeriesTitle,omitempty"`
Descr string `protobuf:"bytes,3,opt,name=descr,proto3" json:"descr,omitempty"`
VideoList []*Video `protobuf:"bytes,4,rep,name=videoList,proto3" json:"videoList,omitempty"`
IsVip bool `protobuf:"varint,5,opt,name=isVip,proto3" json:"isVip,omitempty"`
CoverHzUrl string `protobuf:"bytes,6,opt,name=coverHzUrl,proto3" json:"coverHzUrl,omitempty"`
CoverVtUrl string `protobuf:"bytes,7,opt,name=coverVtUrl,proto3" json:"coverVtUrl,omitempty"`
TypeName string `protobuf:"bytes,8,opt,name=typeName,proto3" json:"typeName,omitempty"`
CategoryName string `protobuf:"bytes,9,opt,name=categoryName,proto3" json:"categoryName,omitempty"`
VidNum uint32 `protobuf:"varint,10,opt,name=vidNum,proto3" json:"vidNum,omitempty"`
UpdateNum uint32 `protobuf:"varint,11,opt,name=updateNum,proto3" json:"updateNum,omitempty"`
Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
CreateTime string `protobuf:"bytes,13,opt,name=createTime,proto3" json:"createTime,omitempty"`
IsSeries bool `protobuf:"varint,14,opt,name=IsSeries,proto3" json:"IsSeries,omitempty"`
Extra map[string]string `` /* 152-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Data) Descriptor
deprecated
func (*Data) GetCategoryName ¶
func (*Data) GetCoverHzUrl ¶
func (*Data) GetCoverVtUrl ¶
func (*Data) GetCreateTime ¶
func (*Data) GetIsSeries ¶
func (*Data) GetSeriesId ¶
func (*Data) GetSeriesTitle ¶
func (*Data) GetTypeName ¶
func (*Data) GetUpdateNum ¶
func (*Data) GetVideoList ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type HelloRequest ¶
type HelloRequest struct {
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
// contains filtered or unexported fields
}
func (*HelloRequest) Descriptor
deprecated
func (*HelloRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.
func (*HelloRequest) GetMsg ¶
func (x *HelloRequest) GetMsg() string
func (*HelloRequest) ProtoMessage ¶
func (*HelloRequest) ProtoMessage()
func (*HelloRequest) ProtoReflect ¶
func (x *HelloRequest) ProtoReflect() protoreflect.Message
func (*HelloRequest) Reset ¶
func (x *HelloRequest) Reset()
func (*HelloRequest) String ¶
func (x *HelloRequest) String() string
type HelloResponse ¶
type HelloResponse struct {
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
// contains filtered or unexported fields
}
func (*HelloResponse) Descriptor
deprecated
func (*HelloResponse) Descriptor() ([]byte, []int)
Deprecated: Use HelloResponse.ProtoReflect.Descriptor instead.
func (*HelloResponse) GetMsg ¶
func (x *HelloResponse) GetMsg() string
func (*HelloResponse) ProtoMessage ¶
func (*HelloResponse) ProtoMessage()
func (*HelloResponse) ProtoReflect ¶
func (x *HelloResponse) ProtoReflect() protoreflect.Message
func (*HelloResponse) Reset ¶
func (x *HelloResponse) Reset()
func (*HelloResponse) String ¶
func (x *HelloResponse) String() string
type Request ¶
type Request struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
Length int32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"`
Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
func (*Request) Descriptor
deprecated
func (*Request) GetCountry ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Video *Data `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"`
// contains filtered or unexported fields
}
func (*Response) Descriptor
deprecated
func (*Response) GetMessage ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type Video ¶
type Video struct {
EpisodeTitle string `protobuf:"bytes,1,opt,name=EpisodeTitle,proto3" json:"EpisodeTitle,omitempty"`
EpisodeId string `protobuf:"bytes,2,opt,name=EpisodeId,proto3" json:"EpisodeId,omitempty"`
SubTitle string `protobuf:"bytes,3,opt,name=subTitle,proto3" json:"subTitle,omitempty"`
CoverUrl string `protobuf:"bytes,4,opt,name=coverUrl,proto3" json:"coverUrl,omitempty"`
IsTrailer bool `protobuf:"varint,5,opt,name=isTrailer,proto3" json:"isTrailer,omitempty"`
IsVip bool `protobuf:"varint,8,opt,name=isVip,proto3" json:"isVip,omitempty"`
Duration uint32 `protobuf:"varint,9,opt,name=duration,proto3" json:"duration,omitempty"`
Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
Episode uint32 `protobuf:"varint,12,opt,name=episode,proto3" json:"episode,omitempty"`
Extra map[string]string `` /* 152-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Video) Descriptor
deprecated
func (*Video) GetCoverUrl ¶
func (*Video) GetDuration ¶
func (*Video) GetEpisode ¶
func (*Video) GetEpisodeId ¶
func (*Video) GetEpisodeTitle ¶
func (*Video) GetIsTrailer ¶
func (*Video) GetSubTitle ¶
func (*Video) ProtoMessage ¶
func (*Video) ProtoMessage()
func (*Video) ProtoReflect ¶
func (x *Video) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.