Versions in this module Expand all Collapse all v1 v1.0.0 Jun 18, 2020 Changes in this version + var DefaultConfig = &Config + func GetRespCode(e error) int + func Metadata(url string, c *Config) (*http.Response, error) + func Open(url string, c *Config) (io.ReadCloser, *http.Response, error) + type Config struct + MetricsCallback MetricsCallbackFunc + type File struct + func NewFile(rawurl string, c *Config) (*File, error) + func (f *File) Readdir(n int) ([]os.FileInfo, error) + type Metrics struct + TotalBytes uint64 + TotalTime time.Duration + type MetricsCallbackFunc func(Metrics) + type Stat struct + ETag string + Key string + LastModified string + OwnerID string + OwnerName string + Size string + StorageClass string + type Uploader struct + Err error + UploadId string + func (u *Uploader) Close() error + func (u *Uploader) CloseWithResponse() (*http.Response, error) + func (u *Uploader) Write(p []byte) (n int, err error) + type WriteCloserWithResponse interface + CloseWithResponse func() (*http.Response, error) + func Create(url string, h http.Header, c *Config) (WriteCloserWithResponse, error)