Package dev.inmo.micro_utils.repos.ktor.server.key.value

Functions

Link copied to clipboard
inline fun <Key : Any, Value : Any> <ERROR CLASS>.configureKeyValueRepoRoutes(    originalRepo: KeyValueRepo<Key, Value>,     noinline idDeserializer: suspend (String) -> Key,     noinline valueDeserializer: suspend (String) -> Value)
inline fun <Key : Any, Value : Any> <ERROR CLASS>.configureKeyValueRepoRoutes(    originalRepo: KeyValueRepo<Key, Value>,     idsSerializer: <ERROR CLASS><Key>,     valueSerializer: <ERROR CLASS><Value>,     serialFormat: <ERROR CLASS>): <ERROR CLASS>
inline fun <Key : Any, Value : Any> <ERROR CLASS>.configureKeyValueRepoRoutes(    originalRepo: KeyValueRepo<Key, Value>,     idsSerializer: <ERROR CLASS><Key>,     valueSerializer: <ERROR CLASS><Value>,     serialFormat: <ERROR CLASS>): <ERROR CLASS>
Link copied to clipboard
inline fun <Key, Value> <ERROR CLASS>.configureReadKeyValueRepoRoutes(    originalRepo: ReadKeyValueRepo<Key, Value>,     noinline idDeserializer: suspend (String) -> Key,     noinline valueDeserializer: suspend (String) -> Value)
inline fun <Key, Value> <ERROR CLASS>.configureReadKeyValueRepoRoutes(    originalRepo: ReadKeyValueRepo<Key, Value>,     idsSerializer: <ERROR CLASS><Key>,     valueSerializer: <ERROR CLASS><Value>,     serialFormat: <ERROR CLASS>): <ERROR CLASS>
inline fun <Key, Value> <ERROR CLASS>.configureReadKeyValueRepoRoutes(    originalRepo: ReadKeyValueRepo<Key, Value>,     idsSerializer: <ERROR CLASS><Key>,     valueSerializer: <ERROR CLASS><Value>,     serialFormat: <ERROR CLASS>): <ERROR CLASS>
Link copied to clipboard
inline fun <Key : Any, Value : Any> <ERROR CLASS>.configureWriteKeyValueRepoRoutes(originalRepo: WriteKeyValueRepo<Key, Value>)