Add application entry point and graceful shutdown #1

Closed
opened 2026-09-04 23:18:12 +02:00 by arne · 0 comments
Owner

Create cmd/fjomp with an HTTP server that starts cleanly and shuts down on SIGINT/SIGTERM.

Acceptance criteria:

  • Uses net/http and log/slog.
  • Configures explicit server timeouts.
  • Handles SIGINT and SIGTERM with bounded graceful shutdown.
  • Startup/shutdown behavior is testable where practical.
  • go fmt, go vet, go test, and go build pass.
Create cmd/fjomp with an HTTP server that starts cleanly and shuts down on SIGINT/SIGTERM. Acceptance criteria: - Uses net/http and log/slog. - Configures explicit server timeouts. - Handles SIGINT and SIGTERM with bounded graceful shutdown. - Startup/shutdown behavior is testable where practical. - go fmt, go vet, go test, and go build pass.
arne closed this issue 2026-09-04 23:21:55 +02:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
arne/fjomp#1
No description provided.