changed it to only load latest chapter instead of all chapters for manga Added develop and release db from different locations Added stopwatch for future performance improvement metrics
13 lines
511 B
Go
13 lines
511 B
Go
package provider
|
|
|
|
type Provider interface {
|
|
GetImageList(html string) (imageUrls []string, err error)
|
|
GetHtml(url string) (html string, err error)
|
|
GetNext(html string) (url string, err error)
|
|
GetPrev(html string) (url string, err error)
|
|
GetTitleAndChapter(url string) (title string, chapter string, err error)
|
|
GetTitleIdAndChapterId(url string) (titleId int, chapterId int, err error)
|
|
GetThumbnail(mangaId string) (thumbnailUrl string, err error)
|
|
GetChapterList(url string) (urls []string, err error)
|
|
}
|