This repository has been archived by the owner on Apr 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
76 changed files
with
154 additions
and
11,925 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,3 +159,5 @@ config.json | |
build | ||
.vscode/* | ||
debug | ||
|
||
vendor/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.