server

package
v0.0.0-...-94c74a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetCategoryName

func (x *Data) GetCategoryName() string

func (*Data) GetCoverHzUrl

func (x *Data) GetCoverHzUrl() string

func (*Data) GetCoverVtUrl

func (x *Data) GetCoverVtUrl() string

func (*Data) GetCreateTime

func (x *Data) GetCreateTime() string

func (*Data) GetDescr

func (x *Data) GetDescr() string

func (*Data) GetExtra

func (x *Data) GetExtra() map[string]string

func (*Data) GetIsSeries

func (x *Data) GetIsSeries() bool

func (*Data) GetIsVip

func (x *Data) GetIsVip() bool

func (*Data) GetSeriesId

func (x *Data) GetSeriesId() string

func (*Data) GetSeriesTitle

func (x *Data) GetSeriesTitle() string

func (*Data) GetStatus

func (x *Data) GetStatus() string

func (*Data) GetTypeName

func (x *Data) GetTypeName() string

func (*Data) GetUpdateNum

func (x *Data) GetUpdateNum() uint32

func (*Data) GetVidNum

func (x *Data) GetVidNum() uint32

func (*Data) GetVideoList

func (x *Data) GetVideoList() []*Video

func (*Data) Len

func (x *Data) Len() int

func (*Data) Less

func (x *Data) Less(i, j int) bool

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

func (x *Data) ProtoReflect() protoreflect.Message

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

func (*Data) Swap

func (x *Data) Swap(i, j int)

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) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetCountry

func (x *Request) GetCountry() string

func (*Request) GetLength

func (x *Request) GetLength() int32

func (*Request) GetOffset

func (x *Request) GetOffset() int32

func (*Request) GetUrl

func (x *Request) GetUrl() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetCode

func (x *Response) GetCode() int32

func (*Response) GetMessage

func (x *Response) GetMessage() string

func (*Response) GetVideo

func (x *Response) GetVideo() *Data

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Video.ProtoReflect.Descriptor instead.

func (*Video) GetCoverUrl

func (x *Video) GetCoverUrl() string

func (*Video) GetDuration

func (x *Video) GetDuration() uint32

func (*Video) GetEpisode

func (x *Video) GetEpisode() uint32

func (*Video) GetEpisodeId

func (x *Video) GetEpisodeId() string

func (*Video) GetEpisodeTitle

func (x *Video) GetEpisodeTitle() string

func (*Video) GetExtra

func (x *Video) GetExtra() map[string]string

func (*Video) GetIsTrailer

func (x *Video) GetIsTrailer() bool

func (*Video) GetIsVip

func (x *Video) GetIsVip() bool

func (*Video) GetStatus

func (x *Video) GetStatus() string

func (*Video) GetSubTitle

func (x *Video) GetSubTitle() string

func (*Video) ProtoMessage

func (*Video) ProtoMessage()

func (*Video) ProtoReflect

func (x *Video) ProtoReflect() protoreflect.Message

func (*Video) Reset

func (x *Video) Reset()

func (*Video) String

func (x *Video) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL