feat: make logging and temperature monitoring optional (#35)

* feat: make logging and temperature monitoring optional

* chore: improve code style

* fix: import

---------

Co-authored-by: naiba <[email protected]>
This commit is contained in:
UUBulb
2024-07-10 23:58:19 +08:00
committed by GitHub
co-authored by naiba
parent 1bf702cfaa
commit 3bf3f97767
6 changed files with 89 additions and 60 deletions
+2
View File
@@ -12,6 +12,8 @@ type AgentConfig struct {
NICAllowlist map[string]bool
DNS []string
GPU bool
Temperature bool
Slient bool
v *viper.Viper
}