move unit related constant to common lib

This commit is contained in:
2026-06-26 20:27:23 +00:00
parent e2de9c5083
commit af14bee284
3 changed files with 6 additions and 6 deletions
-2
View File
@@ -7,8 +7,6 @@ import (
"strings"
)
const MiB = 1024 * 1024
type Config struct {
ListenPort int `json:"listenPort"`
PVE struct {