()
| 172 | } |
| 173 | |
| 174 | func (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 | |
| 184 | func (mod *HttpsProxy) Stop() error { |
| 185 | mod.State.Store("stripper", nil) |
no test coverage detected