Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { URL string User string Pass string Token string Insecure bool Client *resty.Client }
func (*API) GetToken ¶
func (a *API) GetToken() (*LoginResult, error)
type LoginResult ¶
type LoginResult struct {
CID string
}
Click to show internal directories.
Click to hide internal directories.