skip to content
==> README.md <==
1# @ajax/mesh-top-mock
2
3A tiny mock of meshd's control port for mesh-top's tests and demo: synthesised snapshots, trace and log, a fake catalog, and a threaded TCP server.
4
5Part of the C port of [alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh)'s `mesh-top`, the terminal
6dashboard for meshd clusters. Every frame it draws is checked against the Rust one, cell for cell
7(text, colours and modifiers): see @ajax/mesh-top-tests.
8
9## Ported from
10
11[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-top `tests/support/mock.rs`.
12
13## Tests
14
15`tests/mock.c`: tests/snap.rs's mock round trip, and the control port spoken raw.
16
17## Licence
18
19MIT. See the repository's LICENSE.