Basic config package to parse NTP Pool system config

This commit is contained in:
2023-12-10 20:43:38 -08:00
parent 608f05d395
commit 5c7ae6ab8a
3 changed files with 147 additions and 0 deletions

31
config/config_accessor.go Normal file
View File

@@ -0,0 +1,31 @@
// Code generated by accessory; DO NOT EDIT.
package config
func (c *Config) DeploymentMode() string {
if c == nil {
return ""
}
return c.deploymentMode
}
func (c *Config) ManageHostname() string {
if c == nil {
return ""
}
return c.manageHostname
}
func (c *Config) WebHostname() string {
if c == nil {
return ""
}
return c.webHostname
}
func (c *Config) Valid() bool {
if c == nil {
return false
}
return c.valid
}