summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhimportd/rhimportd.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-12-03 18:59:01 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-12-03 18:59:01 (GMT)
commitece69efd67af2982cac882b9192872c7ff6957bb (patch)
tree3b4eed7f1566516597a73818dbef332b493da145 /src/helsinki.at/rhimportd/rhimportd.go
parent96f34d1d2eb0617ce832eb60325360ed208db5e0 (diff)
moved control interface back to main package
added importer at rhimport package
Diffstat (limited to 'src/helsinki.at/rhimportd/rhimportd.go')
-rw-r--r--src/helsinki.at/rhimportd/rhimportd.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/helsinki.at/rhimportd/rhimportd.go b/src/helsinki.at/rhimportd/rhimportd.go
index a2bce7b..b73df95 100644
--- a/src/helsinki.at/rhimportd/rhimportd.go
+++ b/src/helsinki.at/rhimportd/rhimportd.go
@@ -26,15 +26,11 @@ package main
import (
"flag"
- "helsinki.at/rhimport"
- "log"
"os"
"os/signal"
"sync"
)
-var rhl = log.New(os.Stderr, "[rhimportd]\t", log.LstdFlags)
-
func main() {
addr_s := flag.String("addr", ":4000", "addr:port to listen on, default: ':4000'")
help := flag.Bool("help", false, "show usage")
@@ -51,7 +47,7 @@ func main() {
go func() {
defer wg.Done()
rhl.Println("start web-srv")
- rhimport.ServeWeb(*addr_s)
+ StartControlWeb(*addr_s)
rhl.Println("web finished")
}()