add pprof
This commit is contained in:
parent
0cd47265df
commit
60e184d8da
BIN
APIServer.exe
BIN
APIServer.exe
Binary file not shown.
@ -10,6 +10,7 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
_ "net/http/pprof"
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Settings:
|
Settings:
|
||||||
ListenPort: 9000
|
ListenPort: 9000
|
||||||
HookScript: APIHOOK
|
HookScript: APIHOOK
|
||||||
# AddrMode: 0=IP Address; 1=Hostname
|
# HostMode: 0=IP Address; 1=Hostname
|
||||||
AddrMode: 1
|
HostMode: 1
|
||||||
ParamCheck: false
|
ParamCheck: false
|
||||||
LogRequest: true
|
LogRequest: true
|
||||||
LogResponse: false
|
LogResponse: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user