Refactor server code (#407)

هذا الالتزام موجود في:
Thomas Miceli
2025-01-20 01:57:39 +01:00
ملتزم من قبل GitHub
الأصل 4c5a7bda63
التزام f935ee1a7e
69 ملفات معدلة مع 4357 إضافات و3337 حذوفات

عرض الملف

@@ -0,0 +1,9 @@
package health
import "github.com/thomiceli/opengist/internal/web/context"
// Metrics is a dummy handler to satisfy the /metrics endpoint (for Prometheus, Openmetrics, etc.)
// until we have a proper metrics endpoint
func Metrics(ctx *context.Context) error {
return ctx.String(200, "")
}