From 002eb4bb1981558fa5e614aed22d322f0f45d7ea Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Fri, 13 Nov 2020 13:42:40 +0300 Subject: Move all interfaces to the separate folder [RPC, METRICS, LOGGER] RPC for the metrics update to the working state RCP interface renamed to the RPCer --- interfaces/metrics/interface.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 interfaces/metrics/interface.go (limited to 'interfaces/metrics/interface.go') diff --git a/interfaces/metrics/interface.go b/interfaces/metrics/interface.go new file mode 100644 index 00000000..8207fb51 --- /dev/null +++ b/interfaces/metrics/interface.go @@ -0,0 +1,9 @@ +package metrics + +import ( + "github.com/prometheus/client_golang/prometheus" +) + +type StatProvider interface { + MetricsCollector() prometheus.Collector +} -- cgit v1.2.3