finnow/finnow-api/source/app.d

11 lines
196 B
D

import handy_httpd;
import api_mapping;
void main() {
ServerConfig cfg;
cfg.workerPoolSize = 5;
cfg.port = 8080;
HttpServer server = new HttpServer(mapApiHandlers(), cfg);
server.start();
}