simple port scanner
Example of using:
func ExampleScanAddress() {
address := "localhost"
ps, err := port.ScanAddress(address)
if err != nil {
return
}
if len(ps) > 0 {
fmt.Println("Found opened ports")
}
// Output:
// Found opened ports
}