From 32b09256150d139e77d04533f28d0c26a32b12bd Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Tue, 11 Jul 2017 14:38:55 +0100 Subject: added notes.txt on the architecture, and a sample worker_config --- scorsh.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'scorsh.go') diff --git a/scorsh.go b/scorsh.go index 08fc962..07745b3 100644 --- a/scorsh.go +++ b/scorsh.go @@ -14,11 +14,6 @@ const ( SCORSH_ERR_SIGNATURE ) -type SCORSHconf struct { - spool string -} - - type SCORSHmsg struct { repo string @@ -60,8 +55,12 @@ func main() { flag.Parse() - cfg := ReadConfig(*conf_file) + cfg := ReadGlobalConfig(*conf_file) + msg, status := StartWorkers(cfg) + + + log.Printf("%s\n", cfg) } -- cgit v1.2.3