working v1

This commit is contained in:
Andrew Gundersen 2020-11-21 14:43:17 -06:00
commit 5b54f3f636
19 changed files with 403 additions and 0 deletions

18
main.py Normal file
View 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())