This commit is contained in:
2025-08-24 16:53:05 +10:00
parent 75745b9431
commit e9fbe5c5db
22 changed files with 1005 additions and 642 deletions

15
model/downloader.go Normal file
View File

@@ -0,0 +1,15 @@
package model
type ExtraFile struct {
Data []byte
Path string
ManifestItem ManifestItem
}
type Downloader interface {
GetNovel(novelId int) (*Novel, error)
GetVolume(novelId int, volumeId int) (*Volume, error)
GetChapter(novelId int, volumeId int, chapterId int) (*Chapter, error)
GetStyleCSS() string
GetExtraFiles() []ExtraFile
}