Documentation ¶
Index ¶
- type Manager
- func (m *Manager) Delete(key string) error
- func (m *Manager) Get(key string) ([]byte, error)
- func (m *Manager) GetFilesFromSubFolder(folder string) ([]string, error)
- func (m *Manager) GetKeys() ([]string, error)
- func (m *Manager) Save(payload []byte) error
- func (m *Manager) SaveWithKey(payload []byte, objectKey string) error
- func (m *Manager) UploadMultipart(fileName string, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager contains s3 client functionalities
func NewManager ¶
NewManager initiates a new s3 manager
func (*Manager) GetFilesFromSubFolder ¶ added in v1.5.21
GetFilesFromSubFolder returns files from a subfolder in the bucket
func (*Manager) SaveWithKey ¶ added in v1.2.3
SaveWithKey save data with specific key/path as an object in s3
Click to show internal directories.
Click to hide internal directories.