Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 1.13 KB

README.md

File metadata and controls

28 lines (25 loc) · 1.13 KB

gonetx/tcp

tcp is a package providing utility functions for tcp.

Detect

Detect checks if a tcp address is connectable with specific timeout.

ok, err := tcp.Detect("www.google.com:443", time.Second)
fmt.Println(ok, err)