mirror of
https://github.com/nais/wonderwall.git
synced 2026-05-25 01:32:58 +00:00
Move metrics and probe listeners from main.go into server.go and manage all servers with errgroup. This replaces log.Fatalf goroutines with proper error propagation and ties all server lifetimes together so a failure in any listener triggers graceful shutdown of the others.