Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultFetcher = NewFetcher(DefaultHTTPDownloader)
View Source
var DefaultHTTPDownloader = NewHTTPDownloader(http.Client{Timeout: time.Second * 3})
View Source
var ZeroImage = Image{}
Functions ¶
func NewHTTPDownloader ¶ added in v0.1.3
Types ¶
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
func NewFetcher ¶
func NewFetcher( downloader downloader, ) *Fetcher
type S3Uploader ¶ added in v0.1.2
type S3Uploader struct {
// contains filtered or unexported fields
}
func NewS3Uploader ¶
func NewS3Uploader( client *s3.Client, bucket string, path string, ) *S3Uploader
Click to show internal directories.
Click to hide internal directories.