Skip to main content

Crate fhd

Crate fhd 

Source

Modules§

metrics
metrics_server
An opt-in Prometheus endpoint.

Structs§

ServerContext

Functions§

get_hostname
Best-effort identity of this agent, used for STATUS reporting and tags.
handle_connection
is_exposed_bind
Whether a listen address is exposed (unspecified address or any non-loopback IP). Unparseable addresses are treated conservatively as exposed.
parse_custom_shell
Parse a custom shell invocation (e.g. /bin/sh -c) into argv tokens. Returns None for empty or whitespace-only input — a misconfiguration the daemon rejects at startup; library callers fall back to the default shell.
run_server
Accept loop and per-connection dispatch for the agent daemon.
validate_start_config
Validate daemon startup authentication configuration.