Skip to content

Instantly share code, notes, and snippets.

@hourback
Created October 2, 2014 22:33
Show Gist options
  • Save hourback/471469e58498bc89738a to your computer and use it in GitHub Desktop.
Save hourback/471469e58498bc89738a to your computer and use it in GitHub Desktop.
2014/10/02 22:13:27 Entering PostNotification....
2014/10/02 22:13:27 &{0xc210047240 {<nil>}}
2014/10/02 22:13:27 decoder is: &{0x976c20 [] {[] 0 {<nil> false [] <nil> false 0 <nil> 0} {<nil> false [] <nil> false 0 <nil> 0} <nil
> false} {<nil> false [] <nil> false 0 <nil> 0} <nil>}
2014/10/02 22:13:27 http: panic serving 192.168.59.3:24847: EOF
goroutine 3 [running]:
net/http.func·009()
/usr/lib/go/src/pkg/net/http/server.go:1093 +0xae
runtime.panic(0x651de0, 0xc21000a030)
/usr/lib/go/src/pkg/runtime/panic.c:248 +0x106
main.PostNotification(0x7f8220d60658, 0xc21000fbe0, 0xc210037dd0)
/data/docker-ember.js/fanotification/go-net-http/server.go:90 +0x33c
main.func·001(0x7f8220d60658, 0xc21000fbe0, 0xc210037dd0)
/data/docker-ember.js/fanotification/go-net-http/server.go:64 +0x180
net/http.HandlerFunc.ServeHTTP(0xc21000a8e0, 0x7f8220d60658, 0xc21000fbe0, 0xc210037dd0)
/usr/lib/go/src/pkg/net/http/server.go:1220 +0x40
github.com/gorilla/mux.(*Router).ServeHTTP(0xc21001f410, 0x7f8220d60658, 0xc21000fbe0, 0xc210037dd0)
/data/gopath/src/github.com/gorilla/mux/mux.go:98 +0x21c
net/http.(*ServeMux).ServeHTTP(0xc21001e6c0, 0x7f8220d60658, 0xc21000fbe0, 0xc210037dd0)
/usr/lib/go/src/pkg/net/http/server.go:1496 +0x163
net/http.serverHandler.ServeHTTP(0xc21001f5f0, 0x7f8220d60658, 0xc21000fbe0, 0xc210037dd0)
/usr/lib/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc210058480)
/usr/lib/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/lib/go/src/pkg/net/http/server.go:1644 +0x28b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment