Versions in this module Expand all Collapse all v0 v0.1.1 Jul 4, 2026 Changes in this version + func GinMiddleware(agent *Agent) gin.HandlerFunc + func Middleware(agent *Agent) func(http.Handler) http.Handler + type Agent struct + func NewAgent(cfg Config) *Agent + func (a *Agent) CheckRequest(r *http.Request) ThreatResult + func (a *Agent) SendTelemetry(r *http.Request, result ThreatResult) + func (a *Agent) StartSync() + type Config struct + ApiUrl string + LicenseKey string + SyncInterval time.Duration + type Rule struct + Action string + Condition string + ID string + Pattern string + Score int + Type string + type RuleResponse struct + Rules []Rule + type ThreatResult struct + Action string + Score int v0.1.0 Jul 4, 2026