sources

package
Version: v0.0.0-...-760f784 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AISS_DEFAULT_WAITING_QUEUE = downloader.WAITTING_KEY_PREFIX + ":AISS"
)
View Source
const (
	DOUBAN_ALBUM_WAITTING_QUEUE = downloader.WAITTING_KEY_PREFIX + ":DOUBAN"
)
View Source
const (
	MZITU_WAITTING_QUEUE = downloader.WAITTING_KEY_PREFIX + ":MZITU"
)

Variables

View Source
var EOS = errors.New("End of source")

end of source error

Functions

This section is empty.

Types

type Aiss

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

func (*Aiss) Destination

func (s *Aiss) Destination() string

func (*Aiss) GetAll

func (s *Aiss) GetAll()

func (*Aiss) GetOne

func (s *Aiss) GetOne()

func (*Aiss) Name

func (s *Aiss) Name() string

func (*Aiss) Receiver

func (s *Aiss) Receiver() chan downloader.Url

func (*Aiss) SetReceiver

func (s *Aiss) SetReceiver(c chan downloader.Url)

type DoubanAlbum

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

func (*DoubanAlbum) Destination

func (s *DoubanAlbum) Destination() string

func (*DoubanAlbum) GetAll

func (s *DoubanAlbum) GetAll()

func (*DoubanAlbum) GetOne

func (s *DoubanAlbum) GetOne()

func (*DoubanAlbum) Name

func (s *DoubanAlbum) Name() string

func (*DoubanAlbum) Receiver

func (s *DoubanAlbum) Receiver() chan downloader.Url

func (*DoubanAlbum) SetReceiver

func (s *DoubanAlbum) SetReceiver(c chan downloader.Url)

type Mzitu

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

func (*Mzitu) Destination

func (s *Mzitu) Destination() string

func (*Mzitu) GetAll

func (s *Mzitu) GetAll()

func (*Mzitu) GetOne

func (s *Mzitu) GetOne()

func (*Mzitu) Name

func (s *Mzitu) Name() string

func (*Mzitu) Receiver

func (s *Mzitu) Receiver() chan downloader.Url

func (*Mzitu) SetReceiver

func (s *Mzitu) SetReceiver(c chan downloader.Url)

type ReqBody

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

type SourceWrapper

type SourceWrapper interface {
	GetOne()
	GetAll()
	SetReceiver(chan downloader.Url)
	Receiver() chan downloader.Url
	Destination() string
	Name() string
}

func NewAiss

func NewAiss(name string, dq string, limit int) SourceWrapper

func NewDoubanAlbum

func NewDoubanAlbum(name string, album string, ps int, sp int, lp int, dq string, climit int) SourceWrapper

func NewMzitu

func NewMzitu(name string, sg int, eg int, dq string, climit int) SourceWrapper

Jump to

Keyboard shortcuts

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