Documentation ¶
Index ¶
- type Config
- type Storage
- func (g *Storage) Delete(ctx context.Context, path string) error
- func (g *Storage) Open(ctx context.Context, path string) (io.ReadCloser, error)
- func (g *Storage) OpenWithStat(ctx context.Context, path string) (io.ReadCloser, *gostorages.Stat, error)
- func (g *Storage) Save(ctx context.Context, content io.Reader, path string) error
- func (g *Storage) Stat(ctx context.Context, path string) (*gostorages.Stat, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) OpenWithStat ¶ added in v0.0.2
func (g *Storage) OpenWithStat(ctx context.Context, path string) (io.ReadCloser, *gostorages.Stat, error)
OpenWithStat opens path for reading with file stats.
Click to show internal directories.
Click to hide internal directories.