Initial commit: minimal relay server and CLI structure

Relay pairs connections by room name and pipes bytes between them,
with no password/PAKE handshake at the relay layer — codephrase-based
encryption is left to the client side of the transfer.
This commit is contained in:
2026-07-20 10:13:37 +08:00
commit 95726d9e45
15 changed files with 2501 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
package tcp
import "time"
const (
DEFAULT_LOG_LEVEL = "debug"
DEFAULT_ROOM_CLEANUP_INTERVAL = 10 * time.Minute
DEFAULT_ROOM_TTL = 3 * time.Hour
)