Documentation
¶
Overview ¶
Package v1 is a generated protocol buffer package.
It is generated from these files:
app/service/openplatform/pgc-season/api/grpc/season/v1/service.proto app/service/openplatform/pgc-season/api/grpc/season/v1/model.proto
It has these top-level messages:
SeasonInfoReq CardsInfoReply SeasonIdReq ProfileInfoReply SeasonAidReq SectionReq SectionReply SeriesSeasonReq SeriesSeasonReply TimelineReq TimelineReply CardInfoProto ProfileInfoProto RatingProto NewEpProto StatsProto RightsProto SeriesProto SectionProto SeriesSeasonProto SeriesSeasonsProto PublishProto TimelineProto TimelineEpisodeProto EmptyProto
Index ¶
- Constants
- Variables
- func RegisterSeasonServer(s *grpc.Server, srv SeasonServer)
- type CardInfoProto
- func (*CardInfoProto) Descriptor() ([]byte, []int)
- func (m *CardInfoProto) GetBadge() string
- func (m *CardInfoProto) GetBadgeType() int32
- func (m *CardInfoProto) GetCover() string
- func (m *CardInfoProto) GetIsFinish() int32
- func (m *CardInfoProto) GetIsPlay() int32
- func (m *CardInfoProto) GetIsStarted() int32
- func (m *CardInfoProto) GetMediaId() int32
- func (m *CardInfoProto) GetNewEp() *NewEpProto
- func (m *CardInfoProto) GetRating() *RatingProto
- func (m *CardInfoProto) GetRights() *RightsProto
- func (m *CardInfoProto) GetSeasonId() int32
- func (m *CardInfoProto) GetSeasonStatus() int32
- func (m *CardInfoProto) GetSeasonTitle() string
- func (m *CardInfoProto) GetSeasonType() int32
- func (m *CardInfoProto) GetSeasonTypeName() string
- func (m *CardInfoProto) GetSquareCover() string
- func (m *CardInfoProto) GetStat() *StatsProto
- func (m *CardInfoProto) GetTitle() string
- func (m *CardInfoProto) GetTotalCount() int32
- func (m *CardInfoProto) Marshal() (dAtA []byte, err error)
- func (m *CardInfoProto) MarshalTo(dAtA []byte) (int, error)
- func (*CardInfoProto) ProtoMessage()
- func (m *CardInfoProto) Reset()
- func (m *CardInfoProto) Size() (n int)
- func (m *CardInfoProto) String() string
- func (m *CardInfoProto) Unmarshal(dAtA []byte) error
- type CardsInfoReply
- func (*CardsInfoReply) Descriptor() ([]byte, []int)
- func (m *CardsInfoReply) GetCards() map[int32]*CardInfoProto
- func (m *CardsInfoReply) Marshal() (dAtA []byte, err error)
- func (m *CardsInfoReply) MarshalTo(dAtA []byte) (int, error)
- func (*CardsInfoReply) ProtoMessage()
- func (m *CardsInfoReply) Reset()
- func (m *CardsInfoReply) Size() (n int)
- func (m *CardsInfoReply) String() string
- func (m *CardsInfoReply) Unmarshal(dAtA []byte) error
- type EmptyProto
- func (*EmptyProto) Descriptor() ([]byte, []int)
- func (m *EmptyProto) Marshal() (dAtA []byte, err error)
- func (m *EmptyProto) MarshalTo(dAtA []byte) (int, error)
- func (*EmptyProto) ProtoMessage()
- func (m *EmptyProto) Reset()
- func (m *EmptyProto) Size() (n int)
- func (m *EmptyProto) String() string
- func (m *EmptyProto) Unmarshal(dAtA []byte) error
- type NewEpProto
- func (*NewEpProto) Descriptor() ([]byte, []int)
- func (m *NewEpProto) GetCover() string
- func (m *NewEpProto) GetId() int32
- func (m *NewEpProto) GetIndexShow() string
- func (m *NewEpProto) GetLongTitle() string
- func (m *NewEpProto) GetPubTime() string
- func (m *NewEpProto) GetTitle() string
- func (m *NewEpProto) Marshal() (dAtA []byte, err error)
- func (m *NewEpProto) MarshalTo(dAtA []byte) (int, error)
- func (*NewEpProto) ProtoMessage()
- func (m *NewEpProto) Reset()
- func (m *NewEpProto) Size() (n int)
- func (m *NewEpProto) String() string
- func (m *NewEpProto) Unmarshal(dAtA []byte) error
- type ProfileInfoProto
- func (*ProfileInfoProto) Descriptor() ([]byte, []int)
- func (m *ProfileInfoProto) GetBadge() string
- func (m *ProfileInfoProto) GetBadgeType() int32
- func (m *ProfileInfoProto) GetCover() string
- func (m *ProfileInfoProto) GetEvaluate() string
- func (m *ProfileInfoProto) GetIsFinish() int32
- func (m *ProfileInfoProto) GetIsPlay() int32
- func (m *ProfileInfoProto) GetIsStarted() int32
- func (m *ProfileInfoProto) GetMediaId() int32
- func (m *ProfileInfoProto) GetMid() int64
- func (m *ProfileInfoProto) GetMode() int32
- func (m *ProfileInfoProto) GetNewEp() *NewEpProto
- func (m *ProfileInfoProto) GetPublish() *PublishProto
- func (m *ProfileInfoProto) GetRating() *RatingProto
- func (m *ProfileInfoProto) GetRecord() string
- func (m *ProfileInfoProto) GetRenewalTime() string
- func (m *ProfileInfoProto) GetRights() *RightsProto
- func (m *ProfileInfoProto) GetSeasonId() int32
- func (m *ProfileInfoProto) GetSeasonStatus() int32
- func (m *ProfileInfoProto) GetSeasonTitle() string
- func (m *ProfileInfoProto) GetSeasonType() int32
- func (m *ProfileInfoProto) GetSeasonTypeName() string
- func (m *ProfileInfoProto) GetSection() []*SectionProto
- func (m *ProfileInfoProto) GetSeries() *SeriesProto
- func (m *ProfileInfoProto) GetSquareCover() string
- func (m *ProfileInfoProto) GetStat() *StatsProto
- func (m *ProfileInfoProto) GetTitle() string
- func (m *ProfileInfoProto) GetTotalCount() int32
- func (m *ProfileInfoProto) Marshal() (dAtA []byte, err error)
- func (m *ProfileInfoProto) MarshalTo(dAtA []byte) (int, error)
- func (*ProfileInfoProto) ProtoMessage()
- func (m *ProfileInfoProto) Reset()
- func (m *ProfileInfoProto) Size() (n int)
- func (m *ProfileInfoProto) String() string
- func (m *ProfileInfoProto) Unmarshal(dAtA []byte) error
- type ProfileInfoReply
- func (*ProfileInfoReply) Descriptor() ([]byte, []int)
- func (m *ProfileInfoReply) GetProfile() *ProfileInfoProto
- func (m *ProfileInfoReply) Marshal() (dAtA []byte, err error)
- func (m *ProfileInfoReply) MarshalTo(dAtA []byte) (int, error)
- func (*ProfileInfoReply) ProtoMessage()
- func (m *ProfileInfoReply) Reset()
- func (m *ProfileInfoReply) Size() (n int)
- func (m *ProfileInfoReply) String() string
- func (m *ProfileInfoReply) Unmarshal(dAtA []byte) error
- type PublishProto
- func (*PublishProto) Descriptor() ([]byte, []int)
- func (m *PublishProto) GetPubTime() string
- func (m *PublishProto) GetPubTimeShow() string
- func (m *PublishProto) Marshal() (dAtA []byte, err error)
- func (m *PublishProto) MarshalTo(dAtA []byte) (int, error)
- func (*PublishProto) ProtoMessage()
- func (m *PublishProto) Reset()
- func (m *PublishProto) Size() (n int)
- func (m *PublishProto) String() string
- func (m *PublishProto) Unmarshal(dAtA []byte) error
- type RatingProto
- func (*RatingProto) Descriptor() ([]byte, []int)
- func (m *RatingProto) GetCount() int32
- func (m *RatingProto) GetScore() float32
- func (m *RatingProto) Marshal() (dAtA []byte, err error)
- func (m *RatingProto) MarshalTo(dAtA []byte) (int, error)
- func (*RatingProto) ProtoMessage()
- func (m *RatingProto) Reset()
- func (m *RatingProto) Size() (n int)
- func (m *RatingProto) String() string
- func (m *RatingProto) Unmarshal(dAtA []byte) error
- type RightsProto
- func (*RightsProto) Descriptor() ([]byte, []int)
- func (m *RightsProto) GetAllowBp() int32
- func (m *RightsProto) GetAllowDownload() int32
- func (m *RightsProto) GetAllowPreview() int32
- func (m *RightsProto) GetAllowReview() int32
- func (m *RightsProto) Marshal() (dAtA []byte, err error)
- func (m *RightsProto) MarshalTo(dAtA []byte) (int, error)
- func (*RightsProto) ProtoMessage()
- func (m *RightsProto) Reset()
- func (m *RightsProto) Size() (n int)
- func (m *RightsProto) String() string
- func (m *RightsProto) Unmarshal(dAtA []byte) error
- type SeasonAidReq
- func (*SeasonAidReq) Descriptor() ([]byte, []int)
- func (m *SeasonAidReq) GetAids() []int32
- func (m *SeasonAidReq) Marshal() (dAtA []byte, err error)
- func (m *SeasonAidReq) MarshalTo(dAtA []byte) (int, error)
- func (*SeasonAidReq) ProtoMessage()
- func (m *SeasonAidReq) Reset()
- func (m *SeasonAidReq) Size() (n int)
- func (m *SeasonAidReq) String() string
- func (m *SeasonAidReq) Unmarshal(dAtA []byte) error
- type SeasonClient
- type SeasonIdReq
- func (*SeasonIdReq) Descriptor() ([]byte, []int)
- func (m *SeasonIdReq) GetSeasonId() int32
- func (m *SeasonIdReq) Marshal() (dAtA []byte, err error)
- func (m *SeasonIdReq) MarshalTo(dAtA []byte) (int, error)
- func (*SeasonIdReq) ProtoMessage()
- func (m *SeasonIdReq) Reset()
- func (m *SeasonIdReq) Size() (n int)
- func (m *SeasonIdReq) String() string
- func (m *SeasonIdReq) Unmarshal(dAtA []byte) error
- type SeasonInfoReq
- func (*SeasonInfoReq) Descriptor() ([]byte, []int)
- func (m *SeasonInfoReq) GetSeasonIds() []int32
- func (m *SeasonInfoReq) Marshal() (dAtA []byte, err error)
- func (m *SeasonInfoReq) MarshalTo(dAtA []byte) (int, error)
- func (*SeasonInfoReq) ProtoMessage()
- func (m *SeasonInfoReq) Reset()
- func (m *SeasonInfoReq) Size() (n int)
- func (m *SeasonInfoReq) String() string
- func (m *SeasonInfoReq) Unmarshal(dAtA []byte) error
- type SeasonServer
- type SectionProto
- func (*SectionProto) Descriptor() ([]byte, []int)
- func (m *SectionProto) GetBanAreaShow() int32
- func (m *SectionProto) GetCopyright() string
- func (m *SectionProto) GetLimitGroup() int32
- func (m *SectionProto) GetSeasonId() int32
- func (m *SectionProto) GetSectionId() int32
- func (m *SectionProto) GetTitle() string
- func (m *SectionProto) GetType() int32
- func (m *SectionProto) GetWatchPlatform() int32
- func (m *SectionProto) Marshal() (dAtA []byte, err error)
- func (m *SectionProto) MarshalTo(dAtA []byte) (int, error)
- func (*SectionProto) ProtoMessage()
- func (m *SectionProto) Reset()
- func (m *SectionProto) Size() (n int)
- func (m *SectionProto) String() string
- func (m *SectionProto) Unmarshal(dAtA []byte) error
- type SectionReply
- func (*SectionReply) Descriptor() ([]byte, []int)
- func (m *SectionReply) GetSections() map[int32]*SectionProto
- func (m *SectionReply) Marshal() (dAtA []byte, err error)
- func (m *SectionReply) MarshalTo(dAtA []byte) (int, error)
- func (*SectionReply) ProtoMessage()
- func (m *SectionReply) Reset()
- func (m *SectionReply) Size() (n int)
- func (m *SectionReply) String() string
- func (m *SectionReply) Unmarshal(dAtA []byte) error
- type SectionReq
- func (*SectionReq) Descriptor() ([]byte, []int)
- func (m *SectionReq) GetSeasonIds() []int32
- func (m *SectionReq) Marshal() (dAtA []byte, err error)
- func (m *SectionReq) MarshalTo(dAtA []byte) (int, error)
- func (*SectionReq) ProtoMessage()
- func (m *SectionReq) Reset()
- func (m *SectionReq) Size() (n int)
- func (m *SectionReq) String() string
- func (m *SectionReq) Unmarshal(dAtA []byte) error
- type SeriesProto
- func (*SeriesProto) Descriptor() ([]byte, []int)
- func (m *SeriesProto) GetSeriesId() int32
- func (m *SeriesProto) GetTitle() string
- func (m *SeriesProto) Marshal() (dAtA []byte, err error)
- func (m *SeriesProto) MarshalTo(dAtA []byte) (int, error)
- func (*SeriesProto) ProtoMessage()
- func (m *SeriesProto) Reset()
- func (m *SeriesProto) Size() (n int)
- func (m *SeriesProto) String() string
- func (m *SeriesProto) Unmarshal(dAtA []byte) error
- type SeriesSeasonProto
- func (*SeriesSeasonProto) Descriptor() ([]byte, []int)
- func (m *SeriesSeasonProto) GetNewEp() *NewEpProto
- func (m *SeriesSeasonProto) GetSeasonId() int32
- func (m *SeriesSeasonProto) GetSeasonTitle() string
- func (m *SeriesSeasonProto) Marshal() (dAtA []byte, err error)
- func (m *SeriesSeasonProto) MarshalTo(dAtA []byte) (int, error)
- func (*SeriesSeasonProto) ProtoMessage()
- func (m *SeriesSeasonProto) Reset()
- func (m *SeriesSeasonProto) Size() (n int)
- func (m *SeriesSeasonProto) String() string
- func (m *SeriesSeasonProto) Unmarshal(dAtA []byte) error
- type SeriesSeasonReply
- func (*SeriesSeasonReply) Descriptor() ([]byte, []int)
- func (m *SeriesSeasonReply) GetSeasons() map[int32]*SeriesSeasonsProto
- func (m *SeriesSeasonReply) Marshal() (dAtA []byte, err error)
- func (m *SeriesSeasonReply) MarshalTo(dAtA []byte) (int, error)
- func (*SeriesSeasonReply) ProtoMessage()
- func (m *SeriesSeasonReply) Reset()
- func (m *SeriesSeasonReply) Size() (n int)
- func (m *SeriesSeasonReply) String() string
- func (m *SeriesSeasonReply) Unmarshal(dAtA []byte) error
- type SeriesSeasonReq
- func (*SeriesSeasonReq) Descriptor() ([]byte, []int)
- func (m *SeriesSeasonReq) GetSeriesIds() []int32
- func (m *SeriesSeasonReq) Marshal() (dAtA []byte, err error)
- func (m *SeriesSeasonReq) MarshalTo(dAtA []byte) (int, error)
- func (*SeriesSeasonReq) ProtoMessage()
- func (m *SeriesSeasonReq) Reset()
- func (m *SeriesSeasonReq) Size() (n int)
- func (m *SeriesSeasonReq) String() string
- func (m *SeriesSeasonReq) Unmarshal(dAtA []byte) error
- type SeriesSeasonsProto
- func (*SeriesSeasonsProto) Descriptor() ([]byte, []int)
- func (m *SeriesSeasonsProto) GetSeriesSeasons() []*SeriesSeasonProto
- func (m *SeriesSeasonsProto) Marshal() (dAtA []byte, err error)
- func (m *SeriesSeasonsProto) MarshalTo(dAtA []byte) (int, error)
- func (*SeriesSeasonsProto) ProtoMessage()
- func (m *SeriesSeasonsProto) Reset()
- func (m *SeriesSeasonsProto) Size() (n int)
- func (m *SeriesSeasonsProto) String() string
- func (m *SeriesSeasonsProto) Unmarshal(dAtA []byte) error
- type StatsProto
- func (*StatsProto) Descriptor() ([]byte, []int)
- func (m *StatsProto) GetDanmaku() int64
- func (m *StatsProto) GetFollow() int64
- func (m *StatsProto) GetView() int64
- func (m *StatsProto) Marshal() (dAtA []byte, err error)
- func (m *StatsProto) MarshalTo(dAtA []byte) (int, error)
- func (*StatsProto) ProtoMessage()
- func (m *StatsProto) Reset()
- func (m *StatsProto) Size() (n int)
- func (m *StatsProto) String() string
- func (m *StatsProto) Unmarshal(dAtA []byte) error
- type TimelineEpisodeProto
- func (*TimelineEpisodeProto) Descriptor() ([]byte, []int)
- func (m *TimelineEpisodeProto) GetCover() string
- func (m *TimelineEpisodeProto) GetDelay() int32
- func (m *TimelineEpisodeProto) GetDelayId() int32
- func (m *TimelineEpisodeProto) GetDelayIndex() string
- func (m *TimelineEpisodeProto) GetDelayReason() string
- func (m *TimelineEpisodeProto) GetEpisodeId() int32
- func (m *TimelineEpisodeProto) GetFavorites() int64
- func (m *TimelineEpisodeProto) GetFollow() int32
- func (m *TimelineEpisodeProto) GetPubIndex() string
- func (m *TimelineEpisodeProto) GetPubTime() string
- func (m *TimelineEpisodeProto) GetPubTs() int64
- func (m *TimelineEpisodeProto) GetPublished() int32
- func (m *TimelineEpisodeProto) GetSeasonId() int32
- func (m *TimelineEpisodeProto) GetSquareCover() string
- func (m *TimelineEpisodeProto) GetTitle() string
- func (m *TimelineEpisodeProto) Marshal() (dAtA []byte, err error)
- func (m *TimelineEpisodeProto) MarshalTo(dAtA []byte) (int, error)
- func (*TimelineEpisodeProto) ProtoMessage()
- func (m *TimelineEpisodeProto) Reset()
- func (m *TimelineEpisodeProto) Size() (n int)
- func (m *TimelineEpisodeProto) String() string
- func (m *TimelineEpisodeProto) Unmarshal(dAtA []byte) error
- type TimelineProto
- func (*TimelineProto) Descriptor() ([]byte, []int)
- func (m *TimelineProto) GetDate() string
- func (m *TimelineProto) GetDateTs() int64
- func (m *TimelineProto) GetDayOfWeek() int32
- func (m *TimelineProto) GetEpisodes() []*TimelineEpisodeProto
- func (m *TimelineProto) GetIsToday() int32
- func (m *TimelineProto) Marshal() (dAtA []byte, err error)
- func (m *TimelineProto) MarshalTo(dAtA []byte) (int, error)
- func (*TimelineProto) ProtoMessage()
- func (m *TimelineProto) Reset()
- func (m *TimelineProto) Size() (n int)
- func (m *TimelineProto) String() string
- func (m *TimelineProto) Unmarshal(dAtA []byte) error
- type TimelineReply
- func (*TimelineReply) Descriptor() ([]byte, []int)
- func (m *TimelineReply) GetTimeline() []*TimelineProto
- func (m *TimelineReply) Marshal() (dAtA []byte, err error)
- func (m *TimelineReply) MarshalTo(dAtA []byte) (int, error)
- func (*TimelineReply) ProtoMessage()
- func (m *TimelineReply) Reset()
- func (m *TimelineReply) Size() (n int)
- func (m *TimelineReply) String() string
- func (m *TimelineReply) Unmarshal(dAtA []byte) error
- type TimelineReq
- func (*TimelineReq) Descriptor() ([]byte, []int)
- func (m *TimelineReq) GetEnd() int64
- func (m *TimelineReq) GetSort() int32
- func (m *TimelineReq) GetStart() int64
- func (m *TimelineReq) GetTypes() []int32
- func (m *TimelineReq) Marshal() (dAtA []byte, err error)
- func (m *TimelineReq) MarshalTo(dAtA []byte) (int, error)
- func (*TimelineReq) ProtoMessage()
- func (m *TimelineReq) Reset()
- func (m *TimelineReq) Size() (n int)
- func (m *TimelineReq) String() string
- func (m *TimelineReq) Unmarshal(dAtA []byte) error
Constants ¶
View Source
const DiscoveryID = "season.service"
DiscoveryID season
Variables ¶
View Source
var ( ErrInvalidLengthModel = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModel = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthService = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowService = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterSeasonServer ¶
func RegisterSeasonServer(s *grpc.Server, srv SeasonServer)
Types ¶
type CardInfoProto ¶
type CardInfoProto struct { // season_id SeasonId int32 `protobuf:"varint,1,opt,name=season_id,json=seasonId,proto3" json:"season_id,omitempty"` // media_id MediaId int32 `protobuf:"varint,2,opt,name=media_id,json=mediaId,proto3" json:"media_id,omitempty"` // season类型 1:番剧,2:电影,3:纪录片,4:国漫,5:电视剧 SeasonType int32 `protobuf:"varint,3,opt,name=season_type,json=seasonType,proto3" json:"season_type,omitempty"` // season类型显示名 1:番剧,2:电影,3:纪录片,4:国漫,5:电视剧 SeasonTypeName string `protobuf:"bytes,4,opt,name=season_type_name,json=seasonTypeName,proto3" json:"season_type_name,omitempty"` // 标题 Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` // 封面 Cover string `protobuf:"bytes,6,opt,name=cover,proto3" json:"cover,omitempty"` // 总集数 TotalCount int32 `protobuf:"varint,7,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // 是否完结 1完结 0未完结 IsFinish int32 `protobuf:"varint,8,opt,name=is_finish,json=isFinish,proto3" json:"is_finish,omitempty"` // 是否开播 1开播 0未开播 IsStarted int32 `protobuf:"varint,9,opt,name=is_started,json=isStarted,proto3" json:"is_started,omitempty"` // 是否可以播放 0-不可以 1-可以 IsPlay int32 `protobuf:"varint,10,opt,name=is_play,json=isPlay,proto3" json:"is_play,omitempty"` // 角标文字,如“抢先”这种 Badge string `protobuf:"bytes,11,opt,name=badge,proto3" json:"badge,omitempty"` // 角标类型,0粉色,1蓝色,2橙色 BadgeType int32 `protobuf:"varint,12,opt,name=badge_type,json=badgeType,proto3" json:"badge_type,omitempty"` // 扩展字段开关 Rights *RightsProto `protobuf:"bytes,13,opt,name=rights" json:"rights,omitempty"` // 计数统计 Stat *StatsProto `protobuf:"bytes,14,opt,name=stat" json:"stat,omitempty"` // 最新一话相关信息 NewEp *NewEpProto `protobuf:"bytes,15,opt,name=new_ep,json=newEp" json:"new_ep,omitempty"` // 评分信息 Rating *RatingProto `protobuf:"bytes,16,opt,name=rating" json:"rating,omitempty"` // 方图 SquareCover string `protobuf:"bytes,17,opt,name=square_cover,json=squareCover,proto3" json:"square_cover,omitempty"` // season付费状态 SeasonStatus int32 `protobuf:"varint,18,opt,name=season_status,json=seasonStatus,proto3" json:"season_status,omitempty"` // 分季标题 第一季 SeasonTitle string `protobuf:"bytes,19,opt,name=season_title,json=seasonTitle,proto3" json:"season_title,omitempty"` }
CardInfoProto .
func (*CardInfoProto) Descriptor ¶
func (*CardInfoProto) Descriptor() ([]byte, []int)
func (*CardInfoProto) GetBadge ¶
func (m *CardInfoProto) GetBadge() string
func (*CardInfoProto) GetBadgeType ¶
func (m *CardInfoProto) GetBadgeType() int32
func (*CardInfoProto) GetCover ¶
func (m *CardInfoProto) GetCover() string
func (*CardInfoProto) GetIsFinish ¶
func (m *CardInfoProto) GetIsFinish() int32
func (*CardInfoProto) GetIsPlay ¶
func (m *CardInfoProto) GetIsPlay() int32
func (*CardInfoProto) GetIsStarted ¶
func (m *CardInfoProto) GetIsStarted() int32
func (*CardInfoProto) GetMediaId ¶
func (m *CardInfoProto) GetMediaId() int32
func (*CardInfoProto) GetNewEp ¶
func (m *CardInfoProto) GetNewEp() *NewEpProto
func (*CardInfoProto) GetRating ¶
func (m *CardInfoProto) GetRating() *RatingProto
func (*CardInfoProto) GetRights ¶
func (m *CardInfoProto) GetRights() *RightsProto
func (*CardInfoProto) GetSeasonId ¶
func (m *CardInfoProto) GetSeasonId() int32
func (*CardInfoProto) GetSeasonStatus ¶
func (m *CardInfoProto) GetSeasonStatus() int32
func (*CardInfoProto) GetSeasonTitle ¶
func (m *CardInfoProto) GetSeasonTitle() string
func (*CardInfoProto) GetSeasonType ¶
func (m *CardInfoProto) GetSeasonType() int32
func (*CardInfoProto) GetSeasonTypeName ¶
func (m *CardInfoProto) GetSeasonTypeName() string
func (*CardInfoProto) GetSquareCover ¶
func (m *CardInfoProto) GetSquareCover() string
func (*CardInfoProto) GetStat ¶
func (m *CardInfoProto) GetStat() *StatsProto
func (*CardInfoProto) GetTitle ¶
func (m *CardInfoProto) GetTitle() string
func (*CardInfoProto) GetTotalCount ¶
func (m *CardInfoProto) GetTotalCount() int32
func (*CardInfoProto) Marshal ¶
func (m *CardInfoProto) Marshal() (dAtA []byte, err error)
func (*CardInfoProto) ProtoMessage ¶
func (*CardInfoProto) ProtoMessage()
func (*CardInfoProto) Reset ¶
func (m *CardInfoProto) Reset()
func (*CardInfoProto) Size ¶
func (m *CardInfoProto) Size() (n int)
func (*CardInfoProto) String ¶
func (m *CardInfoProto) String() string
func (*CardInfoProto) Unmarshal ¶
func (m *CardInfoProto) Unmarshal(dAtA []byte) error
type CardsInfoReply ¶
type CardsInfoReply struct { // cards Cards map[int32]*CardInfoProto `` /* 138-byte string literal not displayed */ }
CardsInfoReply 卡片列表返回值
func (*CardsInfoReply) Descriptor ¶
func (*CardsInfoReply) Descriptor() ([]byte, []int)
func (*CardsInfoReply) GetCards ¶
func (m *CardsInfoReply) GetCards() map[int32]*CardInfoProto
func (*CardsInfoReply) Marshal ¶
func (m *CardsInfoReply) Marshal() (dAtA []byte, err error)
func (*CardsInfoReply) ProtoMessage ¶
func (*CardsInfoReply) ProtoMessage()
func (*CardsInfoReply) Reset ¶
func (m *CardsInfoReply) Reset()
func (*CardsInfoReply) Size ¶
func (m *CardsInfoReply) Size() (n int)
func (*CardsInfoReply) String ¶
func (m *CardsInfoReply) String() string
func (*CardsInfoReply) Unmarshal ¶
func (m *CardsInfoReply) Unmarshal(dAtA []byte) error
type EmptyProto ¶
type EmptyProto struct { }
EmptyProto
func (*EmptyProto) Descriptor ¶
func (*EmptyProto) Descriptor() ([]byte, []int)
func (*EmptyProto) Marshal ¶
func (m *EmptyProto) Marshal() (dAtA []byte, err error)
func (*EmptyProto) ProtoMessage ¶
func (*EmptyProto) ProtoMessage()
func (*EmptyProto) Reset ¶
func (m *EmptyProto) Reset()
func (*EmptyProto) Size ¶
func (m *EmptyProto) Size() (n int)
func (*EmptyProto) String ¶
func (m *EmptyProto) String() string
func (*EmptyProto) Unmarshal ¶
func (m *EmptyProto) Unmarshal(dAtA []byte) error
type NewEpProto ¶
type NewEpProto struct { // epid Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 更新至xx话 IndexShow string `protobuf:"bytes,2,opt,name=index_show,json=indexShow,proto3" json:"index_show,omitempty"` // 最新一话封面 Cover string `protobuf:"bytes,3,opt,name=cover,proto3" json:"cover,omitempty"` // 最新一话短标题 Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // 最新一话长标题 LongTitle string `protobuf:"bytes,5,opt,name=long_title,json=longTitle,proto3" json:"long_title,omitempty"` // 上线时间 PubTime string `protobuf:"bytes,6,opt,name=pub_time,json=pubTime,proto3" json:"pub_time,omitempty"` }
NewEpProto 最新一话相关信息
func (*NewEpProto) Descriptor ¶
func (*NewEpProto) Descriptor() ([]byte, []int)
func (*NewEpProto) GetCover ¶
func (m *NewEpProto) GetCover() string
func (*NewEpProto) GetId ¶
func (m *NewEpProto) GetId() int32
func (*NewEpProto) GetIndexShow ¶
func (m *NewEpProto) GetIndexShow() string
func (*NewEpProto) GetLongTitle ¶
func (m *NewEpProto) GetLongTitle() string
func (*NewEpProto) GetPubTime ¶
func (m *NewEpProto) GetPubTime() string
func (*NewEpProto) GetTitle ¶
func (m *NewEpProto) GetTitle() string
func (*NewEpProto) Marshal ¶
func (m *NewEpProto) Marshal() (dAtA []byte, err error)
func (*NewEpProto) ProtoMessage ¶
func (*NewEpProto) ProtoMessage()
func (*NewEpProto) Reset ¶
func (m *NewEpProto) Reset()
func (*NewEpProto) Size ¶
func (m *NewEpProto) Size() (n int)
func (*NewEpProto) String ¶
func (m *NewEpProto) String() string
func (*NewEpProto) Unmarshal ¶
func (m *NewEpProto) Unmarshal(dAtA []byte) error
type ProfileInfoProto ¶
type ProfileInfoProto struct { // season_id SeasonId int32 `protobuf:"varint,1,opt,name=season_id,json=seasonId,proto3" json:"season_id,omitempty"` // media_id MediaId int32 `protobuf:"varint,2,opt,name=media_id,json=mediaId,proto3" json:"media_id,omitempty"` // season类型 1:番剧,2:电影,3:纪录片,4:国漫,5:电视剧 SeasonType int32 `protobuf:"varint,3,opt,name=season_type,json=seasonType,proto3" json:"season_type,omitempty"` // season类型显示名 1:番剧,2:电影,3:纪录片,4:国漫,5:电视剧 SeasonTypeName string `protobuf:"bytes,4,opt,name=season_type_name,json=seasonTypeName,proto3" json:"season_type_name,omitempty"` // 标题 Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` // 封面 Cover string `protobuf:"bytes,6,opt,name=cover,proto3" json:"cover,omitempty"` // 方图 SquareCover string `protobuf:"bytes,7,opt,name=square_cover,json=squareCover,proto3" json:"square_cover,omitempty"` // 总集数 TotalCount int32 `protobuf:"varint,8,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // 是否完结 1完结 0未完结 IsFinish int32 `protobuf:"varint,9,opt,name=is_finish,json=isFinish,proto3" json:"is_finish,omitempty"` // 是否开播 1开播 0未开播 IsStarted int32 `protobuf:"varint,10,opt,name=is_started,json=isStarted,proto3" json:"is_started,omitempty"` // 是否可以播放 0-不可以 1-可以 IsPlay int32 `protobuf:"varint,11,opt,name=is_play,json=isPlay,proto3" json:"is_play,omitempty"` // 角标文字,如“抢先”这种 Badge string `protobuf:"bytes,12,opt,name=badge,proto3" json:"badge,omitempty"` // 角标类型,0粉色,1蓝色,2橙色 BadgeType int32 `protobuf:"varint,13,opt,name=badge_type,json=badgeType,proto3" json:"badge_type,omitempty"` // season付费状态 SeasonStatus int32 `protobuf:"varint,14,opt,name=season_status,json=seasonStatus,proto3" json:"season_status,omitempty"` // 扩展字段开关 Rights *RightsProto `protobuf:"bytes,15,opt,name=rights" json:"rights,omitempty"` // 计数统计 Stat *StatsProto `protobuf:"bytes,16,opt,name=stat" json:"stat,omitempty"` // 最新一话相关信息 NewEp *NewEpProto `protobuf:"bytes,17,opt,name=new_ep,json=newEp" json:"new_ep,omitempty"` // 评分信息 Rating *RatingProto `protobuf:"bytes,18,opt,name=rating" json:"rating,omitempty"` // 系列信息 Series *SeriesProto `protobuf:"bytes,19,opt,name=series" json:"series,omitempty"` // 分节信息 Section []*SectionProto `protobuf:"bytes,20,rep,name=section" json:"section,omitempty"` // 分季标题 第一季 SeasonTitle string `protobuf:"bytes,21,opt,name=season_title,json=seasonTitle,proto3" json:"season_title,omitempty"` // 剧集模式 1单集 2多集 Mode int32 `protobuf:"varint,22,opt,name=mode,proto3" json:"mode,omitempty"` // 简介 Evaluate string `protobuf:"bytes,23,opt,name=evaluate,proto3" json:"evaluate,omitempty"` // publish Publish *PublishProto `protobuf:"bytes,24,opt,name=publish" json:"publish,omitempty"` // mid Mid int64 `protobuf:"varint,25,opt,name=mid,proto3" json:"mid,omitempty"` // 备案号 Record string `protobuf:"bytes,26,opt,name=record,proto3" json:"record,omitempty"` // 更新时间信息 RenewalTime string `protobuf:"bytes,27,opt,name=renewal_time,json=renewalTime,proto3" json:"renewal_time,omitempty"` }
ProfileInfoProto .
func (*ProfileInfoProto) Descriptor ¶
func (*ProfileInfoProto) Descriptor() ([]byte, []int)
func (*ProfileInfoProto) GetBadge ¶
func (m *ProfileInfoProto) GetBadge() string
func (*ProfileInfoProto) GetBadgeType ¶
func (m *ProfileInfoProto) GetBadgeType() int32
func (*ProfileInfoProto) GetCover ¶
func (m *ProfileInfoProto) GetCover() string
func (*ProfileInfoProto) GetEvaluate ¶
func (m *ProfileInfoProto) GetEvaluate() string
func (*ProfileInfoProto) GetIsFinish ¶
func (m *ProfileInfoProto) GetIsFinish() int32
func (*ProfileInfoProto) GetIsPlay ¶
func (m *ProfileInfoProto) GetIsPlay() int32
func (*ProfileInfoProto) GetIsStarted ¶
func (m *ProfileInfoProto) GetIsStarted() int32
func (*ProfileInfoProto) GetMediaId ¶
func (m *ProfileInfoProto) GetMediaId() int32
func (*ProfileInfoProto) GetMid ¶
func (m *ProfileInfoProto) GetMid() int64
func (*ProfileInfoProto) GetMode ¶
func (m *ProfileInfoProto) GetMode() int32
func (*ProfileInfoProto) GetNewEp ¶
func (m *ProfileInfoProto) GetNewEp() *NewEpProto
func (*ProfileInfoProto) GetPublish ¶
func (m *ProfileInfoProto) GetPublish() *PublishProto
func (*ProfileInfoProto) GetRating ¶
func (m *ProfileInfoProto) GetRating() *RatingProto
func (*ProfileInfoProto) GetRecord ¶
func (m *ProfileInfoProto) GetRecord() string
func (*ProfileInfoProto) GetRenewalTime ¶
func (m *ProfileInfoProto) GetRenewalTime() string
func (*ProfileInfoProto) GetRights ¶
func (m *ProfileInfoProto) GetRights() *RightsProto
func (*ProfileInfoProto) GetSeasonId ¶
func (m *ProfileInfoProto) GetSeasonId() int32
func (*ProfileInfoProto) GetSeasonStatus ¶
func (m *ProfileInfoProto) GetSeasonStatus() int32
func (*ProfileInfoProto) GetSeasonTitle ¶
func (m *ProfileInfoProto) GetSeasonTitle() string
func (*ProfileInfoProto) GetSeasonType ¶
func (m *ProfileInfoProto) GetSeasonType() int32
func (*ProfileInfoProto) GetSeasonTypeName ¶
func (m *ProfileInfoProto) GetSeasonTypeName() string
func (*ProfileInfoProto) GetSection ¶
func (m *ProfileInfoProto) GetSection() []*SectionProto
func (*ProfileInfoProto) GetSeries ¶
func (m *ProfileInfoProto) GetSeries() *SeriesProto
func (*ProfileInfoProto) GetSquareCover ¶
func (m *ProfileInfoProto) GetSquareCover() string
func (*ProfileInfoProto) GetStat ¶
func (m *ProfileInfoProto) GetStat() *StatsProto
func (*ProfileInfoProto) GetTitle ¶
func (m *ProfileInfoProto) GetTitle() string
func (*ProfileInfoProto) GetTotalCount ¶
func (m *ProfileInfoProto) GetTotalCount() int32
func (*ProfileInfoProto) Marshal ¶
func (m *ProfileInfoProto) Marshal() (dAtA []byte, err error)
func (*ProfileInfoProto) ProtoMessage ¶
func (*ProfileInfoProto) ProtoMessage()
func (*ProfileInfoProto) Reset ¶
func (m *ProfileInfoProto) Reset()
func (*ProfileInfoProto) Size ¶
func (m *ProfileInfoProto) Size() (n int)
func (*ProfileInfoProto) String ¶
func (m *ProfileInfoProto) String() string
func (*ProfileInfoProto) Unmarshal ¶
func (m *ProfileInfoProto) Unmarshal(dAtA []byte) error
type ProfileInfoReply ¶
type ProfileInfoReply struct { // prfile Profile *ProfileInfoProto `protobuf:"bytes,1,opt,name=profile" json:"profile,omitempty"` }
ProfileInfoReply 详情返回值
func (*ProfileInfoReply) Descriptor ¶
func (*ProfileInfoReply) Descriptor() ([]byte, []int)
func (*ProfileInfoReply) GetProfile ¶
func (m *ProfileInfoReply) GetProfile() *ProfileInfoProto
func (*ProfileInfoReply) Marshal ¶
func (m *ProfileInfoReply) Marshal() (dAtA []byte, err error)
func (*ProfileInfoReply) ProtoMessage ¶
func (*ProfileInfoReply) ProtoMessage()
func (*ProfileInfoReply) Reset ¶
func (m *ProfileInfoReply) Reset()
func (*ProfileInfoReply) Size ¶
func (m *ProfileInfoReply) Size() (n int)
func (*ProfileInfoReply) String ¶
func (m *ProfileInfoReply) String() string
func (*ProfileInfoReply) Unmarshal ¶
func (m *ProfileInfoReply) Unmarshal(dAtA []byte) error
type PublishProto ¶
type PublishProto struct { // pub_time PubTime string `protobuf:"bytes,1,opt,name=pub_time,json=pubTime,proto3" json:"pub_time,omitempty"` // pub_time_show PubTimeShow string `protobuf:"bytes,2,opt,name=pub_time_show,json=pubTimeShow,proto3" json:"pub_time_show,omitempty"` }
PublishProto publish信息
func (*PublishProto) Descriptor ¶
func (*PublishProto) Descriptor() ([]byte, []int)
func (*PublishProto) GetPubTime ¶
func (m *PublishProto) GetPubTime() string
func (*PublishProto) GetPubTimeShow ¶
func (m *PublishProto) GetPubTimeShow() string
func (*PublishProto) Marshal ¶
func (m *PublishProto) Marshal() (dAtA []byte, err error)
func (*PublishProto) ProtoMessage ¶
func (*PublishProto) ProtoMessage()
func (*PublishProto) Reset ¶
func (m *PublishProto) Reset()
func (*PublishProto) Size ¶
func (m *PublishProto) Size() (n int)
func (*PublishProto) String ¶
func (m *PublishProto) String() string
func (*PublishProto) Unmarshal ¶
func (m *PublishProto) Unmarshal(dAtA []byte) error
type RatingProto ¶
type RatingProto struct { // 评分数 Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` // 评分人数 Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` }
RatingProto 评分信息
func (*RatingProto) Descriptor ¶
func (*RatingProto) Descriptor() ([]byte, []int)
func (*RatingProto) GetCount ¶
func (m *RatingProto) GetCount() int32
func (*RatingProto) GetScore ¶
func (m *RatingProto) GetScore() float32
func (*RatingProto) Marshal ¶
func (m *RatingProto) Marshal() (dAtA []byte, err error)
func (*RatingProto) ProtoMessage ¶
func (*RatingProto) ProtoMessage()
func (*RatingProto) Reset ¶
func (m *RatingProto) Reset()
func (*RatingProto) Size ¶
func (m *RatingProto) Size() (n int)
func (*RatingProto) String ¶
func (m *RatingProto) String() string
func (*RatingProto) Unmarshal ¶
func (m *RatingProto) Unmarshal(dAtA []byte) error
type RightsProto ¶
type RightsProto struct { // 是否允许点评 1 允许点评 0 禁止点评 AllowReview int32 `protobuf:"varint,1,opt,name=allow_review,json=allowReview,proto3" json:"allow_review,omitempty"` // 是否允许承包 AllowBp int32 `protobuf:"varint,2,opt,name=allow_bp,json=allowBp,proto3" json:"allow_bp,omitempty"` // 是否允许下周 AllowDownload int32 `protobuf:"varint,3,opt,name=allow_download,json=allowDownload,proto3" json:"allow_download,omitempty"` // 是否允许预览 AllowPreview int32 `protobuf:"varint,4,opt,name=allow_preview,json=allowPreview,proto3" json:"allow_preview,omitempty"` }
RightsProto 扩展字段开关
func (*RightsProto) Descriptor ¶
func (*RightsProto) Descriptor() ([]byte, []int)
func (*RightsProto) GetAllowBp ¶
func (m *RightsProto) GetAllowBp() int32
func (*RightsProto) GetAllowDownload ¶
func (m *RightsProto) GetAllowDownload() int32
func (*RightsProto) GetAllowPreview ¶
func (m *RightsProto) GetAllowPreview() int32
func (*RightsProto) GetAllowReview ¶
func (m *RightsProto) GetAllowReview() int32
func (*RightsProto) Marshal ¶
func (m *RightsProto) Marshal() (dAtA []byte, err error)
func (*RightsProto) ProtoMessage ¶
func (*RightsProto) ProtoMessage()
func (*RightsProto) Reset ¶
func (m *RightsProto) Reset()
func (*RightsProto) Size ¶
func (m *RightsProto) Size() (n int)
func (*RightsProto) String ¶
func (m *RightsProto) String() string
func (*RightsProto) Unmarshal ¶
func (m *RightsProto) Unmarshal(dAtA []byte) error
type SeasonAidReq ¶
type SeasonAidReq struct { // aids Aids []int32 `protobuf:"varint,1,rep,packed,name=aids" json:"aids,omitempty"` }
SeasonAidReq aids请求参数
func (*SeasonAidReq) Descriptor ¶
func (*SeasonAidReq) Descriptor() ([]byte, []int)
func (*SeasonAidReq) GetAids ¶
func (m *SeasonAidReq) GetAids() []int32
func (*SeasonAidReq) Marshal ¶
func (m *SeasonAidReq) Marshal() (dAtA []byte, err error)
func (*SeasonAidReq) ProtoMessage ¶
func (*SeasonAidReq) ProtoMessage()
func (*SeasonAidReq) Reset ¶
func (m *SeasonAidReq) Reset()
func (*SeasonAidReq) Size ¶
func (m *SeasonAidReq) Size() (n int)
func (*SeasonAidReq) String ¶
func (m *SeasonAidReq) String() string
func (*SeasonAidReq) Unmarshal ¶
func (m *SeasonAidReq) Unmarshal(dAtA []byte) error
type SeasonClient ¶
type SeasonClient interface { // 根据season_ids返回卡片信息 Cards(ctx context.Context, in *SeasonInfoReq, opts ...grpc.CallOption) (*CardsInfoReply, error) // 根据aids返回卡片信息 CardsByAids(ctx context.Context, in *SeasonAidReq, opts ...grpc.CallOption) (*CardsInfoReply, error) // 根据season_id返回详情 Profile(ctx context.Context, in *SeasonIdReq, opts ...grpc.CallOption) (*ProfileInfoReply, error) // 根据开始结束时间和type获取时间表信息 Timeline(ctx context.Context, in *TimelineReq, opts ...grpc.CallOption) (*TimelineReply, error) // 根据season_ids返回分节信息 Sections(ctx context.Context, in *SectionReq, opts ...grpc.CallOption) (*SectionReply, error) // 根据series返回season信息 SeriesSeason(ctx context.Context, in *SeriesSeasonReq, opts ...grpc.CallOption) (*SeriesSeasonReply, error) // 根据season_id清除season相关mc 缓存 ClearCache(ctx context.Context, in *SeasonIdReq, opts ...grpc.CallOption) (*EmptyProto, error) }
func NewClient ¶
func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (SeasonClient, error)
NewClient new identify grpc client
func NewSeasonClient ¶
func NewSeasonClient(cc *grpc.ClientConn) SeasonClient
type SeasonIdReq ¶
type SeasonIdReq struct { // season_id SeasonId int32 `protobuf:"varint,1,opt,name=season_id,json=seasonId,proto3" json:"season_id,omitempty"` }
SeasonIdReq season请求参数
func (*SeasonIdReq) Descriptor ¶
func (*SeasonIdReq) Descriptor() ([]byte, []int)
func (*SeasonIdReq) GetSeasonId ¶
func (m *SeasonIdReq) GetSeasonId() int32
func (*SeasonIdReq) Marshal ¶
func (m *SeasonIdReq) Marshal() (dAtA []byte, err error)
func (*SeasonIdReq) ProtoMessage ¶
func (*SeasonIdReq) ProtoMessage()
func (*SeasonIdReq) Reset ¶
func (m *SeasonIdReq) Reset()
func (*SeasonIdReq) Size ¶
func (m *SeasonIdReq) Size() (n int)
func (*SeasonIdReq) String ¶
func (m *SeasonIdReq) String() string
func (*SeasonIdReq) Unmarshal ¶
func (m *SeasonIdReq) Unmarshal(dAtA []byte) error
type SeasonInfoReq ¶
type SeasonInfoReq struct { // season_ids SeasonIds []int32 `protobuf:"varint,1,rep,packed,name=season_ids,json=seasonIds" json:"season_ids,omitempty"` }
SeasonInfoReq season请求参数
func (*SeasonInfoReq) Descriptor ¶
func (*SeasonInfoReq) Descriptor() ([]byte, []int)
func (*SeasonInfoReq) GetSeasonIds ¶
func (m *SeasonInfoReq) GetSeasonIds() []int32
func (*SeasonInfoReq) Marshal ¶
func (m *SeasonInfoReq) Marshal() (dAtA []byte, err error)
func (*SeasonInfoReq) ProtoMessage ¶
func (*SeasonInfoReq) ProtoMessage()
func (*SeasonInfoReq) Reset ¶
func (m *SeasonInfoReq) Reset()
func (*SeasonInfoReq) Size ¶
func (m *SeasonInfoReq) Size() (n int)
func (*SeasonInfoReq) String ¶
func (m *SeasonInfoReq) String() string
func (*SeasonInfoReq) Unmarshal ¶
func (m *SeasonInfoReq) Unmarshal(dAtA []byte) error
type SeasonServer ¶
type SeasonServer interface { // 根据season_ids返回卡片信息 Cards(context.Context, *SeasonInfoReq) (*CardsInfoReply, error) // 根据aids返回卡片信息 CardsByAids(context.Context, *SeasonAidReq) (*CardsInfoReply, error) // 根据season_id返回详情 Profile(context.Context, *SeasonIdReq) (*ProfileInfoReply, error) // 根据开始结束时间和type获取时间表信息 Timeline(context.Context, *TimelineReq) (*TimelineReply, error) // 根据season_ids返回分节信息 Sections(context.Context, *SectionReq) (*SectionReply, error) // 根据series返回season信息 SeriesSeason(context.Context, *SeriesSeasonReq) (*SeriesSeasonReply, error) // 根据season_id清除season相关mc 缓存 ClearCache(context.Context, *SeasonIdReq) (*EmptyProto, error) }
type SectionProto ¶
type SectionProto struct { // 系列id SectionId int32 `protobuf:"varint,1,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty"` // seasonId SeasonId int32 `protobuf:"varint,2,opt,name=season_id,json=seasonId,proto3" json:"season_id,omitempty"` // 地区限制 LimitGroup int32 `protobuf:"varint,3,opt,name=limit_group,json=limitGroup,proto3" json:"limit_group,omitempty"` // 平台限制 WatchPlatform int32 `protobuf:"varint,4,opt,name=watch_platform,json=watchPlatform,proto3" json:"watch_platform,omitempty"` // 类别 0正片1预告片2其他 Type int32 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"` // 版权 Copyright string `protobuf:"bytes,6,opt,name=copyright,proto3" json:"copyright,omitempty"` // 分节标题 Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` // 禁播地区展示1.版权受限 2.隐藏剧集 3.下架剧集 BanAreaShow int32 `protobuf:"varint,8,opt,name=ban_area_show,json=banAreaShow,proto3" json:"ban_area_show,omitempty"` }
SectionProto 分节信息
func (*SectionProto) Descriptor ¶
func (*SectionProto) Descriptor() ([]byte, []int)
func (*SectionProto) GetBanAreaShow ¶
func (m *SectionProto) GetBanAreaShow() int32
func (*SectionProto) GetCopyright ¶
func (m *SectionProto) GetCopyright() string
func (*SectionProto) GetLimitGroup ¶
func (m *SectionProto) GetLimitGroup() int32
func (*SectionProto) GetSeasonId ¶
func (m *SectionProto) GetSeasonId() int32
func (*SectionProto) GetSectionId ¶
func (m *SectionProto) GetSectionId() int32
func (*SectionProto) GetTitle ¶
func (m *SectionProto) GetTitle() string
func (*SectionProto) GetType ¶
func (m *SectionProto) GetType() int32
func (*SectionProto) GetWatchPlatform ¶
func (m *SectionProto) GetWatchPlatform() int32
func (*SectionProto) Marshal ¶
func (m *SectionProto) Marshal() (dAtA []byte, err error)
func (*SectionProto) ProtoMessage ¶
func (*SectionProto) ProtoMessage()
func (*SectionProto) Reset ¶
func (m *SectionProto) Reset()
func (*SectionProto) Size ¶
func (m *SectionProto) Size() (n int)
func (*SectionProto) String ¶
func (m *SectionProto) String() string
func (*SectionProto) Unmarshal ¶
func (m *SectionProto) Unmarshal(dAtA []byte) error
type SectionReply ¶
type SectionReply struct { // sections Sections map[int32]*SectionProto `` /* 144-byte string literal not displayed */ }
SectionReply 分节信息返回值
func (*SectionReply) Descriptor ¶
func (*SectionReply) Descriptor() ([]byte, []int)
func (*SectionReply) GetSections ¶
func (m *SectionReply) GetSections() map[int32]*SectionProto
func (*SectionReply) Marshal ¶
func (m *SectionReply) Marshal() (dAtA []byte, err error)
func (*SectionReply) ProtoMessage ¶
func (*SectionReply) ProtoMessage()
func (*SectionReply) Reset ¶
func (m *SectionReply) Reset()
func (*SectionReply) Size ¶
func (m *SectionReply) Size() (n int)
func (*SectionReply) String ¶
func (m *SectionReply) String() string
func (*SectionReply) Unmarshal ¶
func (m *SectionReply) Unmarshal(dAtA []byte) error
type SectionReq ¶
type SectionReq struct { // season_ids SeasonIds []int32 `protobuf:"varint,1,rep,packed,name=season_ids,json=seasonIds" json:"season_ids,omitempty"` }
SectionReq 请求参数
func (*SectionReq) Descriptor ¶
func (*SectionReq) Descriptor() ([]byte, []int)
func (*SectionReq) GetSeasonIds ¶
func (m *SectionReq) GetSeasonIds() []int32
func (*SectionReq) Marshal ¶
func (m *SectionReq) Marshal() (dAtA []byte, err error)
func (*SectionReq) ProtoMessage ¶
func (*SectionReq) ProtoMessage()
func (*SectionReq) Reset ¶
func (m *SectionReq) Reset()
func (*SectionReq) Size ¶
func (m *SectionReq) Size() (n int)
func (*SectionReq) String ¶
func (m *SectionReq) String() string
func (*SectionReq) Unmarshal ¶
func (m *SectionReq) Unmarshal(dAtA []byte) error
type SeriesProto ¶
type SeriesProto struct { // 系列id SeriesId int32 `protobuf:"varint,1,opt,name=series_id,json=seriesId,proto3" json:"series_id,omitempty"` // 系列标题 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` }
SeriesProto 系列信息
func (*SeriesProto) Descriptor ¶
func (*SeriesProto) Descriptor() ([]byte, []int)
func (*SeriesProto) GetSeriesId ¶
func (m *SeriesProto) GetSeriesId() int32
func (*SeriesProto) GetTitle ¶
func (m *SeriesProto) GetTitle() string
func (*SeriesProto) Marshal ¶
func (m *SeriesProto) Marshal() (dAtA []byte, err error)
func (*SeriesProto) ProtoMessage ¶
func (*SeriesProto) ProtoMessage()
func (*SeriesProto) Reset ¶
func (m *SeriesProto) Reset()
func (*SeriesProto) Size ¶
func (m *SeriesProto) Size() (n int)
func (*SeriesProto) String ¶
func (m *SeriesProto) String() string
func (*SeriesProto) Unmarshal ¶
func (m *SeriesProto) Unmarshal(dAtA []byte) error
type SeriesSeasonProto ¶
type SeriesSeasonProto struct { // season_id SeasonId int32 `protobuf:"varint,1,opt,name=season_id,json=seasonId,proto3" json:"season_id,omitempty"` // season_title SeasonTitle string `protobuf:"bytes,2,opt,name=season_title,json=seasonTitle,proto3" json:"season_title,omitempty"` // new_ep NewEp *NewEpProto `protobuf:"bytes,3,opt,name=new_ep,json=newEp" json:"new_ep,omitempty"` }
SeriesSeasonProto season信息
func (*SeriesSeasonProto) Descriptor ¶
func (*SeriesSeasonProto) Descriptor() ([]byte, []int)
func (*SeriesSeasonProto) GetNewEp ¶
func (m *SeriesSeasonProto) GetNewEp() *NewEpProto
func (*SeriesSeasonProto) GetSeasonId ¶
func (m *SeriesSeasonProto) GetSeasonId() int32
func (*SeriesSeasonProto) GetSeasonTitle ¶
func (m *SeriesSeasonProto) GetSeasonTitle() string
func (*SeriesSeasonProto) Marshal ¶
func (m *SeriesSeasonProto) Marshal() (dAtA []byte, err error)
func (*SeriesSeasonProto) MarshalTo ¶
func (m *SeriesSeasonProto) MarshalTo(dAtA []byte) (int, error)
func (*SeriesSeasonProto) ProtoMessage ¶
func (*SeriesSeasonProto) ProtoMessage()
func (*SeriesSeasonProto) Reset ¶
func (m *SeriesSeasonProto) Reset()
func (*SeriesSeasonProto) Size ¶
func (m *SeriesSeasonProto) Size() (n int)
func (*SeriesSeasonProto) String ¶
func (m *SeriesSeasonProto) String() string
func (*SeriesSeasonProto) Unmarshal ¶
func (m *SeriesSeasonProto) Unmarshal(dAtA []byte) error
type SeriesSeasonReply ¶
type SeriesSeasonReply struct { // seriesSeason Seasons map[int32]*SeriesSeasonsProto `` /* 142-byte string literal not displayed */ }
SeriesReply series
func (*SeriesSeasonReply) Descriptor ¶
func (*SeriesSeasonReply) Descriptor() ([]byte, []int)
func (*SeriesSeasonReply) GetSeasons ¶
func (m *SeriesSeasonReply) GetSeasons() map[int32]*SeriesSeasonsProto
func (*SeriesSeasonReply) Marshal ¶
func (m *SeriesSeasonReply) Marshal() (dAtA []byte, err error)
func (*SeriesSeasonReply) MarshalTo ¶
func (m *SeriesSeasonReply) MarshalTo(dAtA []byte) (int, error)
func (*SeriesSeasonReply) ProtoMessage ¶
func (*SeriesSeasonReply) ProtoMessage()
func (*SeriesSeasonReply) Reset ¶
func (m *SeriesSeasonReply) Reset()
func (*SeriesSeasonReply) Size ¶
func (m *SeriesSeasonReply) Size() (n int)
func (*SeriesSeasonReply) String ¶
func (m *SeriesSeasonReply) String() string
func (*SeriesSeasonReply) Unmarshal ¶
func (m *SeriesSeasonReply) Unmarshal(dAtA []byte) error
type SeriesSeasonReq ¶
type SeriesSeasonReq struct { // series_ids SeriesIds []int32 `protobuf:"varint,1,rep,packed,name=series_ids,json=seriesIds" json:"series_ids,omitempty"` }
SeriesReq 请求参数
func (*SeriesSeasonReq) Descriptor ¶
func (*SeriesSeasonReq) Descriptor() ([]byte, []int)
func (*SeriesSeasonReq) GetSeriesIds ¶
func (m *SeriesSeasonReq) GetSeriesIds() []int32
func (*SeriesSeasonReq) Marshal ¶
func (m *SeriesSeasonReq) Marshal() (dAtA []byte, err error)
func (*SeriesSeasonReq) ProtoMessage ¶
func (*SeriesSeasonReq) ProtoMessage()
func (*SeriesSeasonReq) Reset ¶
func (m *SeriesSeasonReq) Reset()
func (*SeriesSeasonReq) Size ¶
func (m *SeriesSeasonReq) Size() (n int)
func (*SeriesSeasonReq) String ¶
func (m *SeriesSeasonReq) String() string
func (*SeriesSeasonReq) Unmarshal ¶
func (m *SeriesSeasonReq) Unmarshal(dAtA []byte) error
type SeriesSeasonsProto ¶
type SeriesSeasonsProto struct { // seriesSeasons SeriesSeasons []*SeriesSeasonProto `protobuf:"bytes,1,rep,name=seriesSeasons" json:"seriesSeasons,omitempty"` }
SeriesSeasonsProto season信息
func (*SeriesSeasonsProto) Descriptor ¶
func (*SeriesSeasonsProto) Descriptor() ([]byte, []int)
func (*SeriesSeasonsProto) GetSeriesSeasons ¶
func (m *SeriesSeasonsProto) GetSeriesSeasons() []*SeriesSeasonProto
func (*SeriesSeasonsProto) Marshal ¶
func (m *SeriesSeasonsProto) Marshal() (dAtA []byte, err error)
func (*SeriesSeasonsProto) MarshalTo ¶
func (m *SeriesSeasonsProto) MarshalTo(dAtA []byte) (int, error)
func (*SeriesSeasonsProto) ProtoMessage ¶
func (*SeriesSeasonsProto) ProtoMessage()
func (*SeriesSeasonsProto) Reset ¶
func (m *SeriesSeasonsProto) Reset()
func (*SeriesSeasonsProto) Size ¶
func (m *SeriesSeasonsProto) Size() (n int)
func (*SeriesSeasonsProto) String ¶
func (m *SeriesSeasonsProto) String() string
func (*SeriesSeasonsProto) Unmarshal ¶
func (m *SeriesSeasonsProto) Unmarshal(dAtA []byte) error
type StatsProto ¶
type StatsProto struct { // 追番数 Follow int64 `protobuf:"varint,1,opt,name=follow,proto3" json:"follow,omitempty"` // 播放数 View int64 `protobuf:"varint,2,opt,name=view,proto3" json:"view,omitempty"` // 弹幕数 Danmaku int64 `protobuf:"varint,3,opt,name=danmaku,proto3" json:"danmaku,omitempty"` }
StatsProto 计数
func (*StatsProto) Descriptor ¶
func (*StatsProto) Descriptor() ([]byte, []int)
func (*StatsProto) GetDanmaku ¶
func (m *StatsProto) GetDanmaku() int64
func (*StatsProto) GetFollow ¶
func (m *StatsProto) GetFollow() int64
func (*StatsProto) GetView ¶
func (m *StatsProto) GetView() int64
func (*StatsProto) Marshal ¶
func (m *StatsProto) Marshal() (dAtA []byte, err error)
func (*StatsProto) ProtoMessage ¶
func (*StatsProto) ProtoMessage()
func (*StatsProto) Reset ¶
func (m *StatsProto) Reset()
func (*StatsProto) Size ¶
func (m *StatsProto) Size() (n int)
func (*StatsProto) String ¶
func (m *StatsProto) String() string
func (*StatsProto) Unmarshal ¶
func (m *StatsProto) Unmarshal(dAtA []byte) error
type TimelineEpisodeProto ¶
type TimelineEpisodeProto struct { // 分季封面 Cover string `protobuf:"bytes,1,opt,name=cover,proto3" json:"cover,omitempty"` // 剧集id EpisodeId int32 `protobuf:"varint,2,opt,name=episode_id,json=episodeId,proto3" json:"episode_id,omitempty"` // 收藏数 Favorites int64 `protobuf:"varint,3,opt,name=favorites,proto3" json:"favorites,omitempty"` // 是否收藏过 Follow int32 `protobuf:"varint,4,opt,name=follow,proto3" json:"follow,omitempty"` // 是否已发布 Published int32 `protobuf:"varint,5,opt,name=published,proto3" json:"published,omitempty"` // 第x话 PubIndex string `protobuf:"bytes,6,opt,name=pub_index,json=pubIndex,proto3" json:"pub_index,omitempty"` // 发布时间 PubTime string `protobuf:"bytes,7,opt,name=pub_time,json=pubTime,proto3" json:"pub_time,omitempty"` // 上线时间戳 PubTs int64 `protobuf:"varint,8,opt,name=pub_ts,json=pubTs,proto3" json:"pub_ts,omitempty"` // 分季id SeasonId int32 `protobuf:"varint,9,opt,name=season_id,json=seasonId,proto3" json:"season_id,omitempty"` // 分季方图 SquareCover string `protobuf:"bytes,10,opt,name=square_cover,json=squareCover,proto3" json:"square_cover,omitempty"` // 分季标题 Title string `protobuf:"bytes,11,opt,name=title,proto3" json:"title,omitempty"` // 是否delay Delay int32 `protobuf:"varint,12,opt,name=delay,proto3" json:"delay,omitempty"` // delay id DelayId int32 `protobuf:"varint,13,opt,name=delay_id,json=delayId,proto3" json:"delay_id,omitempty"` // 停更原因 DelayReason string `protobuf:"bytes,14,opt,name=delay_reason,json=delayReason,proto3" json:"delay_reason,omitempty"` // 停更那一话的短标题 DelayIndex string `protobuf:"bytes,15,opt,name=delay_index,json=delayIndex,proto3" json:"delay_index,omitempty"` }
TimelineEpisodeProto 时间表下剧集信息
func (*TimelineEpisodeProto) Descriptor ¶
func (*TimelineEpisodeProto) Descriptor() ([]byte, []int)
func (*TimelineEpisodeProto) GetCover ¶
func (m *TimelineEpisodeProto) GetCover() string
func (*TimelineEpisodeProto) GetDelay ¶
func (m *TimelineEpisodeProto) GetDelay() int32
func (*TimelineEpisodeProto) GetDelayId ¶
func (m *TimelineEpisodeProto) GetDelayId() int32
func (*TimelineEpisodeProto) GetDelayIndex ¶
func (m *TimelineEpisodeProto) GetDelayIndex() string
func (*TimelineEpisodeProto) GetDelayReason ¶
func (m *TimelineEpisodeProto) GetDelayReason() string
func (*TimelineEpisodeProto) GetEpisodeId ¶
func (m *TimelineEpisodeProto) GetEpisodeId() int32
func (*TimelineEpisodeProto) GetFavorites ¶
func (m *TimelineEpisodeProto) GetFavorites() int64
func (*TimelineEpisodeProto) GetFollow ¶
func (m *TimelineEpisodeProto) GetFollow() int32
func (*TimelineEpisodeProto) GetPubIndex ¶
func (m *TimelineEpisodeProto) GetPubIndex() string
func (*TimelineEpisodeProto) GetPubTime ¶
func (m *TimelineEpisodeProto) GetPubTime() string
func (*TimelineEpisodeProto) GetPubTs ¶
func (m *TimelineEpisodeProto) GetPubTs() int64
func (*TimelineEpisodeProto) GetPublished ¶
func (m *TimelineEpisodeProto) GetPublished() int32
func (*TimelineEpisodeProto) GetSeasonId ¶
func (m *TimelineEpisodeProto) GetSeasonId() int32
func (*TimelineEpisodeProto) GetSquareCover ¶
func (m *TimelineEpisodeProto) GetSquareCover() string
func (*TimelineEpisodeProto) GetTitle ¶
func (m *TimelineEpisodeProto) GetTitle() string
func (*TimelineEpisodeProto) Marshal ¶
func (m *TimelineEpisodeProto) Marshal() (dAtA []byte, err error)
func (*TimelineEpisodeProto) MarshalTo ¶
func (m *TimelineEpisodeProto) MarshalTo(dAtA []byte) (int, error)
func (*TimelineEpisodeProto) ProtoMessage ¶
func (*TimelineEpisodeProto) ProtoMessage()
func (*TimelineEpisodeProto) Reset ¶
func (m *TimelineEpisodeProto) Reset()
func (*TimelineEpisodeProto) Size ¶
func (m *TimelineEpisodeProto) Size() (n int)
func (*TimelineEpisodeProto) String ¶
func (m *TimelineEpisodeProto) String() string
func (*TimelineEpisodeProto) Unmarshal ¶
func (m *TimelineEpisodeProto) Unmarshal(dAtA []byte) error
type TimelineProto ¶
type TimelineProto struct { // 日期 Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // 日期时间戳 DateTs int64 `protobuf:"varint,2,opt,name=date_ts,json=dateTs,proto3" json:"date_ts,omitempty"` // 周几 DayOfWeek int32 `protobuf:"varint,3,opt,name=day_of_week,json=dayOfWeek,proto3" json:"day_of_week,omitempty"` // 是否是今天 IsToday int32 `protobuf:"varint,4,opt,name=is_today,json=isToday,proto3" json:"is_today,omitempty"` // 该日期对应上线的剧集 Episodes []*TimelineEpisodeProto `protobuf:"bytes,5,rep,name=episodes" json:"episodes,omitempty"` }
TimelineProto 时间表信息
func (*TimelineProto) Descriptor ¶
func (*TimelineProto) Descriptor() ([]byte, []int)
func (*TimelineProto) GetDate ¶
func (m *TimelineProto) GetDate() string
func (*TimelineProto) GetDateTs ¶
func (m *TimelineProto) GetDateTs() int64
func (*TimelineProto) GetDayOfWeek ¶
func (m *TimelineProto) GetDayOfWeek() int32
func (*TimelineProto) GetEpisodes ¶
func (m *TimelineProto) GetEpisodes() []*TimelineEpisodeProto
func (*TimelineProto) GetIsToday ¶
func (m *TimelineProto) GetIsToday() int32
func (*TimelineProto) Marshal ¶
func (m *TimelineProto) Marshal() (dAtA []byte, err error)
func (*TimelineProto) ProtoMessage ¶
func (*TimelineProto) ProtoMessage()
func (*TimelineProto) Reset ¶
func (m *TimelineProto) Reset()
func (*TimelineProto) Size ¶
func (m *TimelineProto) Size() (n int)
func (*TimelineProto) String ¶
func (m *TimelineProto) String() string
func (*TimelineProto) Unmarshal ¶
func (m *TimelineProto) Unmarshal(dAtA []byte) error
type TimelineReply ¶
type TimelineReply struct {
Timeline []*TimelineProto `protobuf:"bytes,1,rep,name=timeline" json:"timeline,omitempty"`
}
TimelineReply 时间表返回
func (*TimelineReply) Descriptor ¶
func (*TimelineReply) Descriptor() ([]byte, []int)
func (*TimelineReply) GetTimeline ¶
func (m *TimelineReply) GetTimeline() []*TimelineProto
func (*TimelineReply) Marshal ¶
func (m *TimelineReply) Marshal() (dAtA []byte, err error)
func (*TimelineReply) ProtoMessage ¶
func (*TimelineReply) ProtoMessage()
func (*TimelineReply) Reset ¶
func (m *TimelineReply) Reset()
func (*TimelineReply) Size ¶
func (m *TimelineReply) Size() (n int)
func (*TimelineReply) String ¶
func (m *TimelineReply) String() string
func (*TimelineReply) Unmarshal ¶
func (m *TimelineReply) Unmarshal(dAtA []byte) error
type TimelineReq ¶
type TimelineReq struct { // 开始时间戳 Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` // 结束时间戳 End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // 类型 Types []int32 `protobuf:"varint,3,rep,packed,name=types" json:"types,omitempty"` // 排序方式,默认0,按照更新时间正序,1表示按照更新时间倒序 Sort int32 `protobuf:"varint,4,opt,name=sort,proto3" json:"sort,omitempty"` }
TimelineReq 时间表请求参数
func (*TimelineReq) Descriptor ¶
func (*TimelineReq) Descriptor() ([]byte, []int)
func (*TimelineReq) GetEnd ¶
func (m *TimelineReq) GetEnd() int64
func (*TimelineReq) GetSort ¶
func (m *TimelineReq) GetSort() int32
func (*TimelineReq) GetStart ¶
func (m *TimelineReq) GetStart() int64
func (*TimelineReq) GetTypes ¶
func (m *TimelineReq) GetTypes() []int32
func (*TimelineReq) Marshal ¶
func (m *TimelineReq) Marshal() (dAtA []byte, err error)
func (*TimelineReq) ProtoMessage ¶
func (*TimelineReq) ProtoMessage()
func (*TimelineReq) Reset ¶
func (m *TimelineReq) Reset()
func (*TimelineReq) Size ¶
func (m *TimelineReq) Size() (n int)
func (*TimelineReq) String ¶
func (m *TimelineReq) String() string
func (*TimelineReq) Unmarshal ¶
func (m *TimelineReq) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.