Documentation
¶
Index ¶
Constants ¶
View Source
const ProgramName = "limo"
ProgramName is the program name
View Source
const Version = "0.4.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"`
}
Config contains configuration information
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 ServiceConfig ¶
type ServiceConfig struct {
Token string
}
ServiceConfig contains configuration information for a service
Click to show internal directories.
Click to hide internal directories.