Documentation
¶
Index ¶
- func GetConfig(cf Config, update bool) (aws.Config, error)
- func GetDownloader(client *s3.Client) *s3m.Downloader
- type Config
- type FType
- type Model
- func (m *Model) CreateBucket(name *string) error
- func (m *Model) CreateFolder(name *string, bucket *Object) error
- func (m *Model) Delete(key *string, bucket *Object) error
- func (m *Model) DeleteBucket(name *string) error
- func (m *Model) Download(object s3t.Object, currentPath string, destPath string, bucket *string) (n int64, err error)
- func (m *Model) GetBucketLocation(name *string) (*string, error)
- func (m *Model) List(path string, bucket *Object) ([]*Object, error)
- func (m *Model) ListBuckets() ([]*Object, error)
- func (m *Model) ListObjects(key string, bucket *Object) []s3t.Object
- func (m *Model) RefreshClient(bucket *string)
- type Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDownloader ¶
func GetDownloader(client *s3.Client) *s3m.Downloader
Types ¶
type Model ¶
func (*Model) CreateBucket ¶
func (*Model) DeleteBucket ¶
func (*Model) ListBuckets ¶
func (*Model) RefreshClient ¶
Click to show internal directories.
Click to hide internal directories.