Versions in this module Expand all Collapse all v0 v0.1.0 May 25, 2022 Changes in this version + const DefaultCharmServerHTTPort + const DefaultCharmServerHost + const DefaultCharmServerSSHPort + const DefaultServerURL + type Client struct + func NewClient() (*Client, error) + func NewClientWithConfig(cfg *Config) (*Client, error) + func (c *Client) Publish(path string) error + func (c *Client) PublishWithRoot(root, path string) error + func (c *Client) UploadRequest(token string, body *bytes.Buffer) (*http.Request, error) + type Config struct + CharmServerHTTPPort int + CharmServerHost string + CharmServerSSHPort int + ServerURL string + func DefaultConfig() *Config