update:初始化上传

This commit is contained in:
hrz
2025-02-02 23:01:14 +08:00
parent 08e3d10b1b
commit db34e7c16e
42 changed files with 2067 additions and 238 deletions
+16
View File
@@ -0,0 +1,16 @@
import asyncio
from config.logger import setup_logging
from config.settings import load_config
from core.server import WebSocketServer
async def main():
setup_logging() # 最先初始化日志
config = load_config()
server = WebSocketServer(config)
await server.start()
if __name__ == "__main__":
asyncio.run(main())