Close #159: Add the ability to hide the hostname of a service

This commit is contained in:
TwinProduction authored and Chris committed 2021-09-06 13:28:35 -04:00
1 parent becc17202b
commit 9c99cc522d
7 files changed
+33 -7

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
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,
}
}