Rename package to respond-collector
This commit is contained in:
parent
76e5e27f34
commit
9e863ca336
2
.gitignore
vendored
2
.gitignore
vendored
@ -22,6 +22,6 @@ _testmain.go
|
||||
*.exe
|
||||
*.test
|
||||
*.prof
|
||||
RespondCollector
|
||||
respond-collector
|
||||
webroot/
|
||||
config.yml
|
||||
|
@ -1,13 +1,13 @@
|
||||
# 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))
|
||||
* Storing statistics in [InfluxDB](https://influxdata.com/) to be analyzed by [Grafana](http://grafana.org/)
|
||||
* Provide information via Websocket- and JSON-APIs
|
||||
|
||||
## Usage
|
||||
```
|
||||
Usage of ./RespondCollector:
|
||||
Usage of ./respond-collector:
|
||||
-config path/to/config.yml
|
||||
```
|
||||
|
||||
|
8
main.go
8
main.go
@ -10,10 +10,10 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/FreifunkBremen/RespondCollector/data"
|
||||
"github.com/FreifunkBremen/RespondCollector/models"
|
||||
"github.com/FreifunkBremen/RespondCollector/respond"
|
||||
"github.com/FreifunkBremen/RespondCollector/websocketserver"
|
||||
"github.com/FreifunkBremen/respond-collector/data"
|
||||
"github.com/FreifunkBremen/respond-collector/models"
|
||||
"github.com/FreifunkBremen/respond-collector/respond"
|
||||
"github.com/FreifunkBremen/respond-collector/websocketserver"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/FreifunkBremen/RespondCollector/data"
|
||||
"github.com/FreifunkBremen/respond-collector/data"
|
||||
)
|
||||
|
||||
// Node struct
|
||||
|
@ -1,7 +1,7 @@
|
||||
package respond
|
||||
|
||||
import (
|
||||
"github.com/FreifunkBremen/RespondCollector/data"
|
||||
"github.com/FreifunkBremen/respond-collector/data"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/FreifunkBremen/respond-collector/data"
|
||||
"github.com/influxdata/influxdb/client/v2"
|
||||
"github.com/FreifunkBremen/RespondCollector/data"
|
||||
)
|
||||
|
||||
const (
|
||||
|
Loading…
Reference in New Issue
Block a user