Test code must avoid the prometheus static initialization, and can do this by creating a dummy TunnelMetrics object, provided it is public. |
||
|---|---|---|
| .. | ||
| backoffhandler.go | ||
| backoffhandler_test.go | ||
| discovery.go | ||
| discovery_test.go | ||
| metrics.go | ||
| metrics_test.go | ||
| supervisor.go | ||
| tunnel.go | ||