- The DB error return branch in SeedDefaultSecurityConfig was never exercised because all seed tests only ran against a healthy in-memory database; added a test that closes the underlying connection before calling the function so the FirstOrCreate error path is reached - The letsencrypt certificate cleanup loop in Register was unreachable in all existing tests because no test pre-seeded a ProxyHost with an letsencrypt cert association; added a test that creates that precondition so the log and Update lines inside the loop execute - These were the last two files blocking patch coverage on PR #852
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 ./...