Documentation
¶
Index ¶
- type S3Storage
- func (s *S3Storage) Delete(path string) error
- func (s *S3Storage) Exists(filepath string) bool
- func (s *S3Storage) IsNotExist(err error) bool
- func (s *S3Storage) ModifiedTime(path string) (time.Time, error)
- func (s *S3Storage) Open(filepath string) (gostorages.File, error)
- func (s *S3Storage) Save(path string, file gostorages.File) error
- func (s *S3Storage) Size(path string) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Storage ¶
type S3Storage struct { *gostorages.BaseStorage // contains filtered or unexported fields }
Storage is a S3 storage.
func NewS3Storage ¶
func (*S3Storage) IsNotExist ¶
IsNotExist returns a boolean indicating whether the error is known to report that a file or directory does not exist.
func (*S3Storage) Open ¶
func (s *S3Storage) Open(filepath string) (gostorages.File, error)
Open returns the file content in a dedicated bucket
Click to show internal directories.
Click to hide internal directories.