xunlei

package
v0.47.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SublistSliceXunLei

type SublistSliceXunLei struct {
	Sublist []SublistXunLei
}

type SublistXunLei

type SublistXunLei struct {
	Scid     string `json:"scid"`
	Sname    string `json:"sname"`
	Language string `json:"language"`
	Rate     string `json:"rate"`
	Surl     string `json:"surl"`
	Svote    int64  `json:"svote"`
	Roffset  int64  `json:"roffset"`
}

type Supplier

type Supplier struct {
	// contains filtered or unexported fields
}

func NewSupplier

func NewSupplier(fileDownloader *file_downloader.FileDownloader) *Supplier

func (*Supplier) CheckAlive

func (s *Supplier) CheckAlive() (bool, int64)

func (*Supplier) GetLogger

func (s *Supplier) GetLogger() *logrus.Logger

func (*Supplier) GetSubListFromFile4Anime

func (s *Supplier) GetSubListFromFile4Anime(seriesInfo *series.SeriesInfo) ([]supplier.SubInfo, error)

func (*Supplier) GetSubListFromFile4Movie

func (s *Supplier) GetSubListFromFile4Movie(filePath string) ([]supplier.SubInfo, error)

func (*Supplier) GetSubListFromFile4Series

func (s *Supplier) GetSubListFromFile4Series(seriesInfo *series.SeriesInfo) ([]supplier.SubInfo, error)

func (*Supplier) GetSupplierName

func (s *Supplier) GetSupplierName() string

func (*Supplier) IsAlive

func (s *Supplier) IsAlive() bool

func (*Supplier) OverDailyDownloadLimit

func (s *Supplier) OverDailyDownloadLimit() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL