feat(agent): toml config loader with defaults and validation
This commit is contained in:
parent
7ec38e0fd6
commit
e4db0beac6
3 changed files with 147 additions and 0 deletions
8
agent/test/fixtures/agent.toml
vendored
Normal file
8
agent/test/fixtures/agent.toml
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
server_url = "wss://monitor.example.com/socket/websocket"
|
||||
token = "test_token_123"
|
||||
host_id = "pve-test-01"
|
||||
|
||||
[intervals]
|
||||
fast_seconds = 15
|
||||
medium_seconds = 120
|
||||
slow_seconds = 600
|
||||
Loading…
Add table
Add a link
Reference in a new issue