feat: implement security, discovery, history, file transfer, web UI (P0-P3)

This commit is contained in:
2026-08-14 09:45:54 -04:00
parent 8281478f0c
commit 884415c1c1
32 changed files with 1923 additions and 200 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ func TestBroadcastSendsPayload(t *testing.T) {
{Name: "test-peer", Addr: ts.Listener.Addr().String()},
}
b := NewBroadcaster(peers, "my-machine")
b := NewBroadcaster(peers, "my-machine", Options{})
b.Broadcast("hello, peer!")
select {
@@ -57,7 +57,7 @@ func TestBroadcastSendsPayload(t *testing.T) {
func TestBroadcastEmptyPeers(t *testing.T) {
// Should not panic or error with zero peers.
b := NewBroadcaster(nil, "my-machine")
b := NewBroadcaster(nil, "my-machine", Options{})
b.Broadcast("test")
b.Broadcast("")
}