package
Version:
v0.0.0-...-38575d5
Opens a new window with list of versions in this module.
Published: Dec 9, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
-
func AsyncUpload(filePath, serverID, location, bucketName, objectName string) error
-
func Register(serverID string, s3 S3)
-
func SyncDownload(filePath, serverID, location, bucketName, objectName string) (bool, error)
-
func SyncUpload(filePath, serverID, location, bucketName, objectName string) (bool, error)
-
type S3
func AsyncUpload(filePath, serverID, location, bucketName, objectName string) error
func SyncDownload(filePath, serverID, location, bucketName, objectName string) (bool, error)
func SyncUpload(filePath, serverID, location, bucketName, objectName string) (bool, error)
type S3 interface {
SyncDownload(filePath, location, bucketName, objectName string) (bool, error)
SyncUpload(filePath, location, bucketName, objectName string) (bool, error)
AsyncUpload(filePath, location, bucketName, objectName string) error
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.