Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetObjectOptions ¶
type GetObjectOptions struct {
Range *string
}
type PutObjectOptions ¶
type Storage ¶
type Storage interface { BasePath() string CopyObject(ctx context.Context, from, to string) error DeleteObject(ctx context.Context, key string) error GetObject(ctx context.Context, key string, options *GetObjectOptions) (io.ReadCloser, error) GetObjectSize(ctx context.Context, key string) (int64, error) // GetPresignedUploadUrl(ctx context.Context, key string, size uint64) (string, error) PutObject(ctx context.Context, key string, size int64, object io.Reader, options *PutObjectOptions) error DeleteObjectsWithPrefix(ctx context.Context, prefix string) (err error) }
Click to show internal directories.
Click to hide internal directories.