Rename package to respond-collector
This commit is contained in:
parent
76e5e27f34
commit
9e863ca336
|
@ -22,6 +22,6 @@ _testmain.go
|
||||||
*.exe
|
*.exe
|
||||||
*.test
|
*.test
|
||||||
*.prof
|
*.prof
|
||||||
RespondCollector
|
respond-collector
|
||||||
webroot/
|
webroot/
|
||||||
config.yml
|
config.yml
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Respond Collector
|
# Respond Collector
|
||||||
|
|
||||||
`Respond Collector` is a respond client that fetches, stores and publishes information about a Freifunk network. The goals:
|
`respond-collector` is a respond client that fetches, stores and publishes information about a Freifunk network. The goals:
|
||||||
* Generating JSON for [MeshViewer](https://github.com/ffnord/meshviewer) (Works with branch [JSONv2](https://github.com/FreifunkBremen/meshviewer/tree/JSONv2))
|
* Generating JSON for [MeshViewer](https://github.com/ffnord/meshviewer) (Works with branch [JSONv2](https://github.com/FreifunkBremen/meshviewer/tree/JSONv2))
|
||||||
* Storing statistics in [InfluxDB](https://influxdata.com/) to be analyzed by [Grafana](http://grafana.org/)
|
* Storing statistics in [InfluxDB](https://influxdata.com/) to be analyzed by [Grafana](http://grafana.org/)
|
||||||
* Provide information via Websocket- and JSON-APIs
|
* Provide information via Websocket- and JSON-APIs
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```
|
```
|
||||||
Usage of ./RespondCollector:
|
Usage of ./respond-collector:
|
||||||
-config path/to/config.yml
|
-config path/to/config.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
8
main.go
8
main.go
|
@ -10,10 +10,10 @@ import (
|
||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/FreifunkBremen/RespondCollector/data"
|
"github.com/FreifunkBremen/respond-collector/data"
|
||||||
"github.com/FreifunkBremen/RespondCollector/models"
|
"github.com/FreifunkBremen/respond-collector/models"
|
||||||
"github.com/FreifunkBremen/RespondCollector/respond"
|
"github.com/FreifunkBremen/respond-collector/respond"
|
||||||
"github.com/FreifunkBremen/RespondCollector/websocketserver"
|
"github.com/FreifunkBremen/respond-collector/websocketserver"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/FreifunkBremen/RespondCollector/data"
|
"github.com/FreifunkBremen/respond-collector/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Node struct
|
// Node struct
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package respond
|
package respond
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/FreifunkBremen/RespondCollector/data"
|
"github.com/FreifunkBremen/respond-collector/data"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/FreifunkBremen/respond-collector/data"
|
||||||
"github.com/influxdata/influxdb/client/v2"
|
"github.com/influxdata/influxdb/client/v2"
|
||||||
"github.com/FreifunkBremen/RespondCollector/data"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Reference in New Issue