Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Languages = struct { En Language Ja Language }{ "en", "ja", }
View Source
var Themes = struct { Dark Theme Light Theme }{ "dark", "light", }
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { AutoLanguage bool `json:"auto-language"` // Language - use browser default AutoRegion bool `json:"auto-region"` // Region - use browser default AutoTheme bool `json:"auto-theme"` // Theme - use browser default AutoTimezone bool `json:"auto-timezone"` // Timezone - use browser default Language *Language `json:"language,omitempty"` // Possible Values: `En`, `Ja` Region *string `json:"region,omitempty"` // Region Scope string `json:"-" scope:"scope"` // The scope of this setting (user, userdefaults) Theme *Theme `json:"theme,omitempty"` // Possible Values: `Dark`, `Light` Timezone *string `json:"timezone,omitempty"` // Timezone }
func (*Settings) HandlePreconditions ¶ added in v1.43.0
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.