Documentation
¶
Overview ¶
Package application config contains configuration struct
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedFeatures = []string{"ssh_config"}
SupportedFeatures contains a list of application features that can be enabled or disabled.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { AppHome string `env:"GG_HOME"` LogLevel string `env:"GG_LOG_LEVEL" envDefault:"info"` SSHConfigFilePath string `env:"GG_SSH_CONFIG_FILE_PATH"` DisplayVersionAndExit bool EnableFeature FeatureFlag DisableFeature FeatureFlag }
Configuration structs contains user-definable parameters.
type FeatureFlag ¶
type FeatureFlag string
FeatureFlag represents application feature flag that can be enabled or disabled.
func (*FeatureFlag) Set ¶
func (ff *FeatureFlag) Set(value string) error
Set validates and sets the feature flag value.
func (*FeatureFlag) String ¶
func (ff *FeatureFlag) String() string
Click to show internal directories.
Click to hide internal directories.