Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageManager ¶
type StorageManager struct { // LogFunc is function that logs a formatted string somewhere LogFunc func(string, ...interface{}) // contains filtered or unexported fields }
StorageManager is an object capable of pushing/pulling from S3
func (*StorageManager) Push ¶
Push reads data from in, pushes it to S3 and returns the S3 location URL (optionally presigned)
func (*StorageManager) SetCredentials ¶
func (m *StorageManager) SetCredentials(accessKeyID, secretAccessKey string)
SetCredentials initializes StorageManager with the provided AWS credentials
Click to show internal directories.
Click to hide internal directories.