Documentation
¶
Index ¶
- type Client
- func (c *Client) Archive(name, version, path string, out io.Writer) error
- func (c *Client) Directory(name, version, path string) ([]string, []string, error)
- func (c *Client) Download(name, version string) (string, error)
- func (c *Client) File(name, version, path string) (string, error)
- func (c *Client) Versions(name string) ([]string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Host string
}
Client implements the registry.Client interface for standard registries.
func (*Client) Download ¶
Download writes a package's contents to a temporary directory and returns its path.
Click to show internal directories.
Click to hide internal directories.