Package-level declarations

An Exkt module providing handy utilities for Ktor Server.

Types

Link copied to clipboard
data class JdbcProperties(val url: String, val user: String, val password: String)

Properties

Link copied to clipboard
val ApplicationConfig.jdbcProperties: JdbcProperties?

A shortcut for retrieveJdbcProperties.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun ApplicationConfig.retrieveJdbcProperties(): JdbcProperties?

Tries to retrieve JDBC properties from the application configuration. If any of the properties isn't present, null is returned, a complete JdbcProperties object otherwise. The following properties are fetched:

Link copied to clipboard

Calls retrieveJdbcProperties and fails if the returned properties are null.