From 8891b355f56d1170a64dc5a328c2d2b4a743d9aa Mon Sep 17 00:00:00 2001 From: Bhavarth Karmarkar <43617757+JA3G3R@users.noreply.github.com> Date: Sun, 11 Sep 2022 00:14:10 +0530 Subject: [PATCH] Update main.go removed comments :) --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 60e5004..4560fab 100644 --- a/main.go +++ b/main.go @@ -28,15 +28,15 @@ func (p probeArgs) String() string { func main() { - // concurrency flag + var concurrency int flag.IntVar(&concurrency, "c", 20, "set the concurrency level (split equally between HTTPS and HTTP requests)") - // probe flags + var probes probeArgs flag.Var(&probes, "p", "add additional probe (proto:port)") - // skip default probes flag + var skipDefault bool flag.BoolVar(&skipDefault, "s", false, "skip the default probes (http:80 and https:443)") @@ -44,7 +44,7 @@ func main() { var to int flag.IntVar(&to, "t", 10000, "timeout (milliseconds)") - // prefer https + var preferHTTPS bool flag.BoolVar(&preferHTTPS, "prefer-https", false, "only try plain HTTP if HTTPS fails")