Interceptor is an interface that defines self-registering MITM-style handlers for interacting with requests send to the go proxy from the legacy CLI. Add a new interceptor by implementing the Interceptor interface and adding it to the GetRegisteredInterceptors function.
| 9 | // Add a new interceptor by implementing the Interceptor interface and adding it to |
| 10 | // the GetRegisteredInterceptors function. |
| 11 | type Interceptor interface { |
| 12 | GetHandler() goproxy.FuncReqHandler |
| 13 | GetCondition() goproxy.ReqCondition |
| 14 | } |
no outgoing calls
no test coverage detected