package be.vandewalleh.controllers import org.kodein.di.Kodein import org.kodein.di.generic.bind import org.kodein.di.generic.inSet import org.kodein.di.generic.setBinding import org.kodein.di.generic.singleton /** * [Kodein] controller module containing the app controllers */ val controllerModule = Kodein.Module(name = "Controller") { bind() from setBinding() bind().inSet() with singleton { UserController(this.kodein) } bind().inSet() with singleton { HealthCheckController(this.kodein) } }