Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 969 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 969 Bytes

Port scanner

Coverage Status Build Status Go Report Card GitHub license GoDoc

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
}