Skip to main content

Module local

Module local 

Source
Expand description

The localhost endpoint the CLI sends replicated writes to, so they go through the daemon’s log

Structs§

Endpoint
Where the CLI reaches the daemon, and the token that proves the caller can read ~/.orch

Functions§

cleanup
daemon_endpoint
The running daemon’s endpoint. A file left by a daemon that is gone names nothing
fetch_nodes
send_progress
Send an orch progress report to the daemon, which commits, pushes and records it
serve
Serve POST /write on 127.0.0.1 and record the port, a fresh token and the pid for the CLI