Documentation
¶
Index ¶
- type S3Client
- func (c *S3Client) DeleteFile(filepath string) error
- func (c *S3Client) DeleteFolder(prefix string) error
- func (c *S3Client) DownloadFile(filepath string) (io.ReadCloser, error)
- func (c *S3Client) HasFile(filepath string) (bool, error)
- func (c *S3Client) UploadFile(filepath string, content io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Client ¶
type S3Client struct {
// contains filtered or unexported fields
}
func New ¶
func New(conf appconfig.S3ProviderConfig) *S3Client
todo do the splitting up into chunkeronis
func (*S3Client) DeleteFile ¶
func (*S3Client) DeleteFolder ¶
func (*S3Client) DownloadFile ¶
func (c *S3Client) DownloadFile(filepath string) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.