Package dev.inmo.micro_utils.repos.ktor.server.key_value

Functions

Link copied to clipboard
fun <K, V> <ERROR CLASS>.configureReadStandartKeyValueRepoRoutes(originalRepo: ReadStandardKeyValueRepo<K, V>, keySerializer: KSerializer<K>, valueSerializer: KSerializer<V>, valueNullableSerializer: KSerializer<V?>, unifiedRouter: UnifiedRouter)
inline fun <K, V> <ERROR CLASS>.configureReadStandartKeyValueRepoRoutes(originalRepo: ReadStandardKeyValueRepo<K, V>, keySerializer: KSerializer<K>, valueSerializer: KSerializer<V>, valueNullableSerializer: KSerializer<V?>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat, serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType): <ERROR CLASS>
Link copied to clipboard
fun <K, V> <ERROR CLASS>.configureStandardKeyValueRepoRoutes(baseSubpart: String, originalRepo: StandardKeyValueRepo<K, V>, keySerializer: KSerializer<K>, valueSerializer: KSerializer<V>, valueNullableSerializer: KSerializer<V?>, unifiedRouter: UnifiedRouter)
Link copied to clipboard
fun <K, V> <ERROR CLASS>.configureStandartKeyValueRepoRoutes(baseSubpart: String, originalRepo: StandardKeyValueRepo<K, V>, keySerializer: KSerializer<K>, valueSerializer: KSerializer<V>, valueNullableSerializer: KSerializer<V?>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat, serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType): <ERROR CLASS>
Link copied to clipboard
fun <K, V> <ERROR CLASS>.configureWriteStandardKeyValueRepoRoutes(originalRepo: WriteStandardKeyValueRepo<K, V>, keySerializer: KSerializer<K>, valueSerializer: KSerializer<V>, unifiedRouter: UnifiedRouter)
Link copied to clipboard
fun <K, V> <ERROR CLASS>.configureWriteStandartKeyValueRepoRoutes(originalRepo: WriteStandardKeyValueRepo<K, V>, keySerializer: KSerializer<K>, valueSerializer: KSerializer<V>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat, serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType): <ERROR CLASS>