webserver

command
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command webserver serves the dashboard over HTTP for packages/mcp/test/go-web.test.ts, which drives @cronwatch/mcp against it. Seeded like the MCP tests' own end to end case: a "nightly" job with one good run and one failed one, and a fixed clock. Mounted under /cronwatch with http.StripPrefix, so the routes find their base path from it. Standard library only.

go run ./internal/webserver PORT    (in packages/go)

Alerts are printed as "alert <job> <type>" lines.

Jump to

Keyboard shortcuts

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