Package config provides config structures, and a mechanism that merges sources
such that the global config file, a project local config file and
command-line flags.
Edit opens the project local config file with an editor.
If the local config file is missing, Edit creates a new local config file.
$EDITOR is used as an editor if it is configured. Else, Vim is used.
Get returns the config which loaded from the global and local config files,
and command-line flags passed as an argument. Note that fs must have been parsed.
type Server struct {
Host string `toml:"host"`
Port string `toml:"port"`
Reflection bool `toml:"reflection"`
TLS bool `toml:"tls"`
Name string `toml:"name"`
}