handlers/

directory
v0.0.0-...-2cddea8 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package agentauth verifies the Ed25519 signed headers a deported agent puts on its plain HTTP calls (attachment uploads, worker tasks).
Package agentauth verifies the Ed25519 signed headers a deported agent puts on its plain HTTP calls (attachment uploads, worker tasks).
Package agentreleases serves the release download route a self-updating agent fetches its new binary through (spec 2026-12-01-05): a signed GET answered with a 307 to the GitHub release asset, like the agent registry's blob redirects.
Package agentreleases serves the release download route a self-updating agent fetches its new binary through (spec 2026-12-01-05): a signed GET answered with a 307 to the GitHub release asset, like the agent registry's blob redirects.
Package agents provides the org-scoped admin API for private locations (org-private regions) and their deported check agents: creating/deleting private regions, minting one-shot enrollment tokens, and listing/revoking agents.
Package agents provides the org-scoped admin API for private locations (org-private regions) and their deported check agents: creating/deleting private regions, minting one-shot enrollment tokens, and listing/revoking agents.
Package agenttasks serves the worker-task routes a deported agent pulls its tasks from (spec 2026-10-22-02): claim, heartbeat, step, finish and fail, all authenticated with the agent's Ed25519 signed headers.
Package agenttasks serves the worker-task routes a deported agent pulls its tasks from (spec 2026-10-22-02): claim, heartbeat, step, finish and fail, all authenticated with the agent's Ed25519 signed headers.
Package agentws implements the WebSocket transport for deported check agents (spec 2026-07-16-02, generalized to platform-operated agents by 2026-07-27-01).
Package agentws implements the WebSocket transport for deported check agents (spec 2026-07-16-02, generalized to platform-operated agents by 2026-07-27-01).
Package aichecks serves the AI authoring endpoints of js checks (spec 2026-10-03-07): POST /orgs/:org/checks/ai/contract turns a prompt into a contract to confirm, POST /orgs/:org/checks/ai/generate writes and tests the script.
Package aichecks serves the AI authoring endpoints of js checks (spec 2026-10-03-07): POST /orgs/:org/checks/ai/contract turns a prompt into a contract to confirm, POST /orgs/:org/checks/ai/generate writes and tests the script.
Package attachments is the generic attachment rail (spec 2026-08-21-01): the `files.topic` naming rules, the authorizer registry that decides whether a caller may write under a given topic, and the agent-facing upload endpoint that is its first untrusted writer.
Package attachments is the generic attachment rail (spec 2026-08-21-01): the `files.topic` naming rules, the authorizer registry that decides whether a caller may write under a given topic, and the agent-facing upload endpoint that is its first untrusted writer.
Package auth provides authentication services and handlers.
Package auth provides authentication services and handlers.
Package availability provides the server-side per-period availability statistics endpoint for a single check.
Package availability provides the server-side per-period availability statistics endpoint for a single check.
Package badges provides HTTP handlers for serving badge images.
Package badges provides HTTP handlers for serving badge images.
Package base provides common handler functionality for HTTP request handling.
Package base provides common handler functionality for HTTP request handling.
Package checkchannels provides HTTP handlers for managing check-to-integration-connection associations for incident notifications.
Package checkchannels provides HTTP handlers for managing check-to-integration-connection associations for incident notifications.
Package checkdependencies provides CRUD over the check_dependencies graph and the helpers used by the incident-rollup hook.
Package checkdependencies provides CRUD over the check_dependencies graph and the helpers used by the incident-rollup hook.
Package checkgroups provides HTTP handlers for check group management endpoints.
Package checkgroups provides HTTP handlers for check group management endpoints.
Package checkjobs provides read-only HTTP access to the check_jobs schedule table and aggregate stats over both the background jobs queue and the check schedule.
Package checkjobs provides read-only HTTP access to the check_jobs schedule table and aggregate stats over both the background jobs queue and the check schedule.
Package checkrunnow runs a check once on demand, "Run now" (spec 2026-10-04-01), and holds the pieces "Capture now" (checkscreenshots) shares with it: the job picker, the express hint and the atomic rate-limit admission.
Package checkrunnow runs a check once on demand, "Run now" (spec 2026-10-04-01), and holds the pieces "Capture now" (checkscreenshots) shares with it: the job picker, the express hint and the atomic rate-limit admission.
Package checkruns serves the multi-step run endpoints of a check (spec 2026-10-03-03): the run in progress, its cancellation, and the stored crawl reports.
Package checkruns serves the multi-step run endpoints of a check (spec 2026-10-03-03): the run in progress, its cancellation, and the stored crawl reports.
Package checks provides HTTP handlers for check management endpoints.
Package checks provides HTTP handlers for check management endpoints.
importers
Package importers converts third-party monitoring configurations (Gatus, Better Stack, Uptime Kuma, UptimeRobot) into SolidPing's portable ExportDocument, which is then fed through the existing apply/import pipeline.
Package importers converts third-party monitoring configurations (Gatus, Better Stack, Uptime Kuma, UptimeRobot) into SolidPing's portable ExportDocument, which is then fed through the existing apply/import pipeline.
Package checkscreenshots serves a check's screenshots on the check page (spec 2026-09-25-34): the listing of its latest captures — the ones its incidents carry and the check-scoped ones — and "Capture now", which runs the check once on demand with the capture forced.
Package checkscreenshots serves a check's screenshots on the check page (spec 2026-09-25-34): the listing of its latest captures — the ones its incidents carry and the check-scoped ones — and "Capture now", which runs the check once on demand with the capture forced.
Package checktestrun serves POST /orgs/:org/checks/test-run: it executes a check definition that is not saved yet, once, and returns the result with its named steps (spec 2026-11-17-04).
Package checktestrun serves POST /orgs/:org/checks/test-run: it executes a check definition that is not saved yet, once, and returns the result with its named steps (spec 2026-11-17-04).
Package checktypes provides HTTP handlers for check type metadata endpoints.
Package checktypes provides HTTP handlers for check type metadata endpoints.
Package degradedeval is the periodic sweep that turns the degraded-detection rules into incidents (spec 2026-09-22-03).
Package degradedeval is the periodic sweep that turns the degraded-detection rules into incidents (spec 2026-09-22-03).
Package discovery provides HTTP handlers for network discovery operations.
Package discovery provides HTTP handlers for network discovery operations.
Package emailcheck implements the JMAP email handler that turns inbound emails into SolidPing check results.
Package emailcheck implements the JMAP email handler that turns inbound emails into SolidPing check results.
Package emailpreview provides a dev/test-only HTTP route that renders any shipped email template with fixture data in the browser, so the design pass in server/internal/email/templates/ can be iterated on visually without round-tripping through SMTP (spec D5).
Package emailpreview provides a dev/test-only HTTP route that renders any shipped email template with fixture data in the browser, so the design pass in server/internal/email/templates/ can be iterated on visually without round-tripping through SMTP (spec D5).
Package emailsuppressions exposes the dashboard-facing REST API for the D4 per-recipient unsubscribe list (spec 2026-07-05-10): list current suppressions for an org and remove one (re-subscribe).
Package emailsuppressions exposes the dashboard-facing REST API for the D4 per-recipient unsubscribe list (spec 2026-07-05-10): list current suppressions for an org and remove one (re-subscribe).
Package entitlements wraps the entitlements service with HTTP handlers for GET / PUT / PATCH and the audit listing.
Package entitlements wraps the entitlements service with HTTP handlers for GET / PUT / PATCH and the audit listing.
Package escalationpolicies implements the escalation policy domain: CRUD on policies and the steps/targets nested inside them.
Package escalationpolicies implements the escalation policy domain: CRUD on policies and the steps/targets nested inside them.
Package eventfeeds serves the private Atom feeds of an organization's incidents and events (spec 2026-11-24-12, #1014), and their management API.
Package eventfeeds serves the private Atom feeds of an organization's incidents and events (spec 2026-11-24-12, #1014), and their management API.
Package events provides event listing HTTP handlers.
Package events provides event listing HTTP handlers.
Package feedback implements the in-app bug-report flow: it accepts a multipart submission from the dash0 / status0 frontends, persists the optional screenshot via the files service, and asynchronously creates a GitHub issue with all the diagnostic context embedded.
Package feedback implements the in-app bug-report flow: it accepts a multipart submission from the dash0 / status0 frontends, persists the optional screenshot via the files service, and asynchronously creates a GitHub issue with all the diagnostic context embedded.
Package files provides HTTP handlers and a programmatic service for the generic file-storage layer.
Package files provides HTTP handlers and a programmatic service for the generic file-storage layer.
signedurl
Package signedurl produces and verifies short-lived HMAC signatures for public file URLs.
Package signedurl produces and verifies short-lived HMAC signatures for public file URLs.
Package filestorage defines the storage seam for file blobs and the pluggable backend factory.
Package filestorage defines the storage seam for file blobs and the pluggable backend factory.
localfs
Package localfs implements the FileStorage interface backed by a directory on the local filesystem.
Package localfs implements the FileStorage interface backed by a directory on the local filesystem.
s3fs
Package s3fs implements the FileStorage interface backed by S3 via aws-sdk-go-v2.
Package s3fs implements the FileStorage interface backed by S3 via aws-sdk-go-v2.
Package freshness is the minute sweep that moves a check whose results stopped to the `stale` ("No data") status (spec 2026-09-25-02).
Package freshness is the minute sweep that moves a check whose results stopped to the `stale` ("No data") status (spec 2026-09-25-02).
Package heartbeat provides HTTP handlers for heartbeat check ingestion.
Package heartbeat provides HTTP handlers for heartbeat check ingestion.
Package incidentnotifications provides the read API for the incident_notifications audit table written by the notification fan-out paths.
Package incidentnotifications provides the read API for the incident_notifications audit table written by the notification fan-out paths.
Package incidentpublications implements the incident publication overlay: the object that says "this incident is visible on this status page, under this customer-readable title, in this state" (spec 2026-08-19-08).
Package incidentpublications implements the incident publication overlay: the object that says "this incident is visible on this status page, under this customer-readable title, in this state" (spec 2026-08-19-08).
Package incidents provides incident management HTTP handlers.
Package incidents provides incident management HTTP handlers.
Package integrations provides HTTP handlers for integration management (Slack, Discord, webhook, email, etc.).
Package integrations provides HTTP handlers for integration management (Slack, Discord, webhook, email, etc.).
Package jobs provides HTTP handlers for job operations.
Package jobs provides HTTP handlers for job operations.
Package jobsadmin provides admin/super-admin read-only views over the background jobs queue, including a system-wide view across all orgs (and system jobs where organization_uid IS NULL) and retry-chain traversal.
Package jobsadmin provides admin/super-admin read-only views over the background jobs queue, including a system-wide view across all orgs (and system jobs where organization_uid IS NULL) and retry-chain traversal.
Package labels powers the label autocomplete API.
Package labels powers the label autocomplete API.
Package maintenancewindows provides HTTP handlers for maintenance window management endpoints.
Package maintenancewindows provides HTTP handlers for maintenance window management endpoints.
Package manifestapply reconciles a whole config-as-code manifest: checks, notification channels, maintenance windows and status pages (spec 2026-11-21-01).
Package manifestapply reconciles a whole config-as-code manifest: checks, notification channels, maintenance windows and status pages (spec 2026-11-21-01).
Package mattermost handles inbound Mattermost Blocks action callbacks.
Package mattermost handles inbound Mattermost Blocks action callbacks.
Package members provides HTTP handlers for organization member management.
Package members provides HTTP handlers for organization member management.
Package oncallschedules implements the on-call schedule domain: CRUD on schedules, rosters, and overrides, plus the rotation resolver that answers "who is on call right now".
Package oncallschedules implements the on-call schedule domain: CRUD on schedules, rosters, and overrides, plus the rotation resolver that answers "who is on call right now".
Package orglogo implements the organization logo: an owner-only upload endpoint.
Package orglogo implements the organization logo: an owner-only upload endpoint.
Package orgparams is the org-admin CRUD surface over an organization's own parameters — the values a config-as-code document references as `${param:KEY}`.
Package orgparams is the org-admin CRUD surface over an organization's own parameters — the values a config-as-code document references as `${param:KEY}`.
Package ovhsmscb handles OVHcloud SMS delivery-receipt callbacks.
Package ovhsmscb handles OVHcloud SMS delivery-receipt callbacks.
Package publicconfig serves GET /api/v1/config: the unauthenticated, browser-safe configuration blob the dashboard reads at boot, before any login has happened.
Package publicconfig serves GET /api/v1/config: the unauthenticated, browser-safe configuration blob the dashboard reads at boot, before any login has happened.
Package realtimews serves the org-scoped live hint WebSocket (GET /api/v1/orgs/:org/events/ws), replacing the v1 SSE stream (handlers/realtimestream).
Package realtimews serves the org-scoped live hint WebSocket (GET /api/v1/orgs/:org/events/ws), replacing the v1 SSE stream (handlers/realtimestream).
Package regions provides HTTP handlers for region API endpoints.
Package regions provides HTTP handlers for region API endpoints.
Package reportschedules provides HTTP handlers for scheduled uptime-report digests, plus the "send one to me right now" test path.
Package reportschedules provides HTTP handlers for scheduled uptime-report digests, plus the "send one to me right now" test path.
Package results provides handlers for results listing endpoints.
Package results provides handlers for results listing endpoints.
Package severities provides HTTP handlers for the severity primitive — per-org channel-set bundles consumed by escalation step fan-out.
Package severities provides HTTP handlers for the severity primitive — per-org channel-set bundles consumed by escalation step fan-out.
Package sloalerts turns an SLO's computed burn rate into a page.
Package sloalerts turns an SLO's computed burn rate into a page.
Package slos provides HTTP handlers for service-level-objective management, plus the read-time status/history computations built on internal/slo.
Package slos provides HTTP handlers for service-level-objective management, plus the read-time status/history computations built on internal/slo.
Package statuspageassets implements per-status-page brand assets — the uploaded logo and favicon (spec 2026-08-21-07) — as an admin-gated upload endpoint plus the unsigned public route that serves the stored image.
Package statuspageassets implements per-status-page brand assets — the uploaded logo and favicon (spec 2026-08-21-07) — as an admin-gated upload endpoint plus the unsigned public route that serves the stored image.
Package statuspages provides HTTP handlers for status page management endpoints.
Package statuspages provides HTTP handlers for status page management endpoints.
Package statussubscribers provides public-facing status-page subscription management (double opt-in email subscriptions + Atom feed) kept separate from the authenticated status-page CRUD so the PII surface (subscriber emails) is isolated.
Package statussubscribers provides public-facing status-page subscription management (double opt-in email subscriptions + Atom feed) kept separate from the authenticated status-page CRUD so the PII surface (subscriber emails) is isolated.
Package statusupdates provides HTTP handlers for status update management endpoints.
Package statusupdates provides HTTP handlers for status update management endpoints.
Package supportinbox exposes the instance support inbox over HTTP.
Package supportinbox exposes the instance support inbox over HTTP.
Package system provides handlers for system-wide configuration endpoints.
Package system provides handlers for system-wide configuration endpoints.
Package telegramcb handles Telegram's inbound Bot API webhook: the /start connect flow, in-chat opt-out (/stop, /unlink) and the my_chat_member update that reports the bot was blocked.
Package telegramcb handles Telegram's inbound Bot API webhook: the /start connect flow, in-chat opt-out (/stop, /unlink) and the my_chat_member update that reports the bot was blocked.
Package testapi provides test HTTP handlers for development and testing.
Package testapi provides test HTTP handlers for development and testing.
Package tools runs one SolidPing check once, anonymously, for the public tools of www.solidping.io (spec 2026-10-14-02): website down checker, SSL certificate checker, DNS lookup and port checker.
Package tools runs one SolidPing check once, anonymously, for the public tools of www.solidping.io (spec 2026-10-14-02): website down checker, SSL certificate checker, DNS lookup and port checker.
Package tracediag routes and runs the MTR-style path capture the incident pipeline asks for when a check goes down on a network-reachability failure (spec 2026-08-21-10).
Package tracediag routes and runs the MTR-style path capture the incident pipeline asks for when a check goes down on a network-reachability failure (spec 2026-08-21-10).
Package twiliocb handles inbound Twilio callbacks: the voice TwiML flow with DTMF acknowledgement and the SMS/call delivery-status callback.
Package twiliocb handles inbound Twilio callbacks: the voice TwiML flow with DTMF acknowledgement and the SMS/call delivery-status callback.
Package uistate stores small, per-user, per-organization UI preferences server-side, so a choice a user makes in the dashboard (today: dismissing the getting-started checklist) follows them to their other devices instead of living in one browser's localStorage.
Package uistate stores small, per-user, per-organization UI preferences server-side, so a choice a user makes in the dashboard (today: dismissing the getting-started checklist) follows them to their other devices instead of living in one browser's localStorage.
Package unsubscribe implements the public (unauthenticated) per-recipient email unsubscribe surface: RFC 8058 one-click POST, a minimal GET confirmation page, and the re-subscribe undo.
Package unsubscribe implements the public (unauthenticated) per-recipient email unsubscribe surface: RFC 8058 one-click POST, a minimal GET confirmation page, and the re-subscribe undo.
Package usernotifications provides HTTP handlers and business logic for per-user notification contact management and route configuration.
Package usernotifications provides HTTP handlers and business logic for per-user notification contact management and route configuration.
Package webpush provides HTTP handlers for the Web Push VAPID public key endpoint.
Package webpush provides HTTP handlers for the Web Push VAPID public key endpoint.
Package whatsappcb handles Meta's inbound WhatsApp Cloud API webhook: the GET subscription handshake and the POST event stream carrying delivery statuses and inbound user replies.
Package whatsappcb handles Meta's inbound WhatsApp Cloud API webhook: the GET subscription handshake and the POST event stream carrying delivery statuses and inbound user replies.
Package workers provides the claim/submit business logic shared by every remote check executor.
Package workers provides the claim/submit business logic shared by every remote check executor.

Jump to

Keyboard shortcuts

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