Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Config(val plugins: List<StartPlugin>)

Contains just List of StartPlugins. In json this config should look like:

Link copied to clipboard
Link copied to clipboard

Default startup plugin. See setupDI and startPlugin for more info

Functions

Link copied to clipboard
suspend fun main(args: Array<String>)

It is expected, that args will contain ONE argument with path to the config json. Sample of launching:

Link copied to clipboard
suspend fun start(rawConfig: JsonObject)

Will create KoinApplication, init, load modules using StartLauncherPlugin and start plugins using the same base plugin

Properties

Link copied to clipboard
val defaultJson: Json