internal/

directory
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2026 License: Apache-2.0

Directories

Path Synopsis
Package backoff provides exponential backoff with jitter for service restarts.
Package backoff provides exponential backoff with jitter for service restarts.
Package cgroup provides shared helpers for reading cgroup v1/v2 paths and files.
Package cgroup provides shared helpers for reading cgroup v1/v2 paths and files.
Package cpu detects available CPUs from system info and cgroup limits (v1 and v2).
Package cpu detects available CPUs from system info and cgroup limits (v1 and v2).
Package doctest is the shared test harness for gopherd: it builds the binary once, runs configs, and talks to the control socket.
Package doctest is the shared test harness for gopherd: it builds the binary once, runs configs, and talks to the control socket.
cmd/httpok command
httpok is a doc-test stand-in web service: answers every request with 200.
httpok is a doc-test stand-in web service: answers every request with 200.
cmd/sdnotifyready command
sdnotifyready is a doc-test stand-in daemon with sd_notify support: it sends READY=1 to $NOTIFY_SOCKET (abstract or path form) and stays running.
sdnotifyready is a doc-test stand-in daemon with sd_notify support: it sends READY=1 to $NOTIFY_SOCKET (abstract or path form) and stays running.
Package logger provides line-buffered prefix writers and log target forwarding.
Package logger provides line-buffered prefix writers and log target forwarding.
Package memory detects available system memory from /proc/meminfo and cgroup limits (v1 and v2).
Package memory detects available system memory from /proc/meminfo and cgroup limits (v1 and v2).
Package metrics tracks internal service and health check statistics.
Package metrics tracks internal service and health check statistics.
Package order provides topological sorting for service dependencies.
Package order provides topological sorting for service dependencies.
Package reaper routes exit statuses of unmanaged children from the daemon's Wait4(-1) reap loop to the goroutine that forked them.
Package reaper routes exit statuses of unmanaged children from the daemon's Wait4(-1) reap loop to the goroutine that forked them.
Package sdnotify implements a subset of the systemd sd_notify readiness protocol on the gopherd side: it listens on a SOCK_DGRAM unix socket and exposes Ready/Stopping/Status signals parsed from newline-separated key=value records.
Package sdnotify implements a subset of the systemd sd_notify readiness protocol on the gopherd side: it listens on a SOCK_DGRAM unix socket and exposes Ready/Stopping/Status signals parsed from newline-separated key=value records.
Package yml provides a minimal YAML parser for gopherd configuration.
Package yml provides a minimal YAML parser for gopherd configuration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL