Documentation
¶
Index ¶
- type HTTPBackend
- func (be *HTTPBackend) Close() error
- func (be *HTTPBackend) Delete(ctx context.Context, u *url.URL) error
- func (be *HTTPBackend) ListPrefix(ctx context.Context, u *url.URL, optFunc ...types.ListOption) ([]*types.Object, error)
- func (be *HTTPBackend) ReadMetadata(ctx context.Context, u *url.URL) (*types.ObjectMetadata, error)
- func (be *HTTPBackend) Reader(ctx context.Context, u *url.URL) (types.Reader, error)
- func (be *HTTPBackend) ReaderAt(ctx context.Context, u *url.URL) (types.ReaderAt, error)
- func (be *HTTPBackend) Writer(ctx context.Context, u *url.URL) (types.Writer, error)
- type HTTPBackendConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPBackend ¶
type HTTPBackend struct {
// contains filtered or unexported fields
}
func NewHTTPBackend ¶
func NewHTTPBackend(ctx context.Context, conf HTTPBackendConfig) *HTTPBackend
func (*HTTPBackend) Close ¶
func (be *HTTPBackend) Close() error
func (*HTTPBackend) ListPrefix ¶
func (be *HTTPBackend) ListPrefix(ctx context.Context, u *url.URL, optFunc ...types.ListOption) ([]*types.Object, error)
func (*HTTPBackend) ReadMetadata ¶
func (be *HTTPBackend) ReadMetadata(ctx context.Context, u *url.URL) (*types.ObjectMetadata, error)
type HTTPBackendConfig ¶
type HTTPBackendConfig struct{}
Click to show internal directories.
Click to hide internal directories.