Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultRefreshRate represents the refresh interval. DefaultRefreshRate = 1 // secs // DefaultLogLevel represents the default log level. DefaultLogLevel = "info" // DefaultPortNum represents the default port number. DefaultPortNum = 8080 // DefaultAddress represents the default address. DefaultAddress = "localhost" // DefaultLogLength represents the default log length. DefaultLogLength = 1000 // DefaultSortColumn represents the default sort column. DefaultSortColumn = "NAME" )
View Source
const ( PortEnvVarName = "PC_PORT_NUM" TuiEnvVarName = "PC_DISABLE_TUI" ConfigEnvVarName = "PC_CONFIG_FILES" )
Variables ¶
View Source
var ( Version = "undefined" Commit = "undefined" Date = "undefined" CheckForUpdates = "false" License = "Apache-2.0" )
Functions ¶
func GetConfigDefault ¶ added in v0.65.0
func GetConfigDefault() []string
func GetLogFilePath ¶ added in v0.43.1
func GetLogFilePath() string
func GetShortCutsPath ¶ added in v0.29.4
func GetShortCutsPath() string
func GetTuiDefault ¶ added in v0.65.0
func GetTuiDefault() bool
Types ¶
type Flags ¶ added in v0.65.0
type Flags struct {
RefreshRate *int
PortNum *int
Address *string
LogLevel *string
LogFile *string
LogLength *int
LogFollow *bool
LogTailLength *int
Headless *bool
Command *string
Write *bool
NoDependencies *bool
HideDisabled *bool
SortColumn *string
IsReverseSort *bool
}
Flags represents PC configuration flags.
Click to show internal directories.
Click to hide internal directories.