DbConfig

harness.sql.DbConfig$
See theDbConfig companion class
object DbConfig

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
DbConfig.type

Members list

Type members

Classlikes

final case class Credentials(username: String, password: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Credentials

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class PoolConfig(minConnections: Int, maxConnections: Int, duration: Duration)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PoolConfig

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
PoolConfig.type
final case class Target(database: String, host: Option[String], port: Option[Int])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Target

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Target.type

Value members

Concrete methods

def configLayer: HRLayer[HConfig, DbConfig]

Implicits

Implicits

implicit val jsonCodec: JsonCodec[DbConfig]