This commit is contained in:
13
src/index.ts
13
src/index.ts
@ -1,20 +1,9 @@
|
||||
import Influx from "./influx/influx";
|
||||
import Scanner from "./scanner/scanner";
|
||||
import ServerManager from "./server/serverManager";
|
||||
|
||||
/**
|
||||
* The server manager instance.
|
||||
*/
|
||||
export const serverManager = new ServerManager();
|
||||
|
||||
/**
|
||||
* The influx database instance.
|
||||
*/
|
||||
export const influx = new Influx();
|
||||
|
||||
(async () => {
|
||||
await serverManager.init();
|
||||
|
||||
// The scanner is responsible for scanning all servers
|
||||
new Scanner();
|
||||
})();
|
||||
new ServerManager();
|
||||
|
Reference in New Issue
Block a user