Documentation
¶
Index ¶
Constants ¶
View Source
const (
SOURCE_MANHUAGUI int = iota
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chapter ¶
type ChapterIdList ¶
type ChapterIdList []int64
type ChapterList ¶
type ChapterList []Chapter
type ChapterRow ¶
type ChapterRow struct {
MangaId int64 `xorm:"index 'manga_id'" json:"manga_id"`
Title string `json:"title"`
Link string `xorm:"unique" json:"link"`
Index int `json:"index"`
}
ChapterRow is chapter base info
type ChapterRowList ¶
type ChapterRowList []ChapterRow
type Manga ¶
type Manga struct {
Id int64 `xorm:"pk autoincr" json:"id"`
Name string `json:"name"`
Author string `json:"author"`
Link string `xorm:"unique" json:"link"`
Alias string `json:"alias"`
Intro string `xorm:"text" json:"intro"`
Cover string `json:"cover"`
Source int `xorm:"TINYINT 'source'" json:"source"`
Created time.Time `xorm:"created" json:"created"`
Updated time.Time `xorm:"updated" json:"updated"`
}
type MangaDetail ¶
type MangaDetail struct {
Manga
ChapterList `json:"chapters"`
}
type MangaDetailList ¶
type MangaDetailList []MangaDetail
type MangaInfo ¶
type MangaInfo struct {
*Manga
ChapterRowList
}
type MobiInfo ¶
type MobiInfo struct {
MobiMeta
// swag wtf?
ChapterIdList ChapterIdList `json:"chapter_id_list"`
}
type MobiXChapter ¶
type Picture ¶
type PictureList ¶
type PictureList []Picture
type ProcessCount ¶
type ProcessInfo ¶
type ProcessInfo struct {
ProcessCount
}
Click to show internal directories.
Click to hide internal directories.