Documentation
¶
Index ¶
- type FSBackend
- func (be *FSBackend) Close() error
- func (be *FSBackend) Delete(ctx context.Context, u *url.URL) error
- func (be *FSBackend) ListPrefix(ctx context.Context, u *url.URL, optFuncs ...types.ListOption) ([]*types.Object, error)
- func (be *FSBackend) Move(ctx context.Context, src *url.URL, dst *url.URL) error
- func (be *FSBackend) ReadMetadata(ctx context.Context, u *url.URL) (*types.ObjectMetadata, error)
- func (be *FSBackend) Reader(ctx context.Context, u *url.URL) (types.Reader, error)
- func (be *FSBackend) ReaderAt(ctx context.Context, u *url.URL) (types.ReaderAt, error)
- func (be *FSBackend) Writer(ctx context.Context, u *url.URL) (types.Writer, error)
- type FSBackendConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSBackend ¶
type FSBackend struct{}
func NewFSBackend ¶
func NewFSBackend(ctx context.Context, conf FSBackendConfig) *FSBackend
func (*FSBackend) ListPrefix ¶
func (*FSBackend) ReadMetadata ¶
type FSBackendConfig ¶
type FSBackendConfig struct{}
Click to show internal directories.
Click to hide internal directories.