summaryrefslogtreecommitdiff
path: root/scorsh.go
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-07-11 14:38:55 +0100
committerKatolaZ <katolaz@freaknet.org>2017-07-11 14:38:55 +0100
commit32b09256150d139e77d04533f28d0c26a32b12bd (patch)
tree9d5aff595a1af5afee566b433d0466416d4f6691 /scorsh.go
parent3b752dc02e8ac2048c3dc6efa37145c679502c84 (diff)
added notes.txt on the architecture, and a sample worker_config
Diffstat (limited to 'scorsh.go')
-rw-r--r--scorsh.go11
1 files changed, 5 insertions, 6 deletions
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)
}