From 957ced751bea9e35fef4124fae889c60e1a1ff74 Mon Sep 17 00:00:00 2001 From: Markus Grüneis Date: Sun, 24 Aug 2014 10:41:52 +0200 Subject: create hub's project structure --- src/hub/.gitignore | 5 +++++ src/hub/README | 10 ++++++---- src/hub/src/spreadspace.org/sfive-hub/sfive-hub.go | 8 ++++++++ 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 src/hub/.gitignore create mode 100644 src/hub/src/spreadspace.org/sfive-hub/sfive-hub.go (limited to 'src/hub') 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") +} + -- cgit v1.2.3