Documentation ¶
Index ¶
- func DeleteFile(bucketName string, objectKey string) error
- func DetermineStorageType(content string) string
- func DownloadFile(bucketName string, objectKey string) ([]byte, error)
- func GetEndpoint(bucketName string) string
- func GetLocation(bucketName, objectKey string) string
- func ListFiles(bucketName string) ([]string, error)
- func UploadFile(bucketName string, objectKey string, fileContents []byte, readable bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFile ¶
func DetermineStorageType ¶
DetermineStorageType decides whether content should be in hot or cold storage.
func GetEndpoint ¶
func GetLocation ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.