add storage API

This commit is contained in:
André Roth committed 2024-10-02 18:48:48 +02:00
1 parent aff7b0db50
commit 06cbd29d0d
3 files changed
+40

No files matched your search

+1
View File
@@ -125,6 +125,7 @@ func Router(c *ctx.AptlyContext) http.Handler {
api.GET("/metrics", apiMetricsGet())
}
api.GET("/version", apiVersion)
api.GET("/storage", apiDiskFree)
isReady := &atomic.Value{}
isReady.Store(false)