settings struct
This commit is contained in:
parent
90b8d07bae
commit
6995b264d8
|
@ -13,19 +13,20 @@ type Settings struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
Flimit uint64 `yaml:"flimit,omitempty"`
|
Flimit uint64 `yaml:"flimit"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Server struct {
|
type Server struct {
|
||||||
Enabled bool `yaml:"enable,omitempty"`
|
Enabled bool `yaml:"enable"`
|
||||||
Open bool `yaml:"open,omitempty"`
|
Open bool `yaml:"open"`
|
||||||
Host string `yaml:"host,omitempty"`
|
Host string `yaml:"host"`
|
||||||
Port int `yaml:"port,omitempty"`
|
Port int `yaml:"port"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Resources struct {
|
type Resources struct {
|
||||||
Config string `yaml:"config,omitempty"`
|
Config string `yaml:"-"`
|
||||||
Output string `yaml:"output,omitempty"`
|
Output string `yaml:"output"`
|
||||||
|
Log string `yaml:"log"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Flimit defines the max number of watched files
|
// Flimit defines the max number of watched files
|
||||||
|
|
Loading…
Reference in New Issue