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
View File
@@ -8,6 +8,7 @@ import (
// Metrics contains metrics exposed by this package.
// see MetricsProvider for descriptions.
type Metrics struct {
// Size of the mempool.
Size metrics.Gauge
}