1.增加web 显示profile

2.重新安排了一些日志的等级
This commit is contained in:
dmy@lab
2015-11-20 17:31:32 +08:00
parent fff90f7057
commit da0e77d74c
10 changed files with 39 additions and 22 deletions

View File

@@ -9,6 +9,7 @@ var DestPort int
var ListenPort int
var EncryptSide string
var LogTo string
var ProfilePort int
func init() {
flag.StringVar(&DestIP, "destip", "", "Destination IP")
@@ -16,4 +17,5 @@ func init() {
flag.StringVar(&LogTo, "log", "stdout", "Log to where")
flag.IntVar(&DestPort, "destport", 0, "Destination Port")
flag.IntVar(&ListenPort, "listenport", 0, "Listen Port")
flag.IntVar(&ProfilePort, "profileport", 0, "Profile Port")
}