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"`
LocalHTTPPort int `ini:"local_http_port"`
LocalHTTPSPort int `ini:"local_https_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"`
EnableAnalytics bool `ini:"enable_analytics"`
AnalyticsOption string `ini:"analytics_option_date"`
AnalyticsID string `ini:"analytics_id"`
LocalEndpoint string `ini:"-"`
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 )
func (*Config) IsEndpoint ¶
IsEndpoint returns a boolean telling whether the URL is within a WeDeploy endpoint or not
Click to show internal directories.
Click to hide internal directories.