* 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
* 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
* Panic is betten than using channels in this case
* Changed the names to a more recognized names
* Improved the README with a full config file example
I am removing the expvar handler, this is uncessary to me. I was using
the goji/httpauth package to authenticate this handler, so, I am
removing the dependency too.
Golang community are discuting a vendor aproach to go dependencies. This
change will come as experimental in go 1.5. For now I am removing the
godep dependency manager and using a vendor aproach.
I still have to use the full path when importing dependencies, but when
go1.5 released I just have to rename the imports and use a -vendor
prefix when building the project.