Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Hentai settings HentaiHidden HentaiSetting = iota HentaiShown HentaiOnly // Chapter types ChapterInternal ChapterType = iota ChapterDelayed ChapterExternal )
Variables ¶
View Source
var ( EndpointMangaDex = "https://mangadex.org/" EndpointBakaUpdates = "https://www.mangaupdates.com/series.html?id=" EndpointBookwalker = "http://bookwalker.jp/" EndpointAmazon = "" EndpointEBookJapan = "" EndpointOfficialEnglishTranslation = "" EndpointNovelUpdates = "https://www.novelupdates.com/series/" EndpointCDJapan = "" EndpointManga = EndpointMangaDex + "title/" EndpointChapter = EndpointMangaDex + "chapter/" EndpointUser = EndpointMangaDex + "user/" EndpointGroup = EndpointMangaDex + "group/" EndpointAJAX = EndpointMangaDex + "ajax/actions.ajax.php" EndpointLogin = EndpointMangaDex + "login" )
View Source
var Genres = []string{
"4-Koma",
"Action",
"Adventure",
"Award Winning",
"Comedy",
"Cooking",
"Doujinshi",
"Drama",
"Ecchi",
"Fantasy",
"Gyaru",
"Harem",
"Historical",
"Horror",
"Martial Arts",
"Mecha",
"Medical",
"Music",
"Mystery",
"Oneshot",
"Psychological",
"Romance",
"School Life",
"Sci-Fi",
"Shoujo Ai",
"Shounen Ai",
"Slice of Life",
"Smut",
"Sports",
"Supernatural",
"Tragedy",
"Long Strip",
"Yaoi",
"Yuri",
"Video Games",
"Isekai",
"Adaptation",
"Anthology",
"Web Comic",
"Full Color",
"User Created",
"Official Colored",
"Fan Colored",
"Gore",
"Sexual Violence",
"Crime",
"Magical Girls",
"Philosophical",
"Superhero",
"Thriller",
"Wuxia",
"Aliens",
"Animals",
"Crossdressing",
"Demons",
"Delinquents",
"Genderswap",
"Ghosts",
"Monster Girls",
"Loli",
"Magic",
"Military",
"Monsters",
"Ninja",
"Office Workers",
"Police",
"Post-Apocalyptic",
"Reincarnation",
"Reverse Harem",
"Samurai",
"Shota",
"Survival",
"Time Travel",
"Vampires",
"Traditional Games",
"Virtual Reality",
"Zombies",
"Incest",
}
Functions ¶
This section is empty.
Types ¶
type Chapter ¶
type Chapter struct { ID int `json:"id"` Title string `json:"title"` Language string `json:"language"` Volume int `json:"volume"` Number int `json:"number"` Type ChapterType `json:"type"` URL string `json:"url"` Timestamp int64 `json:"timestamp"` GroupIDs []int `json:"group_ids"` CommentCount int `json:"comment_count"` Longstrip bool `json:"longstrip"` PageURLs []string `json:"page_urls"` MangaID int `json:"manga_id"` }
type ChapterType ¶
type ChapterType int
type Group ¶
type Group struct { ID int `json:"id"` Title string `json:"title"` Description string `json:"description"` Language string `json:"language"` Views int `json:"views"` Followers int `json:"followers"` Uploads int `json:"uploads"` LeaderID string `json:"leader_id"` MemberIDs []string `json:"member_ids"` Links []string `json:"links"` }
type HentaiSetting ¶
type HentaiSetting int
type Manga ¶
type Manga struct { ID int `json:"id"` Title string `json:"title"` AltTitles []string `json:"alt_titles"` Language string `json:"language"` CoverURL string `json:"cover_url"` Authors []string `json:"authors"` Artists []string `json:"artists"` GenreIDs []int `json:"genres"` Hentai bool `json:"hentai"` Rating int `json:"rating"` Views int `json:"views"` Description string `json:"description"` ChapterIDs []int `json:"chapters"` Links []string `json:"links"` }
type Session ¶
type Session struct { ID string `json:"id"` PersistentID string `json:"persistent_id"` Expires time.Time `json:"expires"` User *User `json:"user"` UserAgent string `json:"user_agent"` HentaiSetting HentaiSetting `json:"hentai_setting"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.