From 536697b220c1e775ea61cea438db5cc4655ea882 Mon Sep 17 00:00:00 2001 From: aki237 Date: Mon, 9 Nov 2015 23:40:58 +0530 Subject: [PATCH] Added docstrings to the functions --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index c0d37ab..1d69c93 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,7 @@ type proxy struct { encauth string } - +//Init variables var matchid = uint64(0) var connid = uint64(0) var localAddr = flag.String("l", ":9999", "local address") @@ -32,6 +32,7 @@ var verbose = flag.Bool("v", false, "display server actions") var veryverbose = flag.Bool("vv", false, "display server actions and all tcp data") var nagles = flag.Bool("n", false, "disable nagles algorithm") +//Main function to start the server func main() { flag.Parse() fmt.Printf("Proxying from %v to %v\n", *localAddr, *remoteAddr)