Rename the library path.
This commit is contained in:
parent
430a6281b6
commit
9983e2fe8c
|
|
@ -48,6 +48,6 @@ COMMIT="$(git rev-parse --short HEAD || echo 0)"
|
|||
# Used by homebrew downloads.
|
||||
#SOURCE_PATH=https://codeload.${IMPORT_PATH}/tar.gz/v${VERSION}
|
||||
# This is a custom download path for homebrew formula.
|
||||
SOURCE_PATH=https://code.golift.io/${BINARY}/archive/v${VERSION}.tar.gz
|
||||
SOURCE_PATH=https://golift.io/${BINARY}/archive/v${VERSION}.tar.gz
|
||||
|
||||
export IMPORT_PATH SOURCE_URL URL VERSION_PATH VVERSION VERSION ITERATION DATE COMMIT SOURCE_PATH
|
||||
|
|
|
|||
|
|
@ -1,14 +1,6 @@
|
|||
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
|
||||
|
||||
|
||||
[[projects]]
|
||||
digest = "1:6a0be013a234fe00d3c080db2b887aee9cd6bc8f3f559b8b7a079150c34ba017"
|
||||
name = "code.golift.io/unifi"
|
||||
packages = ["."]
|
||||
pruneopts = "UT"
|
||||
revision = "c998e559a9b52f7e7859de86e7f69b40582d3e37"
|
||||
version = "v3.3.2"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:9f3b30d9f8e0d7040f729b82dcbc8f0dead820a133b3147ce355fc451f32d761"
|
||||
name = "github.com/BurntSushi/toml"
|
||||
|
|
@ -45,6 +37,14 @@
|
|||
revision = "298182f68c66c05229eb03ac171abe6e309ee79a"
|
||||
version = "v1.0.3"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:6a0be013a234fe00d3c080db2b887aee9cd6bc8f3f559b8b7a079150c34ba017"
|
||||
name = "golift.io/unifi"
|
||||
packages = ["."]
|
||||
pruneopts = "UT"
|
||||
revision = "c998e559a9b52f7e7859de86e7f69b40582d3e37"
|
||||
version = "v3.3.2"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:4d2e5a73dc1500038e504a8d78b986630e3626dc027bc030ba5c75da257cdb96"
|
||||
name = "gopkg.in/yaml.v2"
|
||||
|
|
@ -57,11 +57,11 @@
|
|||
analyzer-name = "dep"
|
||||
analyzer-version = 1
|
||||
input-imports = [
|
||||
"code.golift.io/unifi",
|
||||
"github.com/BurntSushi/toml",
|
||||
"github.com/influxdata/influxdb1-client/v2",
|
||||
"github.com/pkg/errors",
|
||||
"github.com/spf13/pflag",
|
||||
"golift.io/unifi",
|
||||
"gopkg.in/yaml.v2",
|
||||
]
|
||||
solver-name = "gps-cdcl"
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@
|
|||
|
||||
[](https://discord.gg/DyVsMyt)
|
||||
[](https://twitter.com/TwitchCaptain)
|
||||
[](http://grafana.com/dashboards?search=unifi-poller)
|
||||
[](http://grafana.com/dashboards?search=unifi-poller)
|
||||
[](https://hub.docker.com/r/golift/unifi-poller)
|
||||
[](https://www.somsubhra.com/github-release-stats/?username=davidnewhall&repository=unifi-poller)
|
||||
|
||||
[](https://github.com/golift/unifi)
|
||||
[](https://github.com/golift/application-builder)
|
||||
[](https://github.com/golift/unifi)
|
||||
[](https://github.com/golift/application-builder)
|
||||
[](https://github.com/davidnewhall/unifi-poller)
|
||||
[](https://travis-ci.org/davidnewhall/unifi-poller)
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ script if you needed to. It's available for macOS, Linux and Docker. It comes wi
|
|||
a systemd service unit that allows you automatically start it up on most Linux
|
||||
hosts. It works just fine on [Windows](https://github.com/davidnewhall/unifi-poller/wiki/Windows) too.
|
||||
|
||||
The unifi data extraction is provided as an [external library](https://godoc.org/github.com/golift/unifi),
|
||||
The unifi data extraction is provided as an [external library](https://godoc.org/golift.io/unifi),
|
||||
and you can import that code directly without futzing with this application. That
|
||||
means, if you wanted to do something like make telegraf collect your data instead
|
||||
of UniFi Poller you can achieve that with a little bit of Go code. You could write
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ package unifipoller
|
|||
import (
|
||||
"time"
|
||||
|
||||
"code.golift.io/unifi"
|
||||
influx "github.com/influxdata/influxdb1-client/v2"
|
||||
"github.com/spf13/pflag"
|
||||
"golift.io/unifi"
|
||||
)
|
||||
|
||||
// Version is injected by the Makefile
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ import (
|
|||
"os"
|
||||
"strings"
|
||||
|
||||
"code.golift.io/unifi"
|
||||
"github.com/pkg/errors"
|
||||
"golift.io/unifi"
|
||||
)
|
||||
|
||||
// DumpJSONPayload prints raw json from the UniFi Controller.
|
||||
|
|
|
|||
|
|
@ -10,11 +10,11 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"code.golift.io/unifi"
|
||||
"github.com/BurntSushi/toml"
|
||||
influx "github.com/influxdata/influxdb1-client/v2"
|
||||
"github.com/pkg/errors"
|
||||
flag "github.com/spf13/pflag"
|
||||
"golift.io/unifi"
|
||||
yaml "gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"code.golift.io/unifi"
|
||||
influx "github.com/influxdata/influxdb1-client/v2"
|
||||
"github.com/pkg/errors"
|
||||
"golift.io/unifi"
|
||||
)
|
||||
|
||||
// CheckSites makes sure the list of provided sites exists on the controller.
|
||||
|
|
|
|||
Loading…
Reference in New Issue