setupDI

fun <Error class: unknown class>.setupDI(config: Config, rawJsonObject: JsonObject? = null)(source)


open override fun <Error class: unknown class>.setupDI(config: JsonObject)(source)

Will deserialize Config from config, register it in receiver Module (as well as CoroutineScope and kotlinx.serialization.json.Json)

Besides, in this method will be called StartPlugin.setupDI on each plugin from Config.plugins. In case when some plugin will not be loaded correctly it will be reported throw the logger