moved things

This commit is contained in:
2023-06-10 15:59:51 +00:00
parent f52ac1375d
commit 5b74a5aee9
796 changed files with 1755 additions and 206758 deletions

16
source/index.js Normal file
View File

@@ -0,0 +1,16 @@
const WebSocketDriver = require('./WebSocketDriver');
// Load the configuration from config.json
const config = require('./config.json');
// Create an instance of WebSocketDriver
const driver = new WebSocketDriver(config);
// Start the WebSocket driver
driver.start()
.then(() => {
driver.log('WebSocket driver is running', 'info');
})
.catch((error) => {
driver.log(`Failed to start WebSocket driver: ${error.message}`, 'error');
});