blob: 7516180441d330e53ae8d293cd3b620fbfe4b1a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package types
type StreamAnimeStreamingSource struct {
URL string `json:"url"`
Server string `json:"server"`
Type string `json:"type"`
}
type StreamAnimeStreaming struct {
Sub []StreamAnimeStreamingSource `json:"sub"`
Dub []StreamAnimeStreamingSource `json:"dub"`
}
type StreamSearchResult struct {
ID string `json:"_id"`
Name string `json:"name"`
SubEpisodes int `json:"sub_episodes"`
DubEpisodes int `json:"dub_episodes"`
Similarity float64 `json:"similarity"`
}
type StreamEpisodeStreamingResult struct {
EpisodeNumber int
Streaming *StreamAnimeStreaming
}
|