Add opt-in conntrack network activity and CrowdSec firewall counters

This commit is contained in:
Maxim
2026-10-09 22:32:41 +03:00
parent ea890c01b1
commit 49de0b1f49
11 changed files with 712 additions and 9 deletions

View File

@@ -9,9 +9,10 @@ import (
)
type TrafficSettings struct {
Enabled bool `json:"enabled"`
AgentID string `json:"agentId"`
ServerCountry string `json:"serverCountry"`
NetworkEnabled bool `json:"networkEnabled"`
Enabled bool `json:"enabled"`
AgentID string `json:"agentId"`
ServerCountry string `json:"serverCountry"`
}
func (s *Store) TrafficSettings() TrafficSettings {