go-tigertonic icon indicating copy to clipboard operation
go-tigertonic copied to clipboard

Allows compilation and use in AppEngine

Open mvitorino opened this issue 11 years ago • 1 comments
trafficstars

Please consider including this to allow compilation and use in AppEngine where the net/http package is missing a number of things in use in this file. In AppEngine we can't start an http server anyway so this file is useless there.

/home/miguel/workspace/go-path/src/github.com/mvitorino/go-tigertonic/server.go:42: s.ConnState undefined (type *Server has no field or method ConnState) /home/miguel/workspace/go-path/src/github.com/mvitorino/go-tigertonic/server.go:42: undefined: http.ConnState /home/miguel/workspace/go-path/src/github.com/mvitorino/go-tigertonic/server.go:44: undefined: http.StateNew /home/miguel/workspace/go-path/src/github.com/mvitorino/go-tigertonic/server.go:46: undefined: http.StateActive /home/miguel/workspace/go-path/src/github.com/mvitorino/go-tigertonic/server.go:50: undefined: http.StateIdle /home/miguel/workspace/go-path/src/github.com/mvitorino/go-tigertonic/server.go:60: undefined: http.StateHijacked /home/miguel/workspace/go-path/src/github.com/mvitorino/go-tigertonic/server.go:60: undefined: http.StateClosed /home/miguel/workspace/go-path/src/github.com/mvitorino/go-tigertonic/server.go:111: s.SetKeepAlivesEnabled undefined (type *Server has no field or method SetKeepAlivesEnabled)

mvitorino avatar Oct 15 '14 16:10 mvitorino

This pull request is broken: It changes one of the imports to your namespace. Please fix it.

rcrowley avatar Nov 08 '14 14:11 rcrowley