Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Username string `ini:"username"`
Password string `ini:"password"`
Token string `ini:"token"`
Local bool `ini:"local"`
LocalPort int `ini:"local_port"`
NoAutocomplete bool `ini:"disable_autocomplete_autoinstall"`
NoColor bool `ini:"disable_colors"`
NotifyUpdates bool `ini:"notify_updates"`
ReleaseChannel string `ini:"release_channel"`
LastUpdateCheck string `ini:"last_update_check"`
PastVersion string `ini:"past_version"`
NextVersion string `ini:"next_version"`
Path string `ini:"-"`
Remotes remotes.List `ini:"-"`
// contains filtered or unexported fields
}
Config of the application
var ( // Global configuration Global *Config // Context stores the environmental context Context *usercontext.Context )
Click to show internal directories.
Click to hide internal directories.