MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / stopServer

Method stopServer

sdk/cliproxy/pprof_server.go:127–129  ·  view source on GitHub ↗
(server *http.Server, addr string, reason string)

Source from the content-addressed store, hash-verified

125}
126
127func (p *pprofServer) stopServer(server *http.Server, addr string, reason string) {
128 _ = p.stopServerWithContext(context.Background(), server, addr, reason)
129}
130
131func (p *pprofServer) stopServerWithContext(ctx context.Context, server *http.Server, addr string, reason string) error {
132 if server == nil {

Callers 1

ApplyMethod · 0.95

Calls 1

stopServerWithContextMethod · 0.95

Tested by

no test coverage detected