format代码

This commit is contained in:
Hurricanezwf
2016-02-05 16:49:52 +08:00
Unverified
parent 04c26d1c31
commit 60c9804776
7 changed files with 19 additions and 18 deletions
+1
View File
@@ -28,3 +28,4 @@ bin/
# Cache # Cache
*.swp *.swp
*.swo
+1 -1
View File
@@ -3,8 +3,8 @@ package main
import ( import (
"os" "os"
"frp/pkg/utils/log"
"frp/pkg/utils/conn" "frp/pkg/utils/conn"
"frp/pkg/utils/log"
) )
func main() { func main() {
-1
View File
@@ -21,7 +21,6 @@ type ClientCtlRes struct {
GeneralRes GeneralRes
} }
type ServerCtlReq struct { type ServerCtlReq struct {
Type int64 `json:"type"` Type int64 `json:"type"`
} }
+1
View File
@@ -89,6 +89,7 @@ func (p *ProxyServer) Start() (err error) {
p.UserConnList.Remove(element) p.UserConnList.Remove(element)
} else { } else {
cliConn.Close() cliConn.Close()
p.Unlock()
continue continue
} }
p.Unlock() p.Unlock()