Documentation ¶
Index ¶
Constants ¶
const LogComponentRegistry = "Component Manager"
LogComponentRegistry is the custom component name used to identify log messages from the component management system
Variables ¶
Components contains all components that should be available.
Enabled components should be registered here.
Functions ¶
func RegisterComponents ¶
RegisterComponents handles the initialization of all components listed in the Components array.
When it is not possible to register a component, an error will be printed into the log. The application will continue to run as nothing happened.
func UnloadComponents ¶
UnloadComponents iterates through all registered api.Component registered in the Components array and calls their UnloadComponent function.
If an api.Component does not have an UnloadComponent function defined, it will be ignored.
Types ¶
This section is empty.