tiennm99
|
5ceb7ef924
|
test(server): unit tests for dispatch and ws network layer
- codec_test.go: roundtrip encode/decode for Request and Response variants,
malformed input, empty frame
- handlers_stateless_test.go: nickname validation table (9 cases),
heartbeat no-op, get_rooms response, set_client_info version store,
dispatch routing (stateless inline vs stateful CmdCh push),
CmdCh overflow drop without panic
|
2026-04-11 13:56:29 +07:00 |
|