mikrotik-exporter/collector/collector_context.go

15 lines
257 B
Go
Raw Normal View History

package collector
import (
"mikrotik-exporter/config"
"github.com/prometheus/client_golang/prometheus"
routeros "gopkg.in/routeros.v2"
)
type collectorContext struct {
ch chan<- prometheus.Metric
device *config.Device
client *routeros.Client
}