|
@@ -12,8 +12,6 @@ import (
|
|
|
|
|
|
|
|
"v2ray.com/core"
|
|
"v2ray.com/core"
|
|
|
"v2ray.com/core/common/log"
|
|
"v2ray.com/core/common/log"
|
|
|
- //"net/http"
|
|
|
|
|
- //_ "net/http/pprof"
|
|
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
var (
|
|
@@ -96,10 +94,6 @@ func main() {
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- //go func() {
|
|
|
|
|
- // http.ListenAndServe(":6060", nil)
|
|
|
|
|
- //}()
|
|
|
|
|
-
|
|
|
|
|
if point := startV2Ray(); point != nil {
|
|
if point := startV2Ray(); point != nil {
|
|
|
osSignals := make(chan os.Signal, 1)
|
|
osSignals := make(chan os.Signal, 1)
|
|
|
signal.Notify(osSignals, os.Interrupt, os.Kill, syscall.SIGTERM)
|
|
signal.Notify(osSignals, os.Interrupt, os.Kill, syscall.SIGTERM)
|