transx/cli/cli.go

16 lines
277 B
Go
Raw Normal View History

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")
}