Documentation ¶
Index ¶
- func FileExists(path string) (bool, error)
- type Fs
- func (fs Fs) BucketConfig(string) kit.BucketConfig
- func (fs Fs) Buckets() ([]string, apperror.Error)
- func (fs Fs) ClearAll() apperror.Error
- func (fs Fs) ClearBucket(bucket string) apperror.Error
- func (fs Fs) ConfigureBucket(string, kit.BucketConfig) apperror.Error
- func (fs Fs) CreateBucket(bucket string, _ kit.BucketConfig) apperror.Error
- func (fs Fs) DeleteBucket(bucket string) apperror.Error
- func (fs Fs) DeleteFile(f kit.File) apperror.Error
- func (fs Fs) DeleteFileById(bucket, id string) apperror.Error
- func (fs Fs) FileIds(bucket string) ([]string, apperror.Error)
- func (fs Fs) FilePath(bucket, file string) string
- func (fs Fs) FileSize(file kit.File) (int64, apperror.Error)
- func (fs Fs) FileSizeById(bucket, id string) (int64, apperror.Error)
- func (fs Fs) HasBucket(bucket string) (bool, apperror.Error)
- func (fs Fs) HasFile(f kit.File) (bool, apperror.Error)
- func (fs Fs) HasFileById(bucket, id string) (bool, apperror.Error)
- func (fs *Fs) Name() string
- func (fs Fs) Reader(f kit.File) (kit.ReadSeekerCloser, apperror.Error)
- func (fs Fs) ReaderById(bucket, id string) (kit.ReadSeekerCloser, apperror.Error)
- func (fs *Fs) SetName(x string)
- func (fs Fs) Writer(f kit.File, create bool) (string, io.WriteCloser, apperror.Error)
- func (fs Fs) WriterById(bucket, id string, create bool) (string, io.WriteCloser, apperror.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
Types ¶
type Fs ¶
type Fs struct {
// contains filtered or unexported fields
}
func (Fs) BucketConfig ¶
func (fs Fs) BucketConfig(string) kit.BucketConfig
func (Fs) ClearBucket ¶
func (Fs) ConfigureBucket ¶
func (fs Fs) ConfigureBucket(string, kit.BucketConfig) apperror.Error
func (Fs) CreateBucket ¶
func (fs Fs) CreateBucket(bucket string, _ kit.BucketConfig) apperror.Error
func (Fs) DeleteBucket ¶
func (Fs) DeleteFile ¶
func (Fs) DeleteFileById ¶
func (Fs) FileSizeById ¶
func (Fs) HasFileById ¶
func (Fs) ReaderById ¶
func (fs Fs) ReaderById(bucket, id string) (kit.ReadSeekerCloser, apperror.Error)
func (Fs) WriterById ¶
Click to show internal directories.
Click to hide internal directories.