Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 378 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 378 Bytes

OnlineHosts

Uses Go net/http library to distinguish alive hosts from a give list of hosts/urls

Building:

To build the application run the following:

go build -ldflags "-w -s" main.go

or build

  • env GOOS=windows GOARCH=386 go build -v main.go
  • env GOOS=linux GOARCH=amd64 go build -v main.go

Use:

cat urls.txt | online