claudemiro
722e0ad3e3
WIP: Cleaning the error handling...
2016-10-02 23:01:12 -03:00
claudemiro
065d6ab286
Removing unused paremeters
2016-09-29 23:30:28 -03:00
somebody
1d1ffa00b5
correcting typo in README.md: instalation ->installation ( #33 )
2016-09-27 21:00:29 -03:00
claudemiro
983f490737
Params not necessary
2016-09-01 23:43:09 -03:00
claudemiro
5c9528bce4
Reverting to slicebased memdb after checking benchmark.
2016-09-01 23:42:55 -03:00
claudemiro
8fb96f3cbf
Simpler logic
2016-09-01 23:42:18 -03:00
claudemiro
9d732fb01a
Added option to enable pprof.
2016-09-01 21:03:29 -03:00
claudemiro
0bd4fa02e9
Using method references for Mux
2016-08-22 23:20:30 -03:00
claudemiro
4a305b32a6
Removed GoJi in favor of Pressly Chi
2016-08-22 23:06:15 -03:00
Claudemiro
4c5d5302ec
Basic context implementation in webhooks.
2016-08-21 10:22:35 -03:00
Claudemiro
994e8e00f1
Show only a log message when could not read conf
2016-08-14 21:00:47 -03:00
Claudemiro
9ad14daeeb
Simplified the websockets handler code ( #30 )
...
* Simplified the websockets handler code
* created function validateAuthKey
* Using go default error interface.
2016-08-13 12:25:38 -03:00
claudemiro
0ac6c7a55c
Started working on v1.3.0
2016-08-11 22:00:19 -03:00
claudemiro
015cbdf07a
Release 1.2.0
v1.2.0
2016-08-11 21:13:44 -03:00
claudemiro
431a19fe7b
Updated go report card badge
2016-08-11 21:10:40 -03:00
Claudemiro
6225d8006f
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
2016-08-11 21:06:05 -03:00
Zoltan
7a4568e92d
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
2016-08-11 20:57:51 -03:00
claudemiro
6e46bcb2aa
Moved location of mockSocket
2016-08-10 20:26:27 -03:00
claudemiro
0c599ea5fb
Type definition is not necessary
2016-08-10 20:26:13 -03:00
Claudemiro
46ebd1b62b
Merge pull request #26 from tssajo/tssajo5
...
Added *.sublime-project to .gitignore
2016-08-10 20:14:20 -03:00
tssajo
06449fdb58
Added *.sublime-project to .gitignore
2016-08-10 21:57:10 +02:00
claudemiro
6092cd85ca
using regex MatchString instead
2016-08-10 00:17:12 -03:00
claudemiro
9c49ae16d3
Renamed regex to validate the channel name
2016-08-09 23:54:06 -03:00
claudemiro
7a794c97d7
Added util method IsClientEvent
2016-08-09 23:42:44 -03:00
claudemiro
f0b3aadf74
Updated dependencies
2016-08-09 23:22:23 -03:00
Claudemiro
2eac54a0d3
Merge pull request #25 from sj26/fix-pusher-submodule
...
Fix submodule reference
2016-08-07 10:11:25 -03:00
Claudemiro
a6f44d2175
Merge pull request #24 from tssajo/tssajo4
...
Fixed a bug in ipe/websocket.go
2016-08-07 10:11:02 -03:00
Claudemiro
6c479ced3c
Merge pull request #22 from tssajo/tssajo3
...
Do not overuse defer unnecessarily
2016-08-07 10:10:18 -03:00
Claudemiro
178bbc9b8e
Merge pull request #20 from tssajo/tssajo
...
Added missing defer file.Close() to func Start
2016-08-07 10:06:59 -03:00
Samuel Cochran
9f47b4fe2b
Fix submodule reference
2016-07-29 11:15:47 +10:00
tssajo
e9db8ea35e
Fixed a bug in ipe/websocket.go (TotalConnections were growing infinitely connection was not closed when a channel listener refreshed the browser tab or simply closed the browser tab)
2016-07-23 15:20:35 +02:00
tssajo
24425a2a9a
While I love defer, I think the program is better readable and maybe even a bit faster when defer is not used when Locking/Unlocking
2016-07-20 02:15:04 +02:00
tssajo
952983a0f8
Added missing defer file.Close() to func Start
2016-07-20 02:07:39 +02:00
claudemiro
de869b3e63
Bump version
v1.1.0
2016-03-21 22:21:48 -03:00
claudemiro
abf9a980eb
Sending messages without a goroutine
2016-03-21 20:05:30 -03:00
claudemiro
e15a8a84e2
Testing cluster option
2016-03-17 08:44:58 -03:00
claudemiro
8c54491e27
Not necessary close body at this point
2016-03-07 08:08:56 -03:00
claudemiro
03483592fc
Testing util functions
2016-03-07 08:02:37 -03:00
claudemiro
edabc10008
Closing request body in webhook call
2016-03-06 23:30:35 -03:00
Claudemiro
bfa96ebbfb
Merge pull request #15 from dimiro1/remove-global-config
...
Remove global config and a lot of fixes
2016-03-06 20:35:08 -03:00
claudemiro
5ce17c8856
Code cleanup
2016-03-06 20:21:04 -03:00
claudemiro
e71294de18
Standardized error messages
2016-03-06 18:12:03 -03:00
claudemiro
a7c5813501
Testing http handlers
2016-03-06 17:53:51 -03:00
claudemiro
383c02de1c
Added params as a parameter for each handler.
2016-03-06 16:09:21 -03:00
claudemiro
1bae7f13ad
Internal refactoring. Removing the global config.
2016-03-06 15:34:12 -03:00
claudemiro
f07549fb6a
Changed syntax to javascript to fix the README
2016-03-06 00:18:18 -03:00
claudemiro
c272361861
Added comments in config example section in README
2016-03-06 00:17:19 -03:00
claudemiro
9dfc8c9cc0
Ignoring vscode files
2016-03-05 16:59:17 -03:00
claudemiro
6c55af2b5c
Adding README and LICENSE to distribution
1.0.0
2016-03-05 09:43:02 -03:00
claudemiro
679ff1e589
Adding the version in the generated binary
2016-03-05 09:30:36 -03:00