Documentation
¶
Index ¶
Constants ¶
View Source
const ProgramName = "limo"
ProgramName is the program name
View Source
const Version = "0.5.0"
Version is the semver-compliant program version
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DatabasePath string `yaml:"databasePath"` IndexPath string `yaml:"indexPath"` Services map[string]*ServiceConfig `yaml:"services"` Outputs map[string]*OutputConfig `yaml:"outputs"` }
Config contains configuration information
func (*Config) GetOutput ¶ added in v0.5.0
func (config *Config) GetOutput(name string) *OutputConfig
GetOutput returns the configuration information for an output
func (*Config) GetService ¶
func (config *Config) GetService(name string) *ServiceConfig
GetService returns the configuration information for a service
func (*Config) WriteConfig ¶
WriteConfig writes the configuration information
type OutputConfig ¶ added in v0.5.0
type OutputConfig struct { SpinnerIndex int `yaml:"spinnerIndex"` SpinnerInterval int `yaml:"spinnerInterval"` SpinnerColor string `yaml:"spinnerColor"` }
OutputConfig sontains configuration information for an output
type ServiceConfig ¶
ServiceConfig contains configuration information for a service
Click to show internal directories.
Click to hide internal directories.