refactor pkg/sweeper #45

Closed
opened 2026-03-28 04:20:44 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #82
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/82
Original created: 2025-01-20T03:50:49Z


  1. Refactor pkg/sweeper:
  • Break down the large files into smaller, more manageable files.
  • Move shared types and interfaces (e.g., SweepData, PortStatus, Config, ResultFilter) to a common package (e.g., pkg/models or pkg/types) to avoid circular dependencies.
  • Re-evaluate the interfaces and their implementations to ensure a clear separation of concerns.
  • Consider adding more specific error types.
  • Improve test coverage.
Imported from GitHub. Original GitHub issue: #82 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/82 Original created: 2025-01-20T03:50:49Z --- 1. Refactor pkg/sweeper: * Break down the large files into smaller, more manageable files. * Move shared types and interfaces (e.g., SweepData, PortStatus, Config, ResultFilter) to a common package (e.g., pkg/models or pkg/types) to avoid circular dependencies. * Re-evaluate the interfaces and their implementations to ensure a clear separation of concerns. * Consider adding more specific error types. * Improve test coverage.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#45
No description provided.