config

package
v0.8.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2017 License: GPL-3.0, GPL-3.0 Imports: 8 Imported by: 115

Documentation

Index

Constants

View Source
const (
	LayoutForTimeStamp = "Jan 2, 2006 at 3:04pm"
)

Variables

View Source
var APILog = logging.MustGetLogger("gauge-api")
View Source
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

func PluginConnectionTimeout() time.Duration

PluginConnectionTimeout gets timeout in milliseconds for making a connection to plugins

func PluginKillTimeout

func PluginKillTimeout() time.Duration

PluginKillTimeout gets timeout in milliseconds for a plugin to stop after a kill message has been sent

func RefactorTimeout

func RefactorTimeout() time.Duration

RefactorTimeout returns the default timeout value for a refactoring request.

func RunnerConnectionTimeout

func RunnerConnectionTimeout() time.Duration

RunnerConnectionTimeout gets timeout in milliseconds for making a connection to the language runner

func RunnerRequestTimeout

func RunnerRequestTimeout() time.Duration

Timeout in milliseconds for requests from the language runner.

func SetProjectRoot

func SetProjectRoot(args []string) error

SetProjectRoot sets project root location in ENV.

func UniqueID added in v0.8.5

func UniqueID() string

UniqueID gets the unique installation ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL