mirror of
https://github.com/deavmi/nostril
synced 2024-09-20 07:43:30 +02:00
Server
- Added logging to module - Added `startServer()` stub method
This commit is contained in:
parent
f66227da11
commit
76fbb04d5a
@ -1,5 +1,16 @@
|
|||||||
module nostril.server;
|
module nostril.server;
|
||||||
|
|
||||||
|
import gogga;
|
||||||
|
|
||||||
|
// TODO: Investigate if we need the belowe (I copied it from Birchwood)
|
||||||
|
__gshared GoggaLogger logger;
|
||||||
|
__gshared static this()
|
||||||
|
{
|
||||||
|
logger = new GoggaLogger();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import vibe.vibe : URLRouter;
|
import vibe.vibe : URLRouter;
|
||||||
|
|
||||||
public class Server
|
public class Server
|
||||||
@ -11,6 +22,10 @@ public class Server
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void startServer()
|
||||||
|
{
|
||||||
|
// TODO: Make call to `runApplication()`
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public static Server createServer()
|
public static Server createServer()
|
||||||
|
Loading…
Reference in New Issue
Block a user