Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Categories ¶ added in v0.7.0
type Duration ¶
func (*Duration) UnmarshalJSON ¶
type Hits ¶
type Hits struct { ID int `json:"id"` Class string `json:"class"` Type string `json:"type"` Label string `json:"label"` Title string `json:"title"` HeadlineTitle string `json:"headline_title"` Description string `json:"description"` Text string `json:"text"` URLPage string `json:"url_page"` Path string `json:"path"` Duration Duration `json:"duration"` SeasonNumber int `json:"season_number"` EpisodeNumber int `json:"episode_number"` IsAudioDescripted bool `json:"is_audio_descripted"` IsPreviouslyBroadcasted bool `json:"is_previously_broadcasted"` IsMultiLingual bool `json:"is_multi_lingual"` IsSubtitled bool `json:"is_subtitled"` IsPreview bool `json:"is_preview"` IsSponsored bool `json:"is_sponsored"` Director string `json:"director"` Producer string `json:"producer"` Presenter string `json:"presenter"` Casting string `json:"casting"` Characters string `json:"characters"` ProductionYear int `json:"production_year"` Dates map[string]UnixTimeStamp `json:"dates"` // Ranges Ranges `json:"ranges"` Image Image `json:"image,omitempty"` Categories []Categories `json:"categories"` Channels []Channels `json:"channels"` Program Program `json:"program"` Season seasonWrapper `json:"season"` RatingCsaCode string `json:"rating_csa_code"` SiID intOrString `json:"si_id"` // FreeID int `json:"free_id"` // OrangeID string `json:"orange_id"` ObjectID string `json:"objectID"` }
type QueryResults ¶
type Result ¶ added in v0.12.0
type Result struct { Hits []Hits `json:"hits"` NbHits int `json:"nbHits"` Page int `json:"page"` NbPages int `json:"nbPages"` HitsPerPage int `json:"hitsPerPage"` ProcessingTimeMS int `json:"processingTimeMS"` ExhaustiveNbHits bool `json:"exhaustiveNbHits"` Query string `json:"query"` Params string `json:"params"` Index string `json:"index"` }
type UnixTimeStamp ¶
func (UnixTimeStamp) Time ¶
func (v UnixTimeStamp) Time() time.Time
func (*UnixTimeStamp) UnmarshalJSON ¶
func (v *UnixTimeStamp) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.