Documentation
¶
Index ¶
- Constants
- Variables
- func AnalyticsEnabled() bool
- func AnalyticsLogEnabled() bool
- func CheckUpdates() bool
- func GaugeRepositoryUrl() string
- func GaugeTemplatesUrl() string
- func GaugeUpdateUrl() string
- func PluginConnectionTimeout() time.Duration
- func PluginKillTimeout() time.Duration
- func RefactorTimeout() time.Duration
- func RunnerConnectionTimeout() time.Duration
- func RunnerRequestTimeout() time.Duration
- func SetProjectRoot(args []string) error
- func UniqueID() string
Constants ¶
const (
LayoutForTimeStamp = "Jan 2, 2006 at 3:04pm"
)
Variables ¶
var APILog = logging.MustGetLogger("gauge-api")
var ProjectRoot string
Functions ¶
func AnalyticsEnabled ¶ added in v0.8.5
func AnalyticsEnabled() bool
AnalyticsEnabled determines if sending data to analytics is enabled
func AnalyticsLogEnabled ¶ added in v0.8.5
func AnalyticsLogEnabled() bool
AnalyticsLogEnabled determines if requests to analytics have to be logged
func CheckUpdates ¶ added in v0.3.0
func CheckUpdates() bool
CheckUpdates determines if update check is enabled
func GaugeRepositoryUrl ¶
func GaugeRepositoryUrl() string
GaugeRepositoryUrl fetches the repository URL to locate plugins
func GaugeTemplatesUrl ¶ added in v0.3.0
func GaugeTemplatesUrl() string
GaugeTemplatesUrl fetches the URL to be used to download project templates
func GaugeUpdateUrl ¶ added in v0.3.0
func GaugeUpdateUrl() string
GaugeUpdateUrl fetches the URL to be used to check updates
func PluginConnectionTimeout ¶
PluginConnectionTimeout gets timeout in milliseconds for making a connection to plugins
func PluginKillTimeout ¶
PluginKillTimeout gets timeout in milliseconds for a plugin to stop after a kill message has been sent
func RefactorTimeout ¶
RefactorTimeout returns the default timeout value for a refactoring request.
func RunnerConnectionTimeout ¶
RunnerConnectionTimeout gets timeout in milliseconds for making a connection to the language runner
func RunnerRequestTimeout ¶
Timeout in milliseconds for requests from the language runner.
func SetProjectRoot ¶
SetProjectRoot sets project root location in ENV.
Types ¶
This section is empty.