Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiClient ¶
func NewHttpClient ¶
func NewHttpClient() *ApiClient
type ApiResponse ¶
type Uploader ¶
type Uploader interface {
Create(ctx context.Context, bucketName string, location string)
Upload(ctx context.Context, bucketName string, objectName string, buf []byte)
UploadFile(ctx context.Context, bucketName string, objectName string, filePath string)
Download(ctx context.Context, bucketName string, objectName string, filePath string)
DownloadAll(ctx context.Context, bucketName string) []string
}
Click to show internal directories.
Click to hide internal directories.