go-ok
takes an input file which has a list of IP addresses and port and checks if
HTTP GET is successful (200) for the host:port. If yes, it prints the IP address and port on the console
$ go get github.com/jayapriya90/go-ok
$ go-ok -fpath=<path to input file>
$ go-ok -fpath=input.txt
HTTP GET is successful for
216.58.195.78:80
172.217.3.17:80
$ go-ok -fpath=input.txt >> output.txt