Directories
¶
| Path | Synopsis |
|---|---|
|
Package check validates a token via HTTP or a shell command.
|
Package check validates a token via HTTP or a shell command. |
|
Package config loads and validates the poolctl YAML configuration.
|
Package config loads and validates the poolctl YAML configuration. |
|
Package metrics exposes pool and proxy counters in Prometheus text format without pulling in the Prometheus client library.
|
Package metrics exposes pool and proxy counters in Prometheus text format without pulling in the Prometheus client library. |
|
Package pool implements a concurrency-safe rotating pool of tokens with per-token health, cooldown, and JSON state persistence.
|
Package pool implements a concurrency-safe rotating pool of tokens with per-token health, cooldown, and JSON state persistence. |
|
Package proxy implements poolctl's passthrough reverse proxy: every request borrows a healthy token from the pool, injects it as a header, and forwards to a fixed upstream.
|
Package proxy implements poolctl's passthrough reverse proxy: every request borrows a healthy token from the pool, injects it as a header, and forwards to a fixed upstream. |
|
Package server exposes the pool over HTTP.
|
Package server exposes the pool over HTTP. |
Click to show internal directories.
Click to hide internal directories.