Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Doujin ¶
type Doujin struct { ID json.Number `json:"id"` MediaID string `json:"media_id"` NumPages int `json:"num_pages"` Images struct { Cover image `json:"cover"` Thumbnail image `json:"thumbnail"` Pages []image `json:"pages"` } `json:"images"` Titles struct { English string `json:"english"` Japanese string `json:"japanese"` Pretty string `json:"pretty"` } `json:"title"` Tags []struct { ID json.Number `json:"id"` Type string `json:"type"` Name string `json:"name"` } `json:"tags"` APIImages []Image }
Doujin a quick struct for unpacking the response from the nhentai API. Used for responses from nhentai.net/api/galleries/:magicNumber
Click to show internal directories.
Click to hide internal directories.