Directories
¶
| Path | Synopsis |
|---|---|
|
Package admintable provides SQL-injection-safe declarative primitives for server-rendered admin list pages: a sort resolver (Spec) and a WHERE-filter builder (FilterSpec).
|
Package admintable provides SQL-injection-safe declarative primitives for server-rendered admin list pages: a sort resolver (Spec) and a WHERE-filter builder (FilterSpec). |
|
Package breaker provides a 3-state circuit breaker (closed/open/half-open) with exponential cooldown, optional jitter, and probe-slot semantics.
|
Package breaker provides a 3-state circuit breaker (closed/open/half-open) with exponential cooldown, optional jitter, and probe-slot semantics. |
|
Package cache provides a tiered L1 (memory) + optional L2 (Redis) cache.
|
Package cache provides a tiered L1 (memory) + optional L2 (Redis) cache. |
|
Package cli provides a thin generic cobra scaffold for building CLI entry points: a root command with common flags (--version, --config) and a subcommand registration helper.
|
Package cli provides a thin generic cobra scaffold for building CLI entry points: a root command with common flags (--version, --config) and a subcommand registration helper. |
|
Package embed provides text embedding backends with a unified interface.
|
Package embed provides text embedding backends with a unified interface. |
|
onnx
Package onnx provides a local ONNX Runtime embedder backend.
|
Package onnx provides a local ONNX Runtime embedder backend. |
|
Package env provides typed access to environment variables with defaults.
|
Package env provides typed access to environment variables with defaults. |
|
Package eventbus provides an in-process pub/sub message bus with topic wildcard matching.
|
Package eventbus provides an in-process pub/sub message bus with topic wildcard matching. |
|
Package fileopt provides byte-level lossless optimization for PDFs and images by shelling out to system binaries (gs + qpdf for PDF, oxipng for PNG, cwebp for WebP).
|
Package fileopt provides byte-level lossless optimization for PDFs and images by shelling out to system binaries (gs + qpdf for PDF, oxipng for PNG, cwebp for WebP). |
|
Package hedge provides hedged request execution.
|
Package hedge provides hedged request execution. |
|
Package httputil provides small HTTP helpers shared across go-kit services.
|
Package httputil provides small HTTP helpers shared across go-kit services. |
|
Package langdetect provides natural language detection from text using trigram-based n-gram models (backed by whatlanggo).
|
Package langdetect provides natural language detection from text using trigram-based n-gram models (backed by whatlanggo). |
|
Package llm — circuit.go: CircuitBreaker for LLM provider calls.
|
Package llm — circuit.go: CircuitBreaker for LLM provider calls. |
|
budget
Package budget tracks LLM token usage per session and per day with soft warning, model-switch, and hard-stop thresholds.
|
Package budget tracks LLM token usage per session and per day with soft warning, model-switch, and hard-stop thresholds. |
|
Package metrics provides lightweight atomic counters and gauges for operational observability.
|
Package metrics provides lightweight atomic counters and gauges for operational observability. |
|
httpmw
Package httpmw provides RED-method HTTP middleware backed by go-kit/metrics.
|
Package httpmw provides RED-method HTTP middleware backed by go-kit/metrics. |
|
mcpmw
Package mcpmw provides per-tool metrics middleware for MCP servers.
|
Package mcpmw provides per-tool metrics middleware for MCP servers. |
|
Package pacing provides anti-fingerprint request spacing primitives for stealth HTTP clients: uniform random jitter, per-key pacing, and symmetric percentage jitter for backoff.
|
Package pacing provides anti-fingerprint request spacing primitives for stealth HTTP clients: uniform random jitter, per-key pacing, and symmetric percentage jitter for backoff. |
|
Package pgutil provides PostgreSQL connection helpers with retry and graceful degradation support.
|
Package pgutil provides PostgreSQL connection helpers with retry and graceful degradation support. |
|
Package ratelimit provides token bucket rate limiters.
|
Package ratelimit provides token bucket rate limiters. |
|
Package redirectmatch implements a pure, storage-free, two-tier redirect matching primitive.
|
Package redirectmatch implements a pure, storage-free, two-tier redirect matching primitive. |
|
Package render provides a document-rendering adapter that converts Markdown and HTML content into PDF and raster-image formats.
|
Package render provides a document-rendering adapter that converts Markdown and HTML content into PDF and raster-image formats. |
|
chrome
image.go provides raster-image capture via CDP, mirroring the PDF rendering design (one-shot RenderImage + persistent Printer.CaptureImage).
|
image.go provides raster-image capture via CDP, mirroring the PDF rendering design (one-shot RenderImage + persistent Printer.CaptureImage). |
|
html
Package html converts markdown content to styled HTML suitable for headless-Chrome PDF printing.
|
Package html converts markdown content to styled HTML suitable for headless-Chrome PDF printing. |
|
html/directives
Package directives implements the ::: directive-block framework for go-kit's HTML/PDF renderer.
|
Package directives implements the ::: directive-block framework for go-kit's HTML/PDF renderer. |
|
html/directives/all
Package all imports every built-in directive subpackage so its init() self-registers with the directives registry.
|
Package all imports every built-in directive subpackage so its init() self-registers with the directives registry. |
|
html/directives/callout
Package callout implements the :::callout{type=...
|
Package callout implements the :::callout{type=... |
|
html/directives/grid
Package grid implements the :::grid{cols=N} directive.
|
Package grid implements the :::grid{cols=N} directive. |
|
html/directives/math
Package math implements the :::math directive, which renders a raw LaTeX source block inside a .vaelor-math container.
|
Package math implements the :::math directive, which renders a raw LaTeX source block inside a .vaelor-math container. |
|
html/directives/stats
Package stats implements the :::stats{...} directive.
|
Package stats implements the :::stats{...} directive. |
|
html/directives/timeline
Package timeline implements the :::timeline directive, which renders a vertical list of date/event pairs.
|
Package timeline implements the :::timeline directive, which renders a vertical list of date/event pairs. |
|
Package rerank provides cross-encoder reranking and rank-fusion primitives for hybrid search.
|
Package rerank provides cross-encoder reranking and rank-fusion primitives for hybrid search. |
|
Package retry provides generic retry logic with exponential backoff.
|
Package retry provides generic retry logic with exponential backoff. |
|
Package score provides confidence-bucket helpers for ranking outputs.
|
Package score provides confidence-bucket helpers for ranking outputs. |
|
redis
Package redis provides a Redis-backed session store.
|
Package redis provides a Redis-backed session store. |
|
Package sparse provides SPLADE sparse-embedding clients with a unified interface.
|
Package sparse provides SPLADE sparse-embedding clients with a unified interface. |
|
Package strutil provides Unicode-aware string helpers.
|
Package strutil provides Unicode-aware string helpers. |
|
Package telegram provides SDK-agnostic Telegram formatting utilities.
|
Package telegram provides SDK-agnostic Telegram formatting utilities. |
|
botusers
Package botusers tracks Telegram users that interact with a bot.
|
Package botusers tracks Telegram users that interact with a bot. |
|
botusers/botuserstest
Package botuserstest provides a reusable contract test suite for botusers.Store implementations.
|
Package botuserstest provides a reusable contract test suite for botusers.Store implementations. |
|
botusers/pg
Package pg provides a PostgreSQL-backed implementation of botusers.Store using pgxpool.
|
Package pg provides a PostgreSQL-backed implementation of botusers.Store using pgxpool. |
|
broadcast
Package broadcast provides a rate-limited broadcaster for Telegram messages.
|
Package broadcast provides a rate-limited broadcaster for Telegram messages. |
|
callback
Package callback provides HMAC-SHA256 signed Telegram CallbackData encoding.
|
Package callback provides HMAC-SHA256 signed Telegram CallbackData encoding. |
|
cmd
Package cmd provides a fluent text-command router for Telegram bots.
|
Package cmd provides a fluent text-command router for Telegram bots. |
|
forum
Package forum provides a Manager for supergroup forum-topic operations.
|
Package forum provides a Manager for supergroup forum-topic operations. |
|
fsm
Package fsm provides a conversation state machine for Telegram bots.
|
Package fsm provides a conversation state machine for Telegram bots. |
|
kb
Package kb provides a fluent inline keyboard builder for Telegram bots, with co-located callback handler registration.
|
Package kb provides a fluent inline keyboard builder for Telegram bots, with co-located callback handler registration. |
|
middleware
Package middleware provides composable handler middleware for Telegram bots.
|
Package middleware provides composable handler middleware for Telegram bots. |
|
miniapp
Package miniapp provides Telegram Mini App initData signature validation.
|
Package miniapp provides Telegram Mini App initData signature validation. |
|
notify
Package notify provides two opinionated, non-conflatable notification sinks for Go services.
|
Package notify provides two opinionated, non-conflatable notification sinks for Go services. |
|
ops
Package ops provides operator notification utilities for Telegram bots.
|
Package ops provides operator notification utilities for Telegram bots. |
|
tgapi5
Package tgapi5 provides default implementations of the Telegram adapter interfaces defined in the go-kit/telegram/middleware and related packages, backed by github.com/OvyFlash/telegram-bot-api.
|
Package tgapi5 provides default implementations of the Telegram adapter interfaces defined in the go-kit/telegram/middleware and related packages, backed by github.com/OvyFlash/telegram-bot-api. |
|
Package toolutil provides argument extraction helpers for MCP tool handlers.
|
Package toolutil provides argument extraction helpers for MCP tool handlers. |
|
Package tracing wires OpenTelemetry distributed tracing for go-* services.
|
Package tracing wires OpenTelemetry distributed tracing for go-* services. |
|
httpmw
Package httpmw is a thin convenience layer over go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.
|
Package httpmw is a thin convenience layer over go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. |
|
mcpmw
Package mcpmw provides a tracing middleware for MCP (Model Context Protocol) servers built on github.com/modelcontextprotocol/go-sdk.
|
Package mcpmw provides a tracing middleware for MCP (Model Context Protocol) servers built on github.com/modelcontextprotocol/go-sdk. |
|
pgxotel
Package pgxotel wires the canonical exaring/otelpgx tracer onto pgx pool configs.
|
Package pgxotel wires the canonical exaring/otelpgx tracer onto pgx pool configs. |
|
slogh
Package slogh wraps an slog.Handler to inject the active OTel trace_id and span_id into every log record emitted with a context that carries a span.
|
Package slogh wraps an slog.Handler to inject the active OTel trace_id and span_id into every log record emitted with a context that carries a span. |
|
Package uploads is the canonical filesystem layout for files services produce on the local box: screenshots, generated images, PDFs, audit reports, anything else that needs to live somewhere predictable.
|
Package uploads is the canonical filesystem layout for files services produce on the local box: screenshots, generated images, PDFs, audit reports, anything else that needs to live somewhere predictable. |
|
Package watcher provides a thin generic adapter over github.com/larsartmann/go-filewatcher/v2, exposing a decoupled Event type (Path + Op string) so callers never depend on fsnotify types directly.
|
Package watcher provides a thin generic adapter over github.com/larsartmann/go-filewatcher/v2, exposing a decoupled Event type (Path + Op string) so callers never depend on fsnotify types directly. |
Click to show internal directories.
Click to hide internal directories.