Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigPath string
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ServerURL *url.URL
User string
// Salt and token are not taken from the config file, but generated
// interactively and stored in a cache file. This avoids storing the
// password in plain text.
Salt string
Token string
}
func LoadConfig ¶
func (*Config) CacheCredentials ¶
Click to show internal directories.
Click to hide internal directories.