Documentation ¶
Index ¶
- type DoujinRaw
- func (dr *DoujinRaw) All() (doujinMap map[string]interface{}, err error)
- func (dr *DoujinRaw) Artists() (artists []*TagRaw, err error)
- func (dr *DoujinRaw) Categories() (categories []*TagRaw, err error)
- func (dr *DoujinRaw) Characters() (characters []*TagRaw, err error)
- func (dr *DoujinRaw) CoverImage() (cover ImageRaw, err error)
- func (dr *DoujinRaw) Groups() (groups []*TagRaw, err error)
- func (dr *DoujinRaw) Id() (id int, err error)
- func (dr *DoujinRaw) Languages() (languages []*TagRaw, err error)
- func (dr *DoujinRaw) MediaId() (mediaId int, err error)
- func (dr *DoujinRaw) NumFavorites() (numFavorites int, err error)
- func (dr *DoujinRaw) NumPages() (numPages int, err error)
- func (dr *DoujinRaw) Pages() (pages []*ImageRaw, err error)
- func (dr *DoujinRaw) Parodies() (parodies []*TagRaw, err error)
- func (dr *DoujinRaw) Scanlator() (scanlator string, err error)
- func (dr *DoujinRaw) Tags() (tags []*TagRaw, err error)
- func (dr *DoujinRaw) Thumbnail() (thumb ImageRaw, err error)
- func (dr *DoujinRaw) Title() (title TitleRaw, err error)
- func (dr *DoujinRaw) UploadDate() (uploadTime time.Time, err error)
- type ImageRaw
- type TagRaw
- func (tr *TagRaw) All() (tagMap map[string]interface{}, err error)
- func (tr *TagRaw) Count() (count int, err error)
- func (tr *TagRaw) Id() (id int, err error)
- func (tr *TagRaw) Name() (name string, err error)
- func (tr *TagRaw) Type() (tagsType string, err error)
- func (tr *TagRaw) Url() (url string, err error)
- type TitleRaw
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DoujinRaw ¶
type DoujinRaw struct {
// contains filtered or unexported fields
}
DoujinRaw contains the json returned by the API for doujinshi
func NewDoujinRaw ¶
func NewDoujinRaw(data map[string]json.RawMessage) (*DoujinRaw, error)
NewDoujinRaw creates a new Doujinshi raw object with the raw message
func NewDoujinRawUrl ¶
NewDoujinRawUrl creates a new Doujinshi raw object with the url
func (*DoujinRaw) Artists ¶
Artists is a function that returns the artists list of the doujinshi raw
func (*DoujinRaw) Categories ¶
Categories is a function that returns the categories list of the doujinshi raw
func (*DoujinRaw) Characters ¶
Characters is a function that returns the characters list of the doujinshi raw
func (*DoujinRaw) CoverImage ¶
CoverImage is a function that returns the cover of the doujinshi raw
func (*DoujinRaw) Languages ¶
Languages is a function that returns the languages list of the doujinshi raw
func (*DoujinRaw) NumFavorites ¶
NumFavorites is a function that returns the number of favorites of the doujinshi raw
func (*DoujinRaw) NumPages ¶
NumPages is a function that returns the number of pages of the doujinshi raw
func (*DoujinRaw) Parodies ¶
Parodies is a function that returns the parodies list of the doujinshi raw
func (*DoujinRaw) Scanlator ¶
Scanlator is a function that returns the scanlator of the doujinshi raw
func (*DoujinRaw) Thumbnail ¶
Thumbnail is a function that returns the thumbnail of the doujinshi raw
type ImageRaw ¶
type ImageRaw struct {
Data map[string]json.RawMessage
}
ImageRaw is the data struct that describes a image raw
type TagRaw ¶
type TagRaw struct {
Data map[string]json.RawMessage
}
TagRaw contains the json returned by the API for tags
type TitleRaw ¶
type TitleRaw struct {
Data map[string]json.RawMessage
}
TitleRaw is the json api result of the doujinshi title