9dc1cd6823
- Added cleanup functions to close database connections in various test setups to prevent resource leaks. - Introduced new helper functions for creating test services with proper cleanup. - Updated multiple test cases to utilize the new helper functions for better maintainability and readability. - Improved error handling in tests to ensure proper assertions and resource management.
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 ./...