mirror of
https://github.com/nshttpd/mikrotik-exporter.git
synced 2024-11-24 11:37:04 +01:00
5cccba9e17
setup for go modules and remove vendor directory.
15 lines
257 B
Go
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
|
|
}
|