unos/watchdog-go/watchdog/metrics_collector.go

9 lines
120 B
Go

package watchdog
import "time"
type MetricsCollector interface {
Collect() (*Metric, error)
Timer() time.Duration
}