internal/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT

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.

Jump to

Keyboard shortcuts

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