mirror of
https://github.com/nais/wonderwall.git
synced 2026-05-22 08:13:09 +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.