Replaces gorilla mux to goji and decied to remove vendor dependencies from git (#28)
* Replaces gorilla mux to goji Removed the applicationContext stuff. Now every handler is a struct, and each one hold its dependencies. * handler not handle * Ignoring vendor dir * Hide handlers complexity instantiation. * Websocket handler does not need common handlers * Use maps instead of for loops to search in memdb for apps (#29) * Use maps instead of for loops to search in memdb for apps; use mutexes more efficiently by immediately unlocking when lock is no longer needed, not just at the end of the function via defer * Fixed assignment to entry in nil map * Minor impovements in source code * Replaces gorilla mux to goji Removed the applicationContext stuff. Now every handler is a struct, and each one hold its dependencies. * handler not handle * Ignoring vendor dir * Hide handlers complexity instantiation. * Websocket handler does not need common handlers * renamed IdMutex to IDMutex to follow go convention
This commit is contained in:
+6
-1
@@ -1,6 +1,11 @@
|
||||
package: github.com/dimiro1/ipe
|
||||
import:
|
||||
- package: github.com/golang/glog
|
||||
- package: github.com/gorilla/mux
|
||||
- package: github.com/gorilla/websocket
|
||||
- package: github.com/pusher/pusher-http-go
|
||||
- package: goji.io
|
||||
subpackages:
|
||||
- pat
|
||||
- package: golang.org/x/net
|
||||
subpackages:
|
||||
- context
|
||||
|
||||
Reference in New Issue
Block a user