Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateSettings ¶
func UpdateSettings(fields ...ISettingsField) bool
UpdateSettings todo: this isn't a good idea when your settings are larger. you'll end up pushing more data than is needed back and forth. refactor so it's more flexible
Types ¶
type ISettingsField ¶
type MetricsEnabledField ¶
type MetricsEnabledField bool
func (MetricsEnabledField) Apply ¶
func (m MetricsEnabledField) Apply(s *Settings) bool
Click to show internal directories.
Click to hide internal directories.