Documentation ¶
Index ¶
- func New(config *Config) filestorage.FileStorager
- type Config
- type FS
- func (f *FS) Copy(from, to string) error
- func (f *FS) Delete(name string) error
- func (f *FS) Exists(name string) (bool, error)
- func (f *FS) Get(name string) ([]byte, error)
- func (f *FS) List(name string) ([]*filestorage.FileStats, error)
- func (f *FS) Save(name string, data []byte) error
- func (f *FS) Stats(name string) (*filestorage.FileStats, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(config *Config) filestorage.FileStorager
Types ¶
Click to show internal directories.
Click to hide internal directories.