mirror of
https://github.com/deavmi/nostril
synced 2024-09-20 11:23:00 +02:00
36 lines
437 B
D
36 lines
437 B
D
|
module nostril.server;
|
||
|
|
||
|
import vibe.vibe : URLRouter;
|
||
|
|
||
|
public class Server
|
||
|
{
|
||
|
private URLRouter router;
|
||
|
|
||
|
private this()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
public static Server createServer()
|
||
|
{
|
||
|
Server newServer;
|
||
|
|
||
|
|
||
|
|
||
|
return newServer;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* BackingStore
|
||
|
*
|
||
|
* Represents the backing storage where
|
||
|
* events are to be read from and written
|
||
|
* to
|
||
|
*/
|
||
|
public abstract class BackingStore
|
||
|
{
|
||
|
// TODO: Add a queue here
|
||
|
}
|