Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnimeInfo ¶
type AnimeInfo struct {
ID string `json:"id"`
Title string `json:"title"`
URL string `json:"url,omitempty"`
Image string `json:"image,omitempty"`
Description string `json:"description,omitempty"`
Genres []string `json:"genres,omitempty"`
Status MediaStatus `json:"status,omitempty"`
TotalEpisodes int `json:"totalEpisodes,omitempty"`
ReleaseDate string `json:"releaseDate,omitempty"`
Type MediaFormat `json:"type,omitempty"`
Episodes []Episode `json:"episodes,omitempty"`
}
Info types
type Episode ¶
type Episode struct {
ID string `json:"id"`
Number int `json:"number"`
Season int `json:"season,omitempty"`
Title string `json:"title,omitempty"`
URL string `json:"url,omitempty"`
}
Episode types
type EpisodeServer ¶
Server types
type MangaChapter ¶
type MangaInfo ¶
type MangaInfo struct {
ID string `json:"id"`
Title string `json:"title"`
URL string `json:"url,omitempty"`
Image string `json:"image,omitempty"`
Description string `json:"description,omitempty"`
Genres []string `json:"genres,omitempty"`
Status MediaStatus `json:"status,omitempty"`
Chapters []MangaChapter `json:"chapters,omitempty"`
}
type MangaPages ¶
type MangaPages struct {
Pages []*MangaPage `json:"pages"`
}
type MediaFormat ¶
type MediaFormat string
const ( MediaFormatTV MediaFormat = "TV" MediaFormatMovie MediaFormat = "MOVIE" MediaFormatOVA MediaFormat = "OVA" MediaFormatONA MediaFormat = "ONA" MediaFormatSpecial MediaFormat = "SPECIAL" )
type MediaStatus ¶
type MediaStatus string
Common types
const ( MediaStatusOngoing MediaStatus = "ONGOING" MediaStatusCompleted MediaStatus = "COMPLETED" MediaStatusUnknown MediaStatus = "UNKNOWN" )
type MovieInfo ¶
type MovieInfo struct {
ID string `json:"id"`
Title string `json:"title"`
URL string `json:"url,omitempty"`
Image string `json:"image,omitempty"`
Description string `json:"description,omitempty"`
Genres []string `json:"genres,omitempty"`
ReleaseDate string `json:"releaseDate,omitempty"`
Rating string `json:"rating,omitempty"`
Type string `json:"type,omitempty"`
LastSeason int `json:"lastSeason,omitempty"`
TotalEpisodesLastSeason int `json:"totalEpisodesLastSeason,omitempty"`
Episodes []Episode `json:"episodes,omitempty"`
}
type SearchResult ¶
type SearchResult struct {
ID string `json:"id"`
Title string `json:"title"`
Image string `json:"image,omitempty"`
URL string `json:"url,omitempty"`
ReleaseDate string `json:"releaseDate,omitempty"`
Type string `json:"type,omitempty"`
}
Search result types
type SearchResults ¶
type SearchResults struct {
Results []SearchResult `json:"results"`
}
type Source ¶
type Source struct {
URL string `json:"url"`
Quality string `json:"quality,omitempty"`
IsM3U8 bool `json:"isM3U8,omitempty"`
Referer string `json:"referer"`
}
Source types
type VideoSources ¶
Click to show internal directories.
Click to hide internal directories.