steel swift
Go service9 of 9 Tori examples are up. Checked at , 0 s ago.
- up paper-lark 476 ms 100% up
- up sunny-tern 171 ms 100% up
- up crimson-finch 172 ms 100% up
- up misty-heron 172 ms 100% up
- up amber-ibis 492 ms 100% up
- up mossy-starling 180 ms 100% up
- up saffron-wren 2058 ms 100% up
- up copper-owl 167 ms 100% up
- up drift-albatross 2046 ms 100% up
The same as JSON: /api/status.
How it checks
-
The list of examples is compiled into the server. Each check is one
GETof a fixed address, looking for the marker the example's page carries, with a 5 s limit. A redirect counts as down and is not followed. - There is no timer. A visit runs a round of checks, all at once, when the last results are more than 60 s old; otherwise it shows those. Visits that arrive during a round wait for it, so the examples are checked at most once a minute, however busy this page is.
- The history is kept in memory only: up to the last 30 rounds since this copy started, at (1 so far). It is lost when the server restarts, and when nobody visits for a while the server naps, which is a restart.
Deploy your own
With Node.js installed:
git clone https://github.com/tori-host/examples
cd examples/steel-swift
npx tori.host
There is no Dockerfile. Tori finds go.mod beside Go code, builds the binary from the source and
runs it, so Go does not need to be installed on your machine. The first run creates a service under a new name
of its own and writes it to tori.json, so that the next run updates the same service.