Move library.
This commit is contained in:
parent
a18642b0df
commit
2f42205e51
|
|
@ -85,7 +85,7 @@ means, if you wanted to do something like make telegraf collect your data instea
|
||||||
of UniFi Poller you can achieve that with a little bit of Go code. You could write
|
of UniFi Poller you can achieve that with a little bit of Go code. You could write
|
||||||
a small app that acts as a telegraf input plugin using the [unifi](https://github.com/golift/unifi)
|
a small app that acts as a telegraf input plugin using the [unifi](https://github.com/golift/unifi)
|
||||||
library to grab the data from your controller. As a bonus, all of the code in UniFi Poller is
|
library to grab the data from your controller. As a bonus, all of the code in UniFi Poller is
|
||||||
[also a library](https://godoc.org/github.com/davidnewhall/unifi-poller/pkg/unifi-poller)
|
[also a library](https://godoc.org/github.com/davidnewhall/unifi-poller/unifipoller)
|
||||||
and can be used in other projects.
|
and can be used in other projects.
|
||||||
|
|
||||||
# What now...
|
# What now...
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package main
|
||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
unifipoller "github.com/davidnewhall/unifi-poller/pkg/unifi-poller"
|
"github.com/davidnewhall/unifi-poller/pkg/unifipoller"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Keep it simple.
|
// Keep it simple.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue