Konstantin8105 / port

simple port scanner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
}

About

simple port scanner

License:MIT License


Languages

Language:Go 100.0%