Skip to content

Konstantin8105/port

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

Releases

No releases published

Packages

No packages published

Languages