feat: configure application transports and unify graceful shutdown

This commit is contained in:
2026-09-23 12:49:56 +08:00
parent 59bf04a461
commit 8e18528fc2
18 changed files with 842 additions and 96 deletions

View File

@@ -118,7 +118,7 @@ func TestUserCRUD(t *testing.T) {
}
}
func checkUserCRUD(t *testing.T, app *omni.App) {
func checkUserCRUD(t *testing.T, app http.Handler) {
t.Helper()
health := dataAs[map[string]string](t, request(t, app, "GET", "/health", "", 200, "OK"))
if health["status"] != "ok" {