Versions in this module Expand all Collapse all v1 v1.0.6 Oct 21, 2023 v1.0.5 Oct 13, 2023 Changes in this version type Illust + IsUgoira bool v1.0.4 Aug 28, 2023 Changes in this version + const AI + const NotAI + const R18 + const R18G + const Safe + const Unrated + func ProxyImage(URL string, target string) string + type Comment struct + AuthorID string + AuthorName string + Avatar string + Context string + Date string + Stamp string + func ProxyCommentsSlice(comments []Comment, proxy string) []Comment + type FrequentTag struct + Name string + TranslatedName string + type Illust struct + AiType aiType + Bookmarks int + CommentDisabled int + Comments int + CommentsList []Comment + Date time.Time + Description template.HTML + ID string + Images []Image + Likes int + Pages int + RecentWorks []IllustShort + RelatedWorks []IllustShort + SanityLevel int + Tags []Tag + Title string + User UserShort + UserAccount string + UserID string + UserName string + Views int + XRestrict xRestrict + func (s *Illust) ProxyImages(proxy string) + type IllustShort struct + AiType aiType + ArtistAvatar string + ArtistID string + ArtistName string + Date time.Time + Description template.HTML + ID string + Pages int + Thumbnail string + Title string + XRestrict xRestrict + func ProxyShortArtworkSlice(artworks []IllustShort, proxy string) []IllustShort + type Image struct + Large string + Medium string + Original string + Small string + type ImageResponse struct + Urls map[string]string + type LandingArtworks struct + Commissions []IllustShort + Following []IllustShort + Newest []IllustShort + Pixivision []Pixivision + Rankings []IllustShort + RecommendByTags []LandingRecommendByTags + Recommended []IllustShort + Users []IllustShort + type LandingRecommendByTags struct + Artworks []IllustShort + Name string + func ProxyRecommendedByTagsSlice(artworks []LandingRecommendByTags, proxy string) []LandingRecommendByTags + type PaginationData struct + CurrentPage int + NextPage int + PreviousPage int + type PixivResponse struct + Body json.RawMessage + Error bool + Message string + type Pixivision struct + ID string + Thumbnail string + Title string + URL string + func ProxyPixivisionSlice(articles []Pixivision, proxy string) []Pixivision + type PopularArtworks struct + Permanent []IllustShort + Recent []IllustShort + type RankedArtwork struct + ArtistAvatar string + ArtistID int + ArtistName string + ID int + Image string + Pages string + Rank int + Title string + func ProxyRankedArtworkSlice(artworks []RankedArtwork, proxy string) []RankedArtwork + type RankingResponse struct + Artworks []RankedArtwork + Content string + CurrentDate string + Mode string + NextDate string + NextDateRaw json.RawMessage + PrevDate string + PrevDateRaw json.RawMessage + func (s *RankingResponse) ProxyImages(proxy string) + type SearchArtworks struct + Artworks []IllustShort + Total int + type SearchResult struct + Artworks SearchArtworks + Popular PopularArtworks + RelatedTags []string + func (s *SearchResult) ProxyImages(proxy string) + type Tag struct + Name string + TranslatedName string + type TagDetail struct + AlternativeName string + Metadata TagMetadata + Name string + type TagMetadata struct + Detail string + ID json.Number + Image string + Name string + type TagResponse struct + AuthorID string + RawTags json.RawMessage + type User struct + Artworks []IllustShort + ArtworksCount int + Avatar string + BackgroundImage string + Comment template.HTML + Following int + FrequentTags []FrequentTag + ID string + MyPixiv int + Name string + func (s *User) ProxyImages(proxy string) + type UserShort struct + Avatar string + ID string + Name string