Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSClient ¶
type AWSClient struct { Settings config.AWSSettings // contains filtered or unexported fields }
func (*AWSClient) DeleteFile ¶
func (*AWSClient) GetFileURL ¶
func (*AWSClient) UploadFile ¶
type FileClientInterface ¶
type FileClientInterface interface { GetFileURL(fileURL string) *string UploadFile(folder string, fileHeader *multipart.FileHeader, allowedTypes []FileType) (*models.FileInfo, error) DeleteFile(fileURL string) error }
func NewAWSProvider ¶
func NewAWSProvider(settings config.AWSSettings) FileClientInterface
Click to show internal directories.
Click to hide internal directories.