MetricsProvider provides bandwidth and connection metrics
| 29 | |
| 30 | // MetricsProvider provides bandwidth and connection metrics |
| 31 | type MetricsProvider interface { |
| 32 | GetAllSnapshots() []fwdmetrics.ServiceSnapshot |
| 33 | GetServiceSnapshot(key string) *fwdmetrics.ServiceSnapshot |
| 34 | GetTotals() (bytesIn, bytesOut uint64, rateIn, rateOut float64) |
| 35 | ServiceCount() int |
| 36 | PortForwardCount() int |
| 37 | } |
| 38 | |
| 39 | // ServiceController provides service lifecycle operations |
| 40 | type ServiceController interface { |
no outgoing calls
no test coverage detected