
com.sxtanna.database.config.KueryConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Kuery Show documentation
Show all versions of Kuery Show documentation
MySQL Kotlin wrapper based on HikariCP
package com.sxtanna.database.config
import com.sxtanna.database.config.KueryConfig.*
data class KueryConfig(val server : ServerOptions = ServerOptions(), val user : UserOptions = UserOptions(), val pool : PoolOptions = PoolOptions()) : DatabaseConfig {
data class ServerOptions(val address : String = "", val port : Int = 3306, val database : String = "")
data class UserOptions(val username : String = "", val password : String = "")
data class PoolOptions(val size : Int = 15, val timeout : Int = 1000, val idle : Int = 10000)
companion object {
val DEFAULT = KueryConfig()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy