Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultPartSize = 1024 * 1024 * 8
DefaultPartSize is the default part size for multipart uploads to S3. This is used only when the content size is unknown and is a low value for small VMs.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Storer ¶
type Storer interface {
Exists(ctx context.Context, path string) (bool, error)
Read(ctx context.Context, path string) (io.Reader, int64, error)
Write(ctx context.Context, path string, w io.Reader, size int64) error
Delete(ctx context.Context, path string) error
List(ctx context.Context, prefix string) ([]string, error)
}
func NewLocalStorer ¶
Click to show internal directories.
Click to hide internal directories.