Commit Graph

48 Commits

Author SHA1 Message Date
Marcelo Pires
6e0272acb9 faye protocol always send and ACK for published messages.
remove OnPublishResponse and make publish a blocking function until we receive ACK from server
2018-09-24 16:48:38 +02:00
Marcelo Pires
33a61d6d27 add dispatcher
simplify transport implementation
support wildcard subscriptions
2018-09-24 16:13:57 +02:00
Marcelo Pires
8583e29645 fix some typos 2018-09-12 09:45:47 +02:00
Marcelo Pires
b5bb59476c create helper to validate channel name
add test cases
2018-09-12 09:42:45 +02:00
Marcelo Pires
17a2e4a408 add services to TODO list 2018-09-11 13:54:56 +02:00
Marcelo Pires
75a9d4f474 update TODO 2018-09-11 13:34:24 +02:00
Marcelo Pires
1c19fe5f61 Merge remote-tracking branch 'origin/master' 2018-09-11 13:30:18 +02:00
Marcelo Pires
27fdd47d29 more transport options 2018-09-11 13:30:07 +02:00
Marcelo Pires
46314f15b0
Update README.md 2018-09-11 13:26:48 +02:00
Marcelo Pires
058a28d97b
Update README.md 2018-09-11 13:24:39 +02:00
Marcelo Pires
8adb569f0f rework transport options and extensions 2018-09-11 12:09:30 +02:00
Marcelo Pires
eb4a14df7b ignore IDE folder 2018-09-07 18:32:21 +02:00
Marcelo Pires
23124a7de8 first step to handle advise 2018-09-07 18:31:52 +02:00
Marcelo Pires
0fce9349d0 turn Advise structure in idiomatic go code 2018-09-07 17:50:16 +02:00
Marcelo Pires
66218f4616 fix isEvent 2018-09-07 15:40:44 +02:00
Marcelo Pires
58a5ed8a3f allow subscription to publish to itself 2018-09-07 15:00:35 +02:00
Marcelo Pires
d8a246f014 allow multiple subscriptions to the same channel 2018-09-07 14:32:26 +02:00
Marcelo Pires
e98ccfdec8 fix process kill
fix unsubscribe error
2018-09-06 18:40:00 +02:00
Marcelo Pires
db6b6c3848 initial test suite 2018-09-06 17:59:56 +02:00
Marcelo Pires
b6e6a9cee8 more documentation 2018-09-06 16:31:05 +02:00
Marcelo Pires
31be94755f tidy up documentation 2018-09-06 16:05:02 +02:00
Marcelo Pires
44cf280252 add some documentation 2018-09-06 16:03:24 +02:00
Marcelo Pires
8e2c2327d5 remove all subscription in Disconnect
remove subscription in unsubscribe
2018-09-06 15:37:42 +02:00
Marcelo Pires
01f041d2fc support Publish event 2018-09-06 15:29:49 +02:00
Marcelo Pires
7bfdcc9f48 Merge branch 'master' of https://github.com/thesyncim/faye 2018-09-06 14:40:09 +02:00
Marcelo Pires
3c97553478
Update README.md 2018-09-06 14:39:43 +02:00
Marcelo Pires
e70f0f0b52 implement missing client methods
stop gracefully on disconnect
2018-09-06 14:28:54 +02:00
Marcelo Pires
ee24023387 handle advise 2018-09-06 13:23:53 +02:00
Marcelo Pires
eed039f351 do not expose low level message.Message to publish 2018-09-06 13:03:21 +02:00
Marcelo Pires
c8bfbbd8fd rework extensions
add log extension
implement client unsubscribe
2018-09-06 12:27:19 +02:00
Marcelo Pires
23ae14adea fix overlapped payload values 2018-09-06 11:16:36 +02:00
Marcelo Pires
f11de6960b dispatch errors in subscriptions 2018-09-05 15:45:53 +02:00
Marcelo Pires
3cf76b96df add boilerplate for message control 2018-09-05 15:23:03 +02:00
Marcelo Pires
ffa426bf69 identify control messages 2018-09-05 15:17:11 +02:00
Marcelo Pires
3586f4d799 start reader loop after connect 2018-09-05 15:06:25 +02:00
Marcelo Pires
6ae3cf9df8 use reader for incoming Messages 2018-09-05 14:56:32 +02:00
Marcelo Pires
735a044485 do not dispatch control messages 2018-09-05 11:59:20 +02:00
Marcelo Pires
42dbadb947 add debug option 2018-09-05 11:28:55 +02:00
Marcelo Pires
6eaff2fa34 auto register websocket transport 2018-09-05 11:12:19 +02:00
Marcelo Pires
d337f67881 rename package name 2018-09-05 11:05:16 +02:00
Marcelo Pires
8dd8da2307 handshake and connect in constructor 2018-09-05 11:04:10 +02:00
Marcelo Pires
554909ee53 add constructor basic options 2018-09-05 11:01:36 +02:00
Marcelo Pires
d9385e1506 add getStream extension 2018-09-05 10:56:45 +02:00
Marcelo Pires
3c187e364b implement subscribe 2018-09-05 01:56:25 +02:00
Marcelo Pires
fc09ac255e implement websocket transport connect 2018-09-05 01:22:43 +02:00
Marcelo Pires
518d141dca init transport 2018-09-05 01:04:40 +02:00
Marcelo Pires
b8d1d7dc3d initial API definition 2018-09-05 00:55:52 +02:00
Marcelo Pires
d35b9045c7
Initial commit 2018-09-04 22:18:42 +02:00