Versions in this module Expand all Collapse all v0 v0.3.3 Oct 24, 2024 Changes in this version + const AniDBEntryTypeOfficial + const AniDBEntryTypePrimary + const AniDBEntryTypeShort + const AniDBEntryTypeSynonym + var ErrFinished = io.EOF + func DownloadAODB(ctx context.Context) (r io.ReadCloser, err error) + func DownloadAniDB(ctx context.Context) (r io.ReadCloser, err error) + func DownloadVNDB(ctx context.Context) (*fsCloser, error) + func DownloadVNDBUsingTempDir(ctx context.Context, temp string) (fsc *fsCloser, err error) + func NewVNDBImageDecoder(r io.Reader) *genericLineDecoder[VNDBImage] + func NewVNDBTitleDecoder(r io.Reader) *genericLineDecoder[VNDBTitle] + func NewVNDBVisualNovelDecoder(r io.Reader) *genericLineDecoder[VNDBVisualNovel] + func VNDBCDNURLFromImageID(imgID string) string + type AniDBEntry struct + AID string + Language string + Title string + Type string + type AniDBEntryDecoder struct + func NewAniDBEntryDecoder(r io.Reader) *AniDBEntryDecoder + func (a *AniDBEntryDecoder) DecodeAll() (entries []AniDBEntry, err error) + func (a *AniDBEntryDecoder) Next() (entry AniDBEntry, err error) + type AnimeOfflineDatabaseDecoder struct + func NewAnimeOfflineDatabaseDecoder(r io.Reader) *AnimeOfflineDatabaseDecoder + func (a *AnimeOfflineDatabaseDecoder) DecodeAll() (entries []AnimeOfflineDatabaseEntry, err error) + func (a *AnimeOfflineDatabaseDecoder) Next() (entry AnimeOfflineDatabaseEntry, err error) + type AnimeOfflineDatabaseEntry struct + Episodes int + Picture string + Relations []string + Season AnimeOfflineDatabaseSeason + Sources []string + Status string + Synonyms []string + Tags []string + Thumbnail string + Title string + Type string + type AnimeOfflineDatabaseSeason struct + Season string + Year *int + type Iterator interface + Next func() (T, error) + type VNDBImage struct + Height int + ID string + SexualAvg int + SexualDev int + ViolenceAvg int + ViolenceDev int + Width int + func (e VNDBImage) NSFW() bool + type VNDBTitle struct + Language string + Latin *string + Official bool + Title string + VNID string + type VNDBVisualNovel struct + ID string + ImageID *string + OriginalLanguage string