InMemoryDatabases

data class InMemoryDatabases(channels: InMemoryChannelsDb, payments: InMemoryPaymentsDb) : Databases

In-memory implementations of the database components. This should only be used in tests: applications should inject their own implementations depending on the database backend available on the platform.

Constructors

InMemoryDatabases
Link copied to clipboard
common
fun InMemoryDatabases(channels: InMemoryChannelsDb, payments: InMemoryPaymentsDb)

Types

Companion
Link copied to clipboard
common
object Companion

Properties

channels
Link copied to clipboard
common
open override val channels: InMemoryChannelsDb
payments
Link copied to clipboard
common
open override val payments: InMemoryPaymentsDb