Package dev. inmo. micro_utils. repos. ktor. server. key. values
Functions
Link copied to clipboard
inline fun <Key : Any, Value : Any> <ERROR CLASS>.configureKeyValuesRepoRoutes( originalRepo: KeyValuesRepo<Key, Value>, noinline keyDeserializer: suspend (String) -> Key, noinline valueDeserializer: suspend (String) -> Value)
Content copied to clipboard
inline fun <Key : Any, Value : Any> <ERROR CLASS>.configureKeyValuesRepoRoutes( originalRepo: KeyValuesRepo<Key, Value>, keySerializer: <ERROR CLASS><Key>, valueSerializer: <ERROR CLASS><Value>, serialFormat: <ERROR CLASS>): <ERROR CLASS>
Content copied to clipboard
inline fun <Key : Any, Value : Any> <ERROR CLASS>.configureKeyValuesRepoRoutes( originalRepo: KeyValuesRepo<Key, Value>, keySerializer: <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>.configureReadKeyValuesRepoRoutes( originalRepo: ReadKeyValuesRepo<Key, Value>, noinline keyDeserializer: suspend (String) -> Key, noinline valueDeserializer: suspend (String) -> Value)
Content copied to clipboard
inline fun <Key, Value> <ERROR CLASS>.configureReadKeyValuesRepoRoutes( originalRepo: ReadKeyValuesRepo<Key, Value>, keySerializer: <ERROR CLASS><Key>, valueSerializer: <ERROR CLASS><Value>, serialFormat: <ERROR CLASS>): <ERROR CLASS>
Content copied to clipboard
inline fun <Key, Value> <ERROR CLASS>.configureReadKeyValuesRepoRoutes( originalRepo: ReadKeyValuesRepo<Key, Value>, keySerializer: <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>.configureWriteKeyValuesRepoRoutes(originalRepo: WriteKeyValuesRepo<Key, Value>)
Content copied to clipboard