Package-level declarations

Types

Link copied to clipboard
data object AppConfig

Initializes the config data classes from the application config. Since HOCON is used for application configuration, kotlinx.serialization.hocon is used to deserialize the config. The AppConfig.init method should be called before accessing the config values.

Functions

Link copied to clipboard
inline fun <T> ApplicationConfig.prop(prop: String): T

Extension function to get and convert config values to their respective type. Nullability is disabled to support java types