Documentation ¶
Index ¶
- func NewLocal(root string) (httpmirror.FS, error)
- type Local
- func (l Local) Del(ctx context.Context, p string) error
- func (l Local) Get(ctx context.Context, p string) (io.ReadCloser, error)
- func (l Local) List(ctx context.Context, p string, fn func(fs.FileInfo) error) error
- func (l Local) Put(ctx context.Context, p string, f io.Reader) (err error)
- func (l Local) Stat(ctx context.Context, p string) (fs.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.