cosmetic: linting

This commit is contained in:
Matthias Radestock committed 2015-03-27 00:43:26 +00:00
1 parent 2d83fcc398
commit e3ef5433cf
13 files changed
+48 -53

No files matched your search

+3 -3
View File
@@ -144,11 +144,11 @@ func main() {
log.Fatal(err)
}
}
go handleHttp(router)
go handleHTTP(router)
handleSignals(router)
}
func handleHttp(router *weave.Router) {
func handleHTTP(router *weave.Router) {
encryption := "off"
if router.UsingPassword() {
encryption = "on"
@@ -178,7 +178,7 @@ func handleHttp(router *weave.Router) {
http.Handle("/", muxRouter)
address := fmt.Sprintf(":%d", weave.HttpPort)
address := fmt.Sprintf(":%d", weave.HTTPPort)
err := http.ListenAndServe(address, nil)
if err != nil {
log.Fatal("Unable to create http listener: ", err)