Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
UploadByPath(ctx context.Context, path string) (*string, error)
UploadFromReader(ctx context.Context, objectName string, reader io.Reader) (*string, error)
DownloadToPath(ctx context.Context, objectName, destPath string) error
Download(ctx context.Context, objectName string, writer io.Writer) error
Delete(ctx context.Context, objectName string) error
List(ctx context.Context, prefix string) ([]string, error)
Exists(ctx context.Context, objectName string) (bool, error)
}
Click to show internal directories.
Click to hide internal directories.