Close #159: Add the ability to hide the hostname of a service
This commit is contained in:
1 parent
becc17202b
commit
9c99cc522d
7 files changed
+33
-7
No files matched your search
@@ -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,
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user