Documentation
¶
Index ¶
- type S3
- func (s *S3) CreatePresignedURL(filepath string, expire time.Duration) (string, *controller.APIError)
- func (s *S3) DeleteFile(filepath string) *controller.APIError
- func (s *S3) GetFile(filepath string) (io.ReadCloser, *controller.APIError)
- func (s *S3) ListFiles() ([]string, *controller.APIError)
- func (s *S3) PutFile(content io.ReadSeeker, filepath string, contentType string) (string, *controller.APIError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3 ¶
type S3 struct {
// contains filtered or unexported fields
}
func (*S3) CreatePresignedURL ¶
func (*S3) DeleteFile ¶
func (s *S3) DeleteFile(filepath string) *controller.APIError
func (*S3) GetFile ¶
func (s *S3) GetFile(filepath string) (io.ReadCloser, *controller.APIError)
func (*S3) PutFile ¶
func (s *S3) PutFile(content io.ReadSeeker, filepath string, contentType string) (string, *controller.APIError)
Click to show internal directories.
Click to hide internal directories.