MCPcopy
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
141func (mod *HttpProxy) Stop() error {
142 mod.State.Store("stripper", nil)
143 return mod.SetRunning(false, func() {
144 mod.proxy.Stop()
145 })
146}

Callers 3

NewHttpProxyFunction · 0.95
TestHttpProxyStartStopFunction · 0.95

Calls 2

SetRunningMethod · 0.80
StopMethod · 0.65

Tested by 2

TestHttpProxyStartStopFunction · 0.76