Commit Graph

15 Commits

Author SHA1 Message Date
84193ed322 Refactor client and server 2024-06-21 14:11:23 +02:00
c2ed49cd0a Merge acceptallorigins into master and update README 2024-06-21 13:59:49 +02:00
f7dc487546 Refactor server.go 2024-06-21 13:43:51 +02:00
efb6a52ef6 Merged master into acceptallorigins 2024-06-03 21:00:02 +00:00
fff246214c Accept all origins to allow client to connect 2024-06-03 20:42:23 +00:00
7b0f359a7f Remove initiation after sending ChatFinishRequest 2024-06-03 20:40:20 +00:00
559a33eaa7 Flag specification of WS API addr and UDP API addr
From now on flags --waddr for providing WebSocket API address
(for server to run or client to connect to) and --uaddr for providing
address of UDP hole punching listener (also server and client would use it)
2024-05-27 20:10:31 +02:00
b23e8c00a6 Finished basic connection initation 2024-05-08 23:54:34 +02:00
62e3ee780b Finished implementation for B, C, D stages of initiation 2024-04-29 13:46:26 +02:00
4a38b6e28a Working on initating connections 2024-04-29 02:02:51 +02:00
9c0e3e607f Refactored and added errgroup to handle goroutines errors 2024-03-29 16:53:10 +01:00
f16b53278b Enabled two-way communication between client and server
Server may now send requests to client and client will respond to them.
Mechanics similar to how server handled requests was added to client.
Also server can now receive responses from client :)
2024-03-29 15:05:42 +01:00
4da29dc45b Logging with charm colorful logger 2024-03-24 17:10:02 +01:00
361b84aac4 Working websocket version 2024-03-24 14:09:36 +01:00
509d20948c Code split across files, client refactor 2024-03-22 19:38:19 +01:00