Documentation
¶
Index ¶
- type Client
- func (c *Client) GetInfo(wurl string) (FileInfo, error)
- func (c *Client) GetInfoWithPassword(wurl, password string) (FileInfo, error)
- func (c *Client) GetLink(wurl string) (string, error)
- func (c *Client) GetLinkWithPassword(wurl, password string) (string, error)
- func (c *Client) Login(username, password string) error
- func (c *Client) Logout() error
- type FileInfo
- type XMLResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Token string
}
func (*Client) GetInfoWithPassword ¶ added in v0.1.3
func (*Client) GetLinkWithPassword ¶ added in v0.1.3
type XMLResponse ¶
type XMLResponse struct {
XMLName xml.Name `xml:"response"`
Status string `xml:"status"`
Message string `xml:"message"`
Link string `xml:"link"`
Name string `xml:"name"`
Description string `xml:"description"`
Type string `xml:"type"`
Size int `xml:"size"`
Salt string `xml:"salt"`
Token string `xml:"token"`
}
Click to show internal directories.
Click to hide internal directories.