Documentation ¶
Index ¶
- type Client
- func (c *Client) Fetch(ctx context.Context, p, url string) (err error)
- func (c *Client) Fetchable() bool
- func (c *Client) List(ctx context.Context, j *model.Job, fn func(o *model.Object)) (err error)
- func (c *Client) MD5(ctx context.Context, p string) (b string, err error)
- func (c *Client) MD5able() bool
- 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.ReadCloser, err error)
- func (c *Client) Readable() bool
- func (c *Client) Stat(ctx context.Context, p string) (o *model.Object, err error)
- func (c *Client) Writable() bool
- func (c *Client) Write(ctx context.Context, p string, r io.ReadCloser) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Path string
}
Client is the struct for POSIX file system endpoint.
Click to show internal directories.
Click to hide internal directories.