Versions in this module Expand all Collapse all v0 v0.5.5 Sep 15, 2021 v0.5.4 Sep 15, 2021 v0.5.3 Sep 15, 2021 Changes in this version type Doujinshi + func RandomDoujin() (doujin *Doujinshi, err error) v0.5.2 Sep 15, 2021 v0.5.1 Sep 15, 2021 v0.5.0 Sep 14, 2021 Changes in this version + type DoujinshiCollection []*Doujinshi + type Filter struct + Id int + Name string + Type TagsType + type QueryFilter struct + ToDelete []Filter + ToFilter []Filter type QueryResult + func SearchCustom(query string, filters QueryFilter) (qr QueryResult, err error) + type TagInfo struct + Count int + Id int + Name string + Type TagsType + Url string + type TagsType string + const ParodyType v0.4.0 Sep 7, 2021 Changes in this version + const BaseUrl + const DefaultDoujinNameTemplate + const DefaultPageNameTemplate + const DoujinBaseUrl + const ImageBaseUrl + const PopularAllTime + const PopularThisWeek + const PopularToday + const Recent + const ThumbnailBaseUrl + var ClientHttp *http.Client + var ProgressBarTemplate string + var UseProgressBar bool + type Artist Tag + type Avatar struct + func (i *Avatar) GenerateName(name, suffix string) error + func (i *Avatar) GetData() error + func (i *Avatar) GetSize() error + func (i *Avatar) Save(path string, perm os.FileMode) error + type Category Tag + type Character Tag + type Comment struct + Body string + GalleryId int + Id int + PostDate time.Time + Poster *User + func (c *Comment) UnmarshalJSON(b []byte) error + type Cover struct + func (c *Cover) GetUrl(mediaId int) error + func (i *Cover) GenerateName(name, suffix string) error + func (i *Cover) GetData() error + func (i *Cover) GetSize() error + func (i *Cover) Save(path string, perm os.FileMode) error + type Doujinshi struct + Artists []*Artist + Categories []*Category + Characters []*Character + Comments []*Comment + CoverImage *Cover + Groups []*Group + Id int + Languages []*Language + MediaId int + NumFavorites int + NumPages int + Pages []*Page + Parodies []*Parody + Related []*Doujinshi + Scanlator string + Tags []*Tag + Thumbnail *Thumbnail + Title *Title + UploadDate time.Time + Url string + func NewDoujinshiId(id int) (*Doujinshi, error) + func NewDoujinshiUrl(url string) (*Doujinshi, error) + func (d *Doujinshi) GetComments() error + func (d *Doujinshi) GetRelated() error + func (d *Doujinshi) GetUrl() error + func (d *Doujinshi) Save(dirPathTmpl string, perm os.FileMode) error + func (d *Doujinshi) UnmarshalJSON(b []byte) error + type Group Tag + type Language Tag + type Page struct + Num int + func (i *Page) GenerateName(name, suffix string) error + func (i *Page) GetData() error + func (i *Page) GetSize() error + func (i *Page) Save(path string, perm os.FileMode) error + func (pi *Page) GetUrl(mediaId, numPage int) error + type Parody Tag + type QueryOptions struct + Page string + Sort Sort + type QueryResult struct + NumPages int + PerPage int + Result []*Doujinshi + func RecentDoujinshi(opts QueryOptions) (qr QueryResult, err error) + func Search(query string, opt QueryOptions) (qr QueryResult, err error) + func SearchTag(tagId int, opt QueryOptions) (qr QueryResult, err error) + type Sort string + type Tag struct + Count int + Id int + Name string + Url string + type Thumbnail struct + func (i *Thumbnail) GenerateName(name, suffix string) error + func (i *Thumbnail) GetData() error + func (i *Thumbnail) GetSize() error + func (i *Thumbnail) Save(path string, perm os.FileMode) error + func (t *Thumbnail) GetUrl(mediaId, numPage int) error + type Title struct + English string + Japanese string + Pretty string + type User struct + Id int + IsStaff bool + IsSuperUser bool + ProfileImage *Avatar + Url string + Username string