Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct { ConfigBasePath string // contains filtered or unexported fields }
Core gives access to essential parts of the application.
func (*Core) Config ¶
func (c *Core) Config() *config.Configuration
Config returns the loaded configuration.
func (*Core) ConfigPath ¶
ConfigPath returns the path to the given config file.
func (*Core) LoadConfig ¶
LoadConfig loads the configuration from the given path or from the default location if empty.
Click to show internal directories.
Click to hide internal directories.