Configuration

data class Configuration(val databaseName: String = "notifications_service", val username: String, val password: String, val host: String, val port: Int)

The configuration to connect to the PostgresSQL database.

Constructors

Link copied to clipboard
constructor(databaseName: String = "notifications_service", username: String, password: String, host: String, port: Int)

Properties

Link copied to clipboard

the name of the database. Default is notifications_service.

Link copied to clipboard

the host address of the database

Link copied to clipboard

the password to connect to the database

Link copied to clipboard
val port: Int

the port of the database

Link copied to clipboard

the username to connect to the database