Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service contains the code for safely (using a Mutex) getting and updating settings.
func NewService ¶
NewService initialises and returns a new SettingsService
type Settings ¶
type Settings struct {
Tenant TenantSettings `yaml:"tenant"`
}
Settings contains the Mattrax's dynamic configuration. These values can be changed at runtime although it is recommended some of them never change.
type TenantSettings ¶
type TenantSettings struct { Name string `yaml:"name"` SupportEmail string `yaml:"support_email"` SupportPhone string `yaml:"support_phone"` SupportWebsite string `yaml:"support_website"` EnrollmentDisabled bool `yaml:"enrollment_disabled"` }
TenantSettings contains details about the server's owner Some of these settings show up on the device to tell a end user where to contact for help.
Click to show internal directories.
Click to hide internal directories.