mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-22 16:03:44 +01:00
14 lines
309 B
Go
14 lines
309 B
Go
|
package ui
|
||
|
|
||
|
// Config is the UI configuration for services
|
||
|
type Config struct {
|
||
|
HideHostname bool `yaml:"hide-hostname"` // Whether to hide the hostname in the Result
|
||
|
}
|
||
|
|
||
|
// GetDefaultConfig retrieves the default UI configuration
|
||
|
func GetDefaultConfig() *Config {
|
||
|
return &Config{
|
||
|
HideHostname: false,
|
||
|
}
|
||
|
}
|