15
cli/cli.go
Normal file
15
cli/cli.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package cli
|
||||
|
||||
import (
|
||||
"flag"
|
||||
)
|
||||
|
||||
var DestIP string
|
||||
var DestPort int
|
||||
var ListenPort int
|
||||
|
||||
func init() {
|
||||
flag.StringVar(&DestIP, "destip", "", "Destination IP")
|
||||
flag.IntVar(&DestPort, "desport", 0, "Destination Port")
|
||||
flag.IntVar(&ListenPort, "listenport", 0, "Listen Port")
|
||||
}
|
||||
Reference in New Issue
Block a user