Documentation ¶
Index ¶
- type AccInfo
- type Actor
- type Areas
- type CustomSubData
- type CustomSubResponse
- type Data
- type Dimension
- type Episodes
- type Health
- type HealthData
- type ModuleStyle
- type Modules
- type NewEp
- type Publish
- type Result
- type Rights
- type SeasonResponse
- type SimpleResponse
- type Stat
- type StatFormat
- type Styles
- type Subtitles
- type UserStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccInfo ¶
type AccInfo struct { Code int `json:"code"` Message string `json:"message"` Data struct { Mid int `json:"mid"` Name string `json:"name"` VIP struct { DueDate int64 `json:"due_date"` } `json:"vip"` } `json:"data"` }
AccInfo account info
func (AccInfo) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (AccInfo) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*AccInfo) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*AccInfo) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Actor ¶
func (Actor) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Actor) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Actor) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Actor) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Areas ¶
func (Areas) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Areas) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Areas) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Areas) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type CustomSubData ¶
type CustomSubData struct { Ep int `json:"ep"` Key string `json:"key"` Lang string `json:"lang"` URL string `json:"url"` }
func (CustomSubData) MarshalEasyJSON ¶
func (v CustomSubData) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CustomSubData) MarshalJSON ¶
func (v CustomSubData) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CustomSubData) UnmarshalEasyJSON ¶
func (v *CustomSubData) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CustomSubData) UnmarshalJSON ¶
func (v *CustomSubData) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type CustomSubResponse ¶
type CustomSubResponse struct { Code int `json:"code"` Data []CustomSubData `json:"data"` }
func (CustomSubResponse) MarshalEasyJSON ¶
func (v CustomSubResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CustomSubResponse) MarshalJSON ¶
func (v CustomSubResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CustomSubResponse) UnmarshalEasyJSON ¶
func (v *CustomSubResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CustomSubResponse) UnmarshalJSON ¶
func (v *CustomSubResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Data ¶
type Data struct {
Episodes []Episodes `json:"episodes"`
}
func (Data) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Data) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Data) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Data) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Dimension ¶
type Dimension struct { Width int `json:"width"` Height int `json:"height"` Rotate int `json:"rotate"` }
func (Dimension) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Dimension) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Dimension) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Dimension) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Episodes ¶
type Episodes struct { Aid int `json:"aid"` Cid int `json:"cid"` Cover string `json:"cover"` ID int `json:"id"` Title string `json:"title"` LongTitle string `json:"long_title"` Status int `json:"status"` From string `json:"from"` Dimension Dimension `json:"dimension"` Jump interface{} `json:"jump"` TitleDisplay string `json:"title_display"` LongTitleDisplay string `json:"long_title_display"` Subtitles []Subtitles `json:"subtitles"` }
func (Episodes) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Episodes) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Episodes) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Episodes) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Health ¶ added in v1.1.0
type Health struct { Code int `json:"code"` Message string `json:"message"` Data HealthData `json:"data"` }
func (Health) MarshalEasyJSON ¶ added in v1.1.0
MarshalEasyJSON supports easyjson.Marshaler interface
func (Health) MarshalJSON ¶ added in v1.1.0
MarshalJSON supports json.Marshaler interface
func (*Health) UnmarshalEasyJSON ¶ added in v1.1.0
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Health) UnmarshalJSON ¶ added in v1.1.0
UnmarshalJSON supports json.Unmarshaler interface
type HealthData ¶ added in v1.1.0
func (HealthData) MarshalEasyJSON ¶ added in v1.1.0
func (v HealthData) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (HealthData) MarshalJSON ¶ added in v1.1.0
func (v HealthData) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*HealthData) UnmarshalEasyJSON ¶ added in v1.1.0
func (v *HealthData) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*HealthData) UnmarshalJSON ¶ added in v1.1.0
func (v *HealthData) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type ModuleStyle ¶
type ModuleStyle struct { Line int `json:"line"` Hidden int `json:"hidden"` ShowPages interface{} `json:"show_pages"` }
func (ModuleStyle) MarshalEasyJSON ¶
func (v ModuleStyle) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ModuleStyle) MarshalJSON ¶
func (v ModuleStyle) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ModuleStyle) UnmarshalEasyJSON ¶
func (v *ModuleStyle) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ModuleStyle) UnmarshalJSON ¶
func (v *ModuleStyle) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Modules ¶
type Modules struct { ID int `json:"id"` Style string `json:"style"` Title string `json:"title"` More string `json:"more"` CanOrdDesc int `json:"can_ord_desc"` Data Data `json:"data"` ModuleStyle ModuleStyle `json:"module_style"` Partition int `json:"partition"` }
func (Modules) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Modules) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Modules) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Modules) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type NewEp ¶
type NewEp struct { ID int `json:"id"` Title string `json:"title"` NewEpDisplay string `json:"new_ep_display"` }
func (NewEp) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (NewEp) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*NewEp) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*NewEp) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Publish ¶
type Publish struct { PubTime string `json:"pub_time"` PubTimeShow string `json:"pub_time_show"` IsStarted int `json:"is_started"` IsFinish int `json:"is_finish"` Weekday int `json:"weekday"` ReleaseDateShow string `json:"release_date_show"` TimeLengthShow string `json:"time_length_show"` UnknowPubDate int `json:"unknow_pub_date"` }
func (Publish) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Publish) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Publish) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Publish) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Result ¶
type Result struct { SeasonID int `json:"season_id"` Alias string `json:"alias"` CommentRestriction string `json:"comment_restriction"` NoComment string `json:"no_comment"` Title string `json:"title"` Subtitle string `json:"subtitle"` DynamicSubtitle string `json:"dynamic_subtitle"` SeasonTitle string `json:"season_title"` SquareCover string `json:"square_cover"` RefineCover string `json:"refine_cover"` ShortLink string `json:"short_link"` Evaluate string `json:"evaluate"` Link string `json:"link"` Type int `json:"type"` TypeName string `json:"type_name"` Mode int `json:"mode"` Status int `json:"status"` Total int `json:"total"` Rights Rights `json:"rights"` Publish Publish `json:"publish"` Detail string `json:"detail"` Staff interface{} `json:"staff"` Actor Actor `json:"actor"` OriginName string `json:"origin_name"` Styles []Styles `json:"styles"` Modules []Modules `json:"modules"` UpInfo interface{} `json:"up_info"` UserStatus UserStatus `json:"user_status"` NewEp NewEp `json:"new_ep"` Rating interface{} `json:"rating"` Stat Stat `json:"stat"` StatFormat StatFormat `json:"stat_format"` Cover string `json:"cover"` HorizonCover string `json:"horizon_cover"` Areas []Areas `json:"areas"` Limit interface{} `json:"limit"` Payment interface{} `json:"payment"` ActivityDialog interface{} `json:"activity_dialog"` LoginDialog interface{} `json:"login_dialog"` UpdatePartten string `json:"update_partten"` SubtitleSuggestKey string `json:"subtitle_suggest_key"` OpenSkipSwitch bool `json:"open_skip_switch"` }
func (Result) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Result) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Result) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Result) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Rights ¶
type Rights struct { Copyright string `json:"copyright"` AllowBp int `json:"allow_bp"` AllowDownload int `json:"allow_download"` AreaLimit int `json:"area_limit"` AllowReview int `json:"allow_review"` IsPreview int `json:"is_preview"` BanAreaShow int `json:"ban_area_show"` AllowBpRank int `json:"allow_bp_rank"` CanWatch int `json:"can_watch"` Forbidpre int `json:"forbidPre"` Onlyvipdownload int `json:"onlyVipDownload"` }
func (Rights) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Rights) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Rights) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Rights) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type SeasonResponse ¶
type SeasonResponse struct { Code int `json:"code"` Message string `json:"message"` Result Result `json:"result"` Success bool `json:"success"` }
func (SeasonResponse) MarshalEasyJSON ¶
func (v SeasonResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SeasonResponse) MarshalJSON ¶
func (v SeasonResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SeasonResponse) UnmarshalEasyJSON ¶
func (v *SeasonResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SeasonResponse) UnmarshalJSON ¶
func (v *SeasonResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleResponse ¶
type SimpleResponse struct { Code int `json:"code"` Message string `json:"message"` TTL int `json:"ttl"` }
SimpleResponse simple response
func (SimpleResponse) MarshalEasyJSON ¶
func (v SimpleResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleResponse) MarshalJSON ¶
func (v SimpleResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleResponse) UnmarshalEasyJSON ¶
func (v *SimpleResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleResponse) UnmarshalJSON ¶
func (v *SimpleResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Stat ¶
type Stat struct { Favorites int `json:"favorites"` Views int `json:"views"` Danmakus int `json:"danmakus"` Coins int `json:"coins"` Reply int `json:"reply"` Hot int `json:"hot"` Play string `json:"play"` Followers string `json:"followers"` SeriesPlay string `json:"series_play"` Likes int `json:"likes"` }
func (Stat) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Stat) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Stat) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Stat) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type StatFormat ¶
type StatFormat struct { Play string `json:"play"` Likes string `json:"likes"` Reply string `json:"reply"` }
func (StatFormat) MarshalEasyJSON ¶
func (v StatFormat) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (StatFormat) MarshalJSON ¶
func (v StatFormat) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*StatFormat) UnmarshalEasyJSON ¶
func (v *StatFormat) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*StatFormat) UnmarshalJSON ¶
func (v *StatFormat) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Styles ¶
func (Styles) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Styles) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Styles) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Styles) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Subtitles ¶
type Subtitles struct { ID int64 `json:"id"` Key string `json:"key"` Title string `json:"title"` URL string `json:"url"` IsMachine bool `json:"is_machine"` }
func (Subtitles) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Subtitles) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Subtitles) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Subtitles) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type UserStatus ¶
type UserStatus struct { Follow int `json:"follow"` Vip int `json:"vip"` LikeState int `json:"like_state"` DemandNoPayEpids interface{} `json:"demand_no_pay_epids"` }
func (UserStatus) MarshalEasyJSON ¶
func (v UserStatus) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (UserStatus) MarshalJSON ¶
func (v UserStatus) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*UserStatus) UnmarshalEasyJSON ¶
func (v *UserStatus) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*UserStatus) UnmarshalJSON ¶
func (v *UserStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface