jcminarro
12/22/2021, 8:43 AMfun Application.moduleAdmin() { // This module listening on port 8090
routing {
get("/") {
call.respondText("This is the admin module")
}
}
}
fun Application.moduleA() { // This module listening on port 8080
routing {
get("/") {
call.respondText("This is the module A")
}
}
}
fun Application.moduleB() { // This module listening on port 8081
routing {
get("/") {
call.respondText("This is the module B")
}
}
}
Big Chungus
12/22/2021, 8:49 AMjcminarro
12/22/2021, 9:16 AMBig Chungus
12/22/2021, 9:16 AMAleksei Tirman [JB]
12/22/2021, 10:26 AMjcminarro
12/22/2021, 10:51 AM