28ad90d962
- Updated `coraza_integration_test.go` and `crowdsec_integration_test.go` for better logging and error handling. - Added `ttlRemainingSeconds` to `CrowdsecHandler` to provide remaining TTL in responses. - Improved error messages in `ApplyPreset` and `GetCachedPreset` methods for better user guidance. - Enhanced test coverage for applying presets, including scenarios for cache misses and expired caches. - Introduced new tests for cache refresh logic and ensured proper rollback behavior during failures. - Updated QA report with recent testing outcomes and observations.
Backend Service
This folder contains the Go API for CaddyProxyManager+.
Prerequisites
- Go 1.24+
Getting started
cp .env.example .env # optional
cd backend
go run ./cmd/api
Tests
cd backend
go test ./...