Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/bettercap/bettercap
/ Stop
Method
Stop
modules/http_proxy/http_proxy.go:141–146 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
139
}
140
141
func
(mod *HttpProxy) Stop() error {
142
mod.State.Store(
"stripper"
, nil)
143
return
mod.SetRunning(false,
func
() {
144
mod.proxy.Stop()
145
})
146
}
Callers
3
NewHttpProxy
Function · 0.95
TestHttpProxyStartStop
Function · 0.95
TestHttpProxyAlreadyStarted
Function · 0.95
Calls
2
SetRunning
Method · 0.80
Stop
Method · 0.65
Tested by
2
TestHttpProxyStartStop
Function · 0.76
TestHttpProxyAlreadyStarted
Function · 0.76