working v1
This commit is contained in:
commit
5b54f3f636
19 changed files with 403 additions and 0 deletions
18
main.py
Normal file
18
main.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# server.py
|
||||
|
||||
import typs
|
||||
import queue
|
||||
import asyncio
|
||||
import websockets
|
||||
|
||||
import server
|
||||
import message
|
||||
|
||||
|
||||
# Run the ws server and the messenger concurrently.
|
||||
async def main():
|
||||
print(f"Crimata Messenger")
|
||||
await asyncio.gather(server.lift(), message.run())
|
||||
|
||||
if __name__ == '__main__':
|
||||
asyncio.run(main())
|
||||
Loading…
Reference in a new issue