Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFilesToGif ¶
ConvertFilesToGif converts files to a gif with fps as animation duration per frame and exports it to p
func ConvertHentaiToGif ¶
ConvertHentaiToGif converts h to gif with d as animation delay and exports it to p
Types ¶
type Hentai ¶
type Hentai struct {
//ID is the source number from nhentai
ID int `json:"id"`
//Title is the name of the hentai
Title string `json:"title"`
//Pages contains the urls to all images in the gallery
Pages []string `json:"pages"`
}
Hentai contains the most important data for a hentai gallery
func NewHentaiByID ¶ added in v1.0.0
NewHentaiByID takes hentai id and returns a Hentai instance
Click to show internal directories.
Click to hide internal directories.