feat(httpserver): promote to v1.0.2 — configurable ShutdownTimeout, bump deps to v1.0.1, go 1.26

Add Config.ShutdownTimeout (SERVER_SHUTDOWN_TIMEOUT, default 10s) so callers can
configure the graceful-shutdown deadline without code changes. Previously hardcoded
to 10 seconds. Bump launcher and logz from v0.9.0 to v1.0.1, update go directive
from 1.25 to 1.26. API committed as stable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-12 04:17:52 +00:00
parent 1801754a9b
commit 9b6608418b
4 changed files with 30 additions and 13 deletions

6
go.mod
View File

@@ -1,10 +1,10 @@
module code.nochebuena.dev/go/httpserver
go 1.25
go 1.26
require (
code.nochebuena.dev/go/launcher v0.9.0
code.nochebuena.dev/go/launcher v1.0.1
github.com/go-chi/chi/v5 v5.2.1
)
require code.nochebuena.dev/go/logz v0.9.0 // indirect
require code.nochebuena.dev/go/logz v1.0.1 // indirect