fix: typo

This commit is contained in:
Senis
2022-11-08 11:57:06 +08:00
parent 209f5a17d6
commit ddce3fa86d
27 changed files with 149 additions and 164 deletions

View File

@@ -5,7 +5,7 @@ import (
"regexp"
)
// API config
// Config API config
type Config struct {
APIHost string `mapstructure:"ApiHost"`
NodeID int `mapstructure:"NodeID"`
@@ -20,7 +20,7 @@ type Config struct {
DisableCustomConfig bool `mapstructure:"DisableCustomConfig"`
}
// Node status
// NodeStatus Node status
type NodeStatus struct {
CPU float64
Mem float64