Documentation ¶
Index ¶
- type AuthorDetails
- type DetailsApi
- type DetailsResponse
- type DisplayTags
- type ExternalSiteWorksStatus
- type FanboxDetails
- type IllustDetails
- type IllustImages
- type MangaA
- type Meta
- type Ogp
- type PixivResponse
- type ProfileImg
- type TitleCaptionTranslation
- type TwitterCard
- type UgoiraFrame
- type UgoiraMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorDetails ¶
type AuthorDetails struct { UserID string `json:"user_id"` UserStatus string `json:"user_status"` UserAccount string `json:"user_account"` UserName string `json:"user_name"` UserPremium string `json:"user_premium"` ProfileImg ProfileImg `json:"profile_img"` ExternalSiteWorksStatus ExternalSiteWorksStatus `json:"external_site_works_status"` FanboxDetails FanboxDetails `json:"fanbox_details"` AcceptRequest bool `json:"accept_request"` }
type DetailsApi ¶
type DetailsApi struct { IllustDetails IllustDetails `json:"illust_details"` AuthorDetails AuthorDetails `json:"author_details"` }
func GetDetils ¶
func GetDetils(id int) (*DetailsApi, error)
type DetailsResponse ¶
type DetailsResponse struct { IsError bool `json:"error"` ErrorMessage string `json:"message"` Body *DetailsApi `json:"body"` }
func (DetailsResponse) GetError ¶
func (res DetailsResponse) GetError() error
type DisplayTags ¶
type ExternalSiteWorksStatus ¶
type FanboxDetails ¶
type FanboxDetails struct { UserID string `json:"user_id"` CreatorID string `json:"creator_id"` Description string `json:"description"` HasAdultContent string `json:"has_adult_content"` RegistrationDatetime string `json:"registration_datetime"` UpdatedDatetime string `json:"updated_datetime"` CoverImageURL string `json:"cover_image_url"` URL string `json:"url"` }
type IllustDetails ¶
type IllustDetails struct { URL string `json:"url"` URLThumb string `json:"url_s"` URLMini string `json:"url_ss"` URLOriginal string `json:"url_big"` URLSmall string `json:"url_placeholder"` Tags []string `json:"tags"` IllustImages []IllustImages `json:"illust_images"` MangaA []MangaA `json:"manga_a"` DisplayTags []DisplayTags `json:"display_tags"` TagsEditable bool `json:"tags_editable"` BookmarkUserTotal int `json:"bookmark_user_total"` UgoiraMeta UgoiraMeta `json:"ugoira_meta"` Request interface{} `json:"request"` Meta Meta `json:"meta"` IsRated bool `json:"is_rated"` ResponseGet []interface{} `json:"response_get"` ResponseSend []interface{} `json:"response_send"` BookmarkID string `json:"bookmark_id"` BookmarkRestrict string `json:"bookmark_restrict"` TitleCaptionTranslation TitleCaptionTranslation `json:"title_caption_translation"` IsMypixiv bool `json:"is_mypixiv"` IsPrivate bool `json:"is_private"` IsHowto bool `json:"is_howto"` IsOriginal bool `json:"is_original"` Alt string `json:"alt"` StorableTags []string `json:"storable_tags"` UploadTimestamp int `json:"upload_timestamp"` ID string `json:"id"` UserID string `json:"user_id"` Title string `json:"title"` Width string `json:"width"` Height string `json:"height"` Restrict string `json:"restrict"` XRestrict string `json:"x_restrict"` Type string `json:"type"` Sl int `json:"sl"` PageCount string `json:"page_count"` Comment string `json:"comment"` RatingCount string `json:"rating_count"` RatingView string `json:"rating_view"` CommentHTML string `json:"comment_html"` }
func (IllustDetails) GetOriginalImage ¶
func (details IllustDetails) GetOriginalImage() string
func (IllustDetails) GetSmallImage ¶
func (details IllustDetails) GetSmallImage() string
type IllustImages ¶
type MangaA ¶
type MangaA struct { Page int `json:"page"` URL string `json:"url"` URLSmall string `json:"url_small"` URLOriginal string `json:"url_big"` }
func (MangaA) GetOriginalImage ¶
func (MangaA) GetSmallImage ¶
type PixivResponse ¶
type PixivResponse interface {
GetError() error
}
type ProfileImg ¶
type ProfileImg struct {
Main string `json:"main"`
}
type TitleCaptionTranslation ¶
type TitleCaptionTranslation struct { WorkTitle interface{} `json:"work_title"` WorkCaption interface{} `json:"work_caption"` }
type TwitterCard ¶
type TwitterCard struct { Card string `json:"card"` Site string `json:"site"` URL string `json:"url"` Title string `json:"title"` Description string `json:"description"` AppNameIphone string `json:"app:name:iphone"` AppIDIphone string `json:"app:id:iphone"` AppURLIphone string `json:"app:url:iphone"` AppNameIpad string `json:"app:name:ipad"` AppIDIpad string `json:"app:id:ipad"` AppURLIpad string `json:"app:url:ipad"` AppNameGoogleplay string `json:"app:name:googleplay"` AppIDGoogleplay string `json:"app:id:googleplay"` AppURLGoogleplay string `json:"app:url:googleplay"` Image string `json:"image"` }
type UgoiraFrame ¶
type UgoiraMeta ¶
type UgoiraMeta struct { Src string `json:"src"` MimeType string `json:"mime_type"` Frames []UgoiraFrame `json:"frames"` }
Click to show internal directories.
Click to hide internal directories.