initial commit

This commit is contained in:
2025-10-17 09:29:37 +03:00
parent d71905255a
commit 4d0759c479
23 changed files with 2250 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package collector
import (
"gitea.sinav-lab.com/sinav/keenetic-exporter-v2/internal/device"
"github.com/prometheus/client_golang/prometheus"
)
type Collector interface {
Name() string
Collect(dev *device.Device, ch chan<- prometheus.Metric) error
Describe(ch chan<- *prometheus.Desc)
}