Documentation ¶
Index ¶
- func New(config *Config) flysystem.IAdapter
- type Config
- type Local
- func (f *Local) Copy(source, destination string) (bool, error)
- func (f *Local) Delete(path string) (int64, error)
- func (f Local) DiskName() string
- func (f *Local) Exists(path string) (bool, error)
- func (f *Local) GFSAdapter() gfs.IAdapter
- func (f *Local) MimeType(path string) (string, error)
- func (f *Local) Move(source, destination string) (bool, error)
- func (f *Local) Read(path string) ([]byte, error)
- func (f *Local) Size(path string) (int64, error)
- func (f *Local) URL(path string) (*url.URL, error)
- func (f *Local) Update(path string, contents []byte) (string, error)
- func (f *Local) UpdateStream(path, resource string) (string, error)
- func (f *Local) Write(path string, contents []byte) (string, error)
- func (f *Local) WriteReader(path string, reader io.Reader) (string, error)
- func (f *Local) WriteStream(path, resource string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.3.2
type Local ¶
type Local struct { gfs.AbstractAdapter CDN string // contains filtered or unexported fields }
func (*Local) GFSAdapter ¶ added in v0.3.0
func (*Local) WriteReader ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.