474ac5ec30
some additions to the matchmaker tests for unknown agents.
2024-09-08 11:16:49 +02:00
a99de52e56
throttler now ignoring duplicate events.
2024-09-08 11:16:49 +02:00
2accbaf3fe
changes for testing agent connect by returning a synchronizer() function
...
that must be called after connect to synchronize data.
2024-09-08 11:16:49 +02:00
0cd0b543a2
multiple clients connecting to multiple agents.
...
Clients cannot yet be started in parallel. due to subtle issue in test
setup with accept
2024-09-08 11:16:49 +02:00
3059a16559
table testing with go routines only really works well when standard
...
assertions are ued. With suite.Required() there are issues in getting
the test results correct.
Instead, use standard assertions and use suite.T().Failed() to do
early returns.
2024-09-08 11:16:49 +02:00
6abcf0a7af
go conventions: context should be first argument.
2024-09-08 11:16:49 +02:00
fc7977f7bb
now using maps of Guid to Agent/Client in the state, working towards the definitive solution.
...
Using LinkedMap that preserves insertion order for the implementation and also added unit tests for that.
2024-09-08 11:16:49 +02:00
4f6d9c209d
relative link to websocket did not work for some reason, reverted back to /.... link
2024-09-08 11:16:49 +02:00
4b05d7e8d8
Now rendering the index.html using the Templ library.
...
This is in preparation for:
1. creating a base page
2. using tabs: Home, Using, Downloads, Status
3. htmx
2024-09-08 11:16:49 +02:00
2f9cead5c3
eliminated unused setWindowSize files.
2024-09-08 11:16:48 +02:00
Erik Brakkee
2f40f86294
cross compilation on windows working.
...
pty.Start() is not supported on windows
2024-09-08 11:16:48 +02:00
25e9e944b2
added makefile for building.
2024-09-08 11:16:48 +02:00