Implement internal/portcheck package with:
internal/portcheck
CheckPort(ctx, address, port)
CheckPorts(ctx, address, ports)
No dependencies set.
The note is not visible to the blocked user.
Implement
internal/portcheckpackage with:CheckPort(ctx, address, port)— TCP connect with 5s timeout returning PortResultCheckPorts(ctx, address, ports)— batch check