Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinCrawler ¶
type MinCrawler struct {
// contains filtered or unexported fields
}
MinCrawler minimifies images and save to distinct directory
func NewMinCrawler ¶
func NewMinCrawler(dirs []string) *MinCrawler
NewMinCrawler creates new MinCrawler
type RandomCrawler ¶
type RandomCrawler struct {
// contains filtered or unexported fields
}
RandomCrawler download random images from source
func NewRandomCrawler ¶
func NewRandomCrawler(saveDir string, maxUsage int64, getter api.ImageGetter) *RandomCrawler
NewRandomCrawler create random crawler
Click to show internal directories.
Click to hide internal directories.