Skip to content

Commit

Permalink
Added docstrings to the functions
Browse files Browse the repository at this point in the history
  • Loading branch information
aki237 committed Nov 9, 2015
1 parent bdd9273 commit 536697b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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)
Expand Down

0 comments on commit 536697b

Please sign in to comment.