Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigController ¶
type ConfigController struct { Config *Config // contains filtered or unexported fields }
ConfigController struct handles the configuration and storing it, the config contains everything from app preferences to servers
func NewConfigController ¶
func NewConfigController() *ConfigController
NewConfigController creates a new ConfigController application struct
func (*ConfigController) GetConfig ¶
func (c *ConfigController) GetConfig() bool
func (*ConfigController) SaveConfig ¶
func (c *ConfigController) SaveConfig() bool
func (*ConfigController) Startup ¶
func (c *ConfigController) Startup(ctx context.Context)
Startup handles the initial loading of the config
Click to show internal directories.
Click to hide internal directories.