From 9e863ca33638e39ce531632da853d27c018f7053 Mon Sep 17 00:00:00 2001 From: Julian Kornberger Date: Tue, 15 Mar 2016 23:26:30 +0100 Subject: [PATCH] Rename package to respond-collector --- .gitignore | 2 +- README.md | 4 ++-- main.go | 8 ++++---- models/nodes.go | 2 +- respond/multi_collector.go | 2 +- stats_db.go | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 71151f0..3133390 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,6 @@ _testmain.go *.exe *.test *.prof -RespondCollector +respond-collector webroot/ config.yml diff --git a/README.md b/README.md index e3b6a04..6edd348 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/main.go b/main.go index b80b469..9105a28 100644 --- a/main.go +++ b/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 ( diff --git a/models/nodes.go b/models/nodes.go index d8d53d9..6066c41 100644 --- a/models/nodes.go +++ b/models/nodes.go @@ -8,7 +8,7 @@ import ( "sync" "time" - "github.com/FreifunkBremen/RespondCollector/data" + "github.com/FreifunkBremen/respond-collector/data" ) // Node struct diff --git a/respond/multi_collector.go b/respond/multi_collector.go index d94443d..5bf8d63 100644 --- a/respond/multi_collector.go +++ b/respond/multi_collector.go @@ -1,7 +1,7 @@ package respond import ( - "github.com/FreifunkBremen/RespondCollector/data" + "github.com/FreifunkBremen/respond-collector/data" "time" ) diff --git a/stats_db.go b/stats_db.go index 04f7f21..df79fce 100644 --- a/stats_db.go +++ b/stats_db.go @@ -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 (