diff --git a/gateway/airkaz/airkaz.go b/gateway/airkaz/airkaz.go index d79eb63..b6afcf1 100644 --- a/gateway/airkaz/airkaz.go +++ b/gateway/airkaz/airkaz.go @@ -3,43 +3,19 @@ package airkaz import ( "encoding/json" "github.com/hg/airmon/influx" + "github.com/hg/airmon/net" + "github.com/hg/airmon/tm" influxdb2 "github.com/influxdata/influxdb-client-go/v2" "github.com/pkg/errors" "io/ioutil" "log" "net/http" "regexp" - "strings" "time" ) var dataRe = regexp.MustCompile(`(?si).*sensors_data\s*=\s*(\[.+])