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)
Content copied to clipboard
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>
Content copied to clipboard
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>
Content copied to clipboard
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)
Content copied to clipboard
inline fun <Key, Value> <ERROR CLASS>.configureReadKeyValueRepoRoutes( originalRepo: ReadKeyValueRepo<Key, Value>, idsSerializer: <ERROR CLASS><Key>, valueSerializer: <ERROR CLASS><Value>, serialFormat: <ERROR CLASS>): <ERROR CLASS>
Content copied to clipboard
inline fun <Key, Value> <ERROR CLASS>.configureReadKeyValueRepoRoutes( originalRepo: ReadKeyValueRepo<Key, Value>, idsSerializer: <ERROR CLASS><Key>, valueSerializer: <ERROR CLASS><Value>, serialFormat: <ERROR CLASS>): <ERROR CLASS>
Content copied to clipboard
Link copied to clipboard
inline fun <Key : Any, Value : Any> <ERROR CLASS>.configureWriteKeyValueRepoRoutes(originalRepo: WriteKeyValueRepo<Key, Value>)
Content copied to clipboard