internal/

directory
v0.0.0-...-57ebe6e Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package config loads chaski's runtime configuration from CHASKI_*-prefixed environment variables.
Package config loads chaski's runtime configuration from CHASKI_*-prefixed environment variables.
Package gate compiles and evaluates a route's whenExpr — the single CEL boolean that decides whether chaski acts on a request.
Package gate compiles and evaluates a route's whenExpr — the single CEL boolean that decides whether chaski acts on a request.
Package relay is the heart of chaski: it compiles every route once at load (gate + field templates + verify + resolved target sinks — fail-fast) and runs the per-request pipeline — verify, gate, render, relay (with concurrent fan-out) — mapping the outcome to the response contract.
Package relay is the heart of chaski: it compiles every route once at load (gate + field templates + verify + resolved target sinks — fail-fast) and runs the per-request pipeline — verify, gate, render, relay (with concurrent fan-out) — mapping the outcome to the response contract.
Package render compiles and evaluates a route's Go-template fields — title, message, and the params/headers values.
Package render compiles and evaluates a route's Go-template fields — title, message, and the params/headers values.
Package server wires chaski's webhook and metrics listeners together and manages their lifecycle.
Package server wires chaski's webhook and metrics listeners together and manages their lifecycle.
Package sink delivers a rendered relay to a configured target — an apprise notification (through the swappable Notifier seam) or a generic HTTP request.
Package sink delivers a rendered relay to a configured target — an apprise notification (through the swappable Notifier seam) or a generic HTTP request.
Package smtp is chaski's optional SMTP front-door: it accepts mail and relays it through the same compiled route engine the webhook listener uses, selecting the route by the recipient localpart (sonarr@...
Package smtp is chaski's optional SMTP front-door: it accepts mail and relays it through the same compiled route engine the webhook listener uses, selecting the route by the recipient localpart (sonarr@...
Package tmpl builds the go-sprout/sprout function map that chaski renders every template with — config-load fields (target URLs/headers, verify secrets) and per-request route fields (title, message, params, headers) alike.
Package tmpl builds the go-sprout/sprout function map that chaski renders every template with — config-load fields (target URLs/headers, verify secrets) and per-request route fields (title, message, params, headers) alike.
Package verify implements a route's optional inbound signature check: an HMAC over the raw request body, or a shared-secret token in a header.
Package verify implements a route's optional inbound signature check: an HMAC over the raw request body, or a shared-secret token in a header.

Jump to

Keyboard shortcuts

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