chore: initialize containerized Go learning workbook (2026 DevOps/SRE)

This commit is contained in:
soda64 committed 2026-11-30 23:03:31 +01:00
commit 84be3e5d77
64 files changed
+1382

No files matched your search

@@ -0,0 +1,14 @@
package observability
import (
"net/http"
"sync/atomic"
)
func FormatPrometheusCounter(name, help string, value uint64) string {
panic("TODO: zwróć format Prometheus (# HELP, # TYPE counter, name value)")
}
func ReadinessHandler(ready *atomic.Bool) http.HandlerFunc {
panic("TODO: zwróć 200 OK gdy ready.Load() == true, inaczej 503 Service Unavailable")
}