mikrotik-exporter/collector/collector_context.go
Steve Brunton 5cccba9e17
switch to go modules (#58)
setup for go modules and remove vendor directory.
2019-11-16 00:05:31 -05:00

15 lines
257 B
Go

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
}