Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Global configuration Global *Config // Context stores the environmental context Context *ContextType )
Functions ¶
func SetEndpointContext ¶
SetEndpointContext for a given remote
Types ¶
type Config ¶
type Config struct {
DefaultRemote string `ini:"default_remote"`
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"`
EnableAnalytics bool `ini:"enable_analytics"`
AnalyticsID string `ini:"analytics_id"`
Path string `ini:"-"`
Remotes remotes.List `ini:"-"`
// contains filtered or unexported fields
}
Config of the application
Click to show internal directories.
Click to hide internal directories.