diff options
author | Markus Grüneis <gimpf@gimpf.org> | 2014-10-19 16:41:56 +0200 |
---|---|---|
committer | Markus Grüneis <gimpf@gimpf.org> | 2014-10-19 16:41:56 +0200 |
commit | 721b96afe0aea0ad39d20d9c4873ae6b5469d693 (patch) | |
tree | e4f6d586ac62d7fd869bc96c1895c0c231a1e0fb /README | |
parent | hub: change ClientData field BytesTransferred (diff) |
hub: refactor server and db initialization
* pass the paths to DB and pipe as arguments
* move the connection to sqlite DB into the constructor of the server
* return error instead of panicking when initializing DB fails
* add an Actor for appending data to the sqlite store, start it in the server constructor
* add a somewhat proper Close for the server
* split s5srv.go, extracting pipe-specific code
* make more constants etc. private
* remove unnecessary StatsContainer interface
* use an explicit s5 logger with prefix
* use an in-memory sqlite db for unit tests
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions