项目作者: Konstantin8105

项目描述 :
simple port scanner
高级语言: Go
项目地址: git://github.com/Konstantin8105/port.git
创建时间: 2018-04-10T18:52:38Z
项目社区:https://github.com/Konstantin8105/port

开源协议:MIT License

下载


Port scanner

Coverage Status
Build Status
Go Report Card
GitHub license
GoDoc

simple port scanner

Example of using:

  1. func ExampleScanAddress() {
  2. address := "localhost"
  3. ps, err := port.ScanAddress(address)
  4. if err != nil {
  5. return
  6. }
  7. if len(ps) > 0 {
  8. fmt.Println("Found opened ports")
  9. }
  10. // Output:
  11. // Found opened ports
  12. }