Documentation ¶
Index ¶
- type Client
- func (c *Client) List(ctx context.Context, j *model.DirectoryObject, fn func(o model.Object)) (err error)
- func (c *Client) Name(ctx context.Context) (name string)
- func (c *Client) Reach(ctx context.Context, p string) (url string, err error)
- func (c *Client) Reachable() bool
- func (c *Client) Read(ctx context.Context, p string) (r io.Reader, err error)
- func (c *Client) ReadRange(ctx context.Context, p string, offset, size int64) (r io.Reader, err error)
- func (c *Client) Stat(ctx context.Context, p string) (o *model.SingleObject, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is the struct for local file list endpoint.
func (*Client) List ¶
func (c *Client) List(ctx context.Context, j *model.DirectoryObject, fn func(o model.Object)) (err error)
List implement source.List
Click to show internal directories.
Click to hide internal directories.