move metrics constructors to a separate package

This commit is contained in:
Anton Kaliaev
2018-06-19 11:27:58 +04:00
parent 829342a82d
commit e4bb3566a0
5 changed files with 126 additions and 90 deletions

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
}