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

Functions

configureReadStandartKeyValueRepoRoutes
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>
configureStandardKeyValueRepoRoutes
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)
configureStandartKeyValueRepoRoutes
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>
fun <K, V> <ERROR CLASS>.configureWriteStandardKeyValueRepoRoutes(originalRepo: WriteStandardKeyValueRepo<K, V>, keySerializer: KSerializer<K>, valueSerializer: KSerializer<V>, unifiedRouter: UnifiedRouter)
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>