Server

class Server(mongoInfo: MongoInfo, port: Int) : CoroutineVerticle

Class that exposes the routes of the API

Parameters

mongoInfo

that contains the information necessary to connect to the database

port

for the server connection

Constructors

Link copied to clipboard
constructor(mongoInfo: MongoInfo, port: Int)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getVertx(): Vertx
Link copied to clipboard
open override fun init(vertx: Vertx, context: Context)
Link copied to clipboard
open override fun start(startFuture: Promise<Void>?)
Link copied to clipboard
open override fun stop(stopFuture: Promise<Void>?)