Skip to content

Commit

Permalink
put comments into one line
Browse files Browse the repository at this point in the history
  • Loading branch information
ckt committed Apr 14, 2020
1 parent be486d1 commit b9c3501
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,11 @@ func main() {
var vvv = flag.Bool("vvv", false, "triple verbose mode (includes -v and -vv)")
flag.Parse()

// Creates a STUN client. NewClientWithConnection can also be used if
// you want to handle the UDP listener by yourself.
// Creates a STUN client. NewClientWithConnection can also be used if you want to handle the UDP listener by yourself.
client := stun.NewClient()
// The default addr (stun.DefaultServerAddr) will be used unless we
// call SetServerAddr.
// The default addr (stun.DefaultServerAddr) will be used unless we call SetServerAddr.
client.SetServerAddr(*serverAddr)
// Non verbose mode will be used by default unless we call
// SetVerbose(true) or SetVVerbose(true).
// Non verbose mode will be used by default unless we call SetVerbose(true) or SetVVerbose(true).
client.SetVerbose(*v || *vv || *vvv)
client.SetVVerbose(*vv || *vvv)
// Discover the NAT and return the result.
Expand Down

0 comments on commit b9c3501

Please sign in to comment.