move metrics constructors to a separate package

This commit is contained in:
Anton Kaliaev
2018-06-20 12:40:25 +04:00
parent 829342a82d
commit e4bb3566a0
5 changed files with 126 additions and 90 deletions
+1 -1
View File
@@ -6,8 +6,8 @@ import (
)
// Metrics contains metrics exposed by this package.
// see MetricsProvider for descriptions.
type Metrics struct {
// Number of peers.
Peers metrics.Gauge
}