This commit is contained in:
Олег Бородин
2026-05-24 11:14:33 +02:00
parent f976cf82b3
commit d58fc54574
+5 -5
View File
@@ -39,11 +39,11 @@ type Config struct {
Keypath string `json:"keypath,omitempty" yaml:"keypath,omitempty"` Keypath string `json:"keypath,omitempty" yaml:"keypath,omitempty"`
X509Cert string `json:"-" yaml:"-"` X509Cert string `json:"-" yaml:"-"`
X509Key string `json:"-" yaml:"-"` X509Key string `json:"-" yaml:"-"`
Datadir string `json:"datadir" yaml:datadir` Datadir string `json:"datadir" yaml:"datadir"`
Hostname string `json:"hostname" yaml:hostname` Hostname string `json:"hostname" yaml:"hostname"`
Hostnames []string `json:"hostnames" yaml:hostnames` Hostnames []string `json:"hostnames" yaml:"hostnames"`
LogLimit int64 `json:"logLimit" yaml:logLimit` LogLimit int64 `json:"logLimit" yaml:"logLimit"`
RunUser string `json:"runUser" yaml:runUser` RunUser string `json:"runUser" yaml:"runUser"`
} }
func NewConfig() *Config { func NewConfig() *Config {