diff --git a/core/webserver/server.go b/core/webserver/server.go index 994ce3cf..05bee9ee 100644 --- a/core/webserver/server.go +++ b/core/webserver/server.go @@ -11,7 +11,7 @@ import ( "time" "github.com/gorilla/mux" - "github.com/unpoller/poller" + "github.com/unpoller/unpoller/core/poller" "golang.org/x/crypto/bcrypt" ) diff --git a/core/webserver/shared.go b/core/webserver/shared.go index 3324ec75..8cc9d212 100644 --- a/core/webserver/shared.go +++ b/core/webserver/shared.go @@ -7,7 +7,7 @@ import ( "net/http" "time" - "github.com/unpoller/poller" + "github.com/unpoller/unpoller/core/poller" ) /* This file has the methods that help the content-methods. Shared helpers. */ diff --git a/go.mod b/go.mod index 77fa8503..b3aa1d28 100644 --- a/go.mod +++ b/go.mod @@ -15,6 +15,8 @@ require ( ) require ( + github.com/gorilla/mux v1.8.0 // indirect + golang.org/x/crypto v0.3.0 // indirect golang.org/x/net v0.2.0 // indirect golang.org/x/sys v0.2.0 // indirect ) diff --git a/go.sum b/go.sum index 4d01e0e2..34c83ffe 100644 --- a/go.sum +++ b/go.sum @@ -405,6 +405,8 @@ golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e h1:gsTQYXdTw2Gq7RBsWvlQ91 golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.3.0 h1:a06MkbcxBrEFc0w0QIZWXrH/9cCX6KJyWbBOIwAn+7A= +golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= diff --git a/integrations/influxunifi/influxdb.go b/integrations/influxunifi/influxdb.go index 89223f1b..65e9066c 100644 --- a/integrations/influxunifi/influxdb.go +++ b/integrations/influxunifi/influxdb.go @@ -14,7 +14,7 @@ import ( influx "github.com/influxdata/influxdb1-client/v2" "github.com/unpoller/unpoller/core/poller" "github.com/unpoller/unpoller/core/unifi" - "github.com/unpoller/webserver" + "github.com/unpoller/unpoller/core/webserver" "golift.io/cnfg" ) diff --git a/integrations/influxunifi/logger.go b/integrations/influxunifi/logger.go index 060ffdc1..8f76bf77 100644 --- a/integrations/influxunifi/logger.go +++ b/integrations/influxunifi/logger.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/unpoller/webserver" + "github.com/unpoller/unpoller/core/webserver" ) // Logf logs a message.