The highest tagged major version is
v3 .
Discover Packages
github.com/TwinProduction/gatus
config
package
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: Jul 24, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
DefaultConfigurationFilePath = "config/config.yaml"
)
View Source
var (
ErrNoServiceInConfig = errors .New ("configuration file should contain at least 1 service")
ErrConfigFileNotFound = errors .New ("configuration file not found")
ErrConfigNotLoaded = errors .New ("configuration is nil")
)
func LoadDefaultConfiguration() error
type Config struct {
Metrics bool `yaml:"metrics"`
Services []*core .Service `yaml:"services"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.