summaryrefslogtreecommitdiff
path: root/spooler.go
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-07-08 09:25:37 +0100
committerKatolaZ <katolaz@freaknet.org>2017-07-08 09:25:37 +0100
commitc63c8c8778cb497bba1b3d77e8810d2dd45d2e24 (patch)
tree677999d78ddc9db01a3d20a3e9652fae70130d61 /spooler.go
parentc3f29e8540cc135286c8a9abc33aac8df8005389 (diff)
sandpit folder + experiments with YAML commands and configs
Diffstat (limited to 'spooler.go')
-rw-r--r--spooler.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/spooler.go b/spooler.go
index c0bc8a1..05dcf1a 100644
--- a/spooler.go
+++ b/spooler.go
@@ -20,6 +20,7 @@ func parse_request(fname string) (SCORSHmsg, error) {
}
+
func spooler(watcher *fsnotify.Watcher, worker chan SCORSHmsg) {
for {
@@ -35,10 +36,8 @@ func spooler(watcher *fsnotify.Watcher, worker chan SCORSHmsg) {
case err := <-watcher.Errors:
log.Println("error:", err)
}
+
}
}
-func main(){
-
-}