Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artist ¶
type Artist struct { ArtistId int64 `field:"artist_id" json:"artist_id" example:"1"` Name string `field:"name" json:"name" example:"fourthwallzart"` Patreon *string `field:"patreon" json:"patreon"` Pixiv *string `field:"pixiv" json:"pixiv"` Twitter *string `field:"twitter" json:"twitter" example:"https://twitter.com/4thWallzArt"` DeviantArt *string `field:"deviant_art" json:"deviant_art" example:"https://www.deviantart.com/4thwallzart"` }
Artist Represent an artist to a json-like format
type Image ¶
type Image struct { Signature string `json:"signature" example:"58e6f0372364abda"` Extension string `json:"extension" example:".png"` ImageId int64 `json:"image_id" example:"8108"` Favorites int64 `json:"favorites" example:"1"` DominantColor string `json:"dominant_color" example:"#bbb7b2"` Source *string `json:"source" example:"https://www.patreon.com/posts/persephone-78224476"` Artist *Artist `json:"artist"` UploadedAt string `json:"uploaded_at" example:"2023-05-03T18:40:04.381354+02:00"` LikedAt *string `json:"liked_at"` IsNsfw bool `json:"is_nsfw" example:"false"` Width int64 `json:"width" example:"1536"` Height int64 `json:"height" example:"2304"` ByteSize int64 `json:"byte_size" example:"3299586"` Url string `json:"url" example:"https://cdn.waifu.im/8108.png"` PreviewUrl string `json:"preview_url" example:"https://www.waifu.im/preview/8108/"` Tags []Tag `json:"tags"` }
Image Represent an image to a json-like format
type Tag ¶
type Tag struct { TagId int64 `field:"tag_id" json:"tag_id" example:"12"` Name string `field:"name" json:"name" example:"waifu"` Description string `field:"description" json:"description" example:"A female anime/manga character."` IsNsfw bool `field:"is_nsfw" json:"is_nsfw" example:"false"` }
Tag Represent a tag to a json-like format
Click to show internal directories.
Click to hide internal directories.