mirror of
https://github.com/R0m1k3/Loki.git
synced 2026-10-23 15:08:16 +02:00
UI: affichage de la RAM systeme dans la barre laterale
Nouvel endpoint /api/ram (lecture /proc/meminfo, used/total en Mo, 0 hors Linux) et bloc RAM dans la sidebar a cote du GPU, rafraichi toutes les 3 s. Masque si pas de /proc/meminfo (Windows/mac).
This commit is contained in:
1 parent
ee76638f15
commit
dbb0ac40a4
7 files changed
+60
-2
No files matched your search
@@ -79,6 +79,7 @@ func newWebMux() *http.ServeMux {
|
||||
api("/api/ping", handlePing)
|
||||
api("/api/status", handleStatus)
|
||||
api("/api/vram", handleVram)
|
||||
api("/api/ram", handleRam)
|
||||
api("/api/config", handleConfigEnv)
|
||||
api("/api/catalog", handleCatalog)
|
||||
api("/api/update", handleUpdateCheck)
|
||||
|
||||
Reference in new issue
Block a user