MCPcopy
hub / github.com/bettercap/bettercap / Start

Method Start

modules/https_proxy/https_proxy.go:174–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172}
173
174func (mod *HttpsProxy) Start() error {
175 if err := mod.Configure(); err != nil {
176 return err
177 }
178
179 return mod.SetRunning(true, func() {
180 mod.proxy.Start()
181 })
182}
183
184func (mod *HttpsProxy) Stop() error {
185 mod.State.Store("stripper", nil)

Callers 1

NewHttpsProxyFunction · 0.95

Calls 3

ConfigureMethod · 0.95
SetRunningMethod · 0.80
StartMethod · 0.65

Tested by

no test coverage detected