Documentation ¶
Index ¶
- func ComputeFileHash(filePath string) (string, error)
- type FilesShooter
- type SublistShooter
- type Supplier
- func (s *Supplier) CheckAlive() (bool, int64)
- func (s *Supplier) GetLogger() *logrus.Logger
- func (s *Supplier) GetSubListFromFile4Anime(seriesInfo *series.SeriesInfo) ([]supplier.SubInfo, error)
- func (s *Supplier) GetSubListFromFile4Movie(filePath string) ([]supplier.SubInfo, error)
- func (s *Supplier) GetSubListFromFile4Series(seriesInfo *series.SeriesInfo) ([]supplier.SubInfo, error)
- func (s *Supplier) GetSupplierName() string
- func (s *Supplier) IsAlive() bool
- func (s *Supplier) OverDailyDownloadLimit() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeFileHash ¶
Types ¶
type FilesShooter ¶
type SublistShooter ¶
type SublistShooter struct { Desc string `json:"desc"` Delay int64 `json:"delay"` Files []FilesShooter `json:"files"` }
type Supplier ¶
type Supplier struct {
// contains filtered or unexported fields
}
func NewSupplier ¶
func NewSupplier(fileDownloader *file_downloader.FileDownloader) *Supplier
func (*Supplier) CheckAlive ¶
func (*Supplier) GetSubListFromFile4Anime ¶
func (*Supplier) GetSubListFromFile4Movie ¶
func (*Supplier) GetSubListFromFile4Series ¶
func (*Supplier) GetSupplierName ¶
func (*Supplier) OverDailyDownloadLimit ¶
Click to show internal directories.
Click to hide internal directories.