Improve relay draft

This commit brings a compilable, runnable relay draft, with logging
setup, basic README instructions, Mutex protection around shared
resources, implemented with code safety in mind

Notes:
- This is not fully tested
- The mutex design is not the most efficient, and could cause some contention on high traffic
- The REST API is not yet integrated
This commit is contained in:
Daniel D’Aquino
2024-07-16 11:00:36 -07:00
parent e11c636ce3
commit c0cded7255
11 changed files with 674 additions and 185 deletions

5
shell.nix Normal file
View File

@ -0,0 +1,5 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = [ pkgs.websocat ];
}