Expand description
Ghola sidecar HTTP client.
Forwards all HTTP requests to a locally running
Ghola sidecar
(127.0.0.1:18789). When stealth mode is enabled, the sidecar
applies temporal drift and ghost signing to every outgoing request.
The sidecar is an external Go binary. When nothing answers on that
address, http::shared::build starts it with start_sidecar
(<binary> --serve, the binary found by ghola_install::find). The
sidecar it started is kept here until stop_spawned_sidecar stops it;
the caller decides when (the CLI asks at exit).
Structs§
- Ghola
Http Client - HTTP client that forwards requests to the Ghola sidecar bridge
running on
127.0.0.1:18789. Whenstealthistrue, the bridge applies temporal drift and ghost signing to every request.
Functions§
- spawned_
sidecar - The PID of the sidecar this process started, while it runs.
- start_
sidecar - Starts
binary --serveand waits up totimeoutfor the sidecar to answer on the sidecar’s address (127.0.0.1:18789). Returns its PID. The sidecar is kept untilstop_spawned_sidecar; it is not stopped when this process exits. - stop_
spawned_ sidecar - Stops the sidecar this process started. Returns its PID, or
Nonewhen this process started none.