StoreTypes

The store types known by name: auto (wow.backend only), and the built-in backends' types. Any other type is a community backend's, served when its StoreProvider is found.

Properties

Link copied to clipboard
const val AUTO: String
Link copied to clipboard
const val MEMORY: String
Link copied to clipboard

The module of each built-in durable backend, which a failure names when it is missing.

Link copied to clipboard
const val MONGO: String
Link copied to clipboard
const val POSTGRES: String

Functions

Link copied to clipboard
fun of(type: String): String

type as the providers name it: trimmed and lowercase (MONGO, as an enum was configured, is mongo).

Link copied to clipboard
fun provider(providers: Map<String, StoreProvider>, type: String, key: String): StoreProvider

The provider of type among providers, which key configures; fails naming the module of a built-in one when it is missing.