feat: colorize status ans latency

This commit is contained in:
divocat
2025-10-06 19:56:11 +03:00
parent 5418187dd3
commit 6117b0ef9b
6 changed files with 186 additions and 22 deletions

View File

@@ -70,13 +70,13 @@ export const store = new Store<{
uploadTotal: number;
};
services: {
singbox: string;
podkop: string;
singbox: number;
podkop: number;
};
}>({
sections: [],
traffic: { up: 0, down: 0 },
memory: { inuse: 0, oslimit: 0 },
connections: { connections: [], memory: 0, downloadTotal: 0, uploadTotal: 0 },
services: { singbox: '', podkop: '' },
services: { singbox: -1, podkop: -1 },
});