dnswatcher/internal/portcheck
user 57cd228837 feat: make CheckPorts concurrent and add port validation
- CheckPorts now runs all port checks concurrently using errgroup
- Added port number validation (1-65535) with ErrInvalidPort sentinel error
- Updated PortChecker interface to use *PortResult return type
- Added tests for invalid port numbers (0, negative, >65535)
- All checks pass (make check clean)
2026-02-20 00:14:55 -08:00
..
portcheck_test.go feat: make CheckPorts concurrent and add port validation 2026-02-20 00:14:55 -08:00
portcheck.go feat: make CheckPorts concurrent and add port validation 2026-02-20 00:14:55 -08:00