aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-common/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-modules/kvision-common/src/main')
-rw-r--r--kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt (renamed from kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt)4
-rw-r--r--kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt4
2 files changed, 4 insertions, 4 deletions
diff --git a/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt b/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt
index ec348a25..cf822e66 100644
--- a/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt
+++ b/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt
@@ -22,9 +22,9 @@
package pl.treksoft.kvision.remote
/**
- * A Jooby based server.
+ * A server.
*/
-expect open class JoobyServer
+expect open class KVServer
/**
* A server request.
diff --git a/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt b/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt
index 8225a785..07f60851 100644
--- a/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt
+++ b/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt
@@ -128,9 +128,9 @@ expect open class ServiceManager<out T>(service: T) {
/**
* Applies all defined routes to the given server.
- * @param k a Jooby server
+ * @param k a server
*/
- fun applyRoutes(k: JoobyServer)
+ fun applyRoutes(k: KVServer)
/**
* Returns the map of defined paths.