summaryrefslogtreecommitdiff
path: root/src/hub
diff options
context:
space:
mode:
Diffstat (limited to 'src/hub')
-rw-r--r--src/hub/.gitignore5
-rw-r--r--src/hub/README10
-rw-r--r--src/hub/src/spreadspace.org/sfive-hub/sfive-hub.go8
3 files changed, 19 insertions, 4 deletions
diff --git a/src/hub/.gitignore b/src/hub/.gitignore
new file mode 100644
index 0000000..ef448f2
--- /dev/null
+++ b/src/hub/.gitignore
@@ -0,0 +1,5 @@
+/bin
+/pkg
+*.a
+*.o
+
diff --git a/src/hub/README b/src/hub/README
index 13d1128..f69f1cc 100644
--- a/src/hub/README
+++ b/src/hub/README
@@ -1,11 +1,13 @@
-Hub
-===
+sfive-hub
+=========
-A service providing data collection, processing, persistence, filtering and retrieval.
+A service providing data aggregation, processing, persistence, filtering and retrieval.
It accepts data via unix domain sockets and REST API, either stores it persistently in
a SQL database or caches it in-memory and queried for data through a REST API.
Unix domain sockets accept data in the same format as the REST API but are stateful
-and use the information provided from the init message as specified in doc/protocol.md
+and use the information provided from the init message as specified in [sfive-protocol][].
+
+[sfive-protocol]: git.spreadspace.org/sfive/doc/protocol.md
diff --git a/src/hub/src/spreadspace.org/sfive-hub/sfive-hub.go b/src/hub/src/spreadspace.org/sfive-hub/sfive-hub.go
new file mode 100644
index 0000000..57ddeaf
--- /dev/null
+++ b/src/hub/src/spreadspace.org/sfive-hub/sfive-hub.go
@@ -0,0 +1,8 @@
+package main
+
+import "fmt"
+
+func main() {
+ fmt.Printf("Hello, world.\n")
+}
+