455 Commits

Author SHA1 Message Date
Asim
06ee80fd0a Strip old encoding 2016-05-22 18:34:47 +01:00
Asim Aslam
c0eac7dda8 Merge pull request #85 from micro/timeout
Add cascading timeouts
2016-05-13 15:54:01 +01:00
Asim
b6f5e15362 Fix the error returns from done and bail early if we dont have time 2016-05-12 23:56:25 +01:00
Asim
00a26677b8 Continue to return our error types 2016-05-12 23:52:29 +01:00
Asim
8c8573426c Add cascading timeouts 2016-05-12 23:32:58 +01:00
Asim
d504abb7e2 Add readme to examples 2016-05-11 22:58:59 +01:00
Asim
2254578760 We don't need sync.Once, we can just select 2016-05-11 00:01:32 +01:00
Asim
a0a4ab4c15 Don't throw fatal on EOF 2016-05-10 11:23:30 +01:00
Asim
9d629b5365 Don't return 2016-05-10 11:17:48 +01:00
Asim
aea81315d0 Change QueueName to Queue 2016-05-10 10:55:18 +01:00
Asim
0d21b08928 Run method is obsolete 2016-05-07 03:08:43 +01:00
Asim Aslam
24220fe615 Merge pull request #81 from micro/selector
Make Selector pluggable with Strategy's, Filters, etc.
2016-05-07 00:24:57 +01:00
Asim
75f2706fd0 Use ErrNoneAvailable and test blacklisting 2016-05-07 00:04:08 +01:00
Asim
63c6e82192 Strip blacklist 2016-05-06 23:18:47 +01:00
Asim
639172f755 Merge branch 'master' into selector 2016-05-06 23:16:07 +01:00
Asim
8353b7b865 Add blacklist to cache 2016-05-06 23:15:40 +01:00
Asim
77e4d4d9c4 Next phase of selector 2016-05-06 23:12:37 +01:00
Asim
07687b9595 Since we send 200 response from the Listener, we should expect 200 response from the Client 2016-05-06 15:44:32 +01:00
Asim
8b76e277bc Make it possible to call service.Init multiple times 2016-05-06 12:21:41 +01:00
Asim
ba391e228c Add default to selector list 2016-05-05 21:14:57 +01:00
Asim
6070e235eb remove comment 2016-05-05 21:13:07 +01:00
Asim
670ed74a13 Use del method 2016-05-05 21:12:59 +01:00
Asim
818d500f98 Fix compile error 2016-05-03 22:11:42 +01:00
Asim
0a4484b406 First commit in strategy rework 2016-05-03 22:06:19 +01:00
Asim
b13361d010 Add cache ttl 2016-05-03 19:26:50 +01:00
Asim
e541d45f38 When the TTL flips to critical we should issue a delete event 2016-05-03 18:34:57 +01:00
Asim
d3de45409f Simplify watcher test 2016-05-01 22:30:33 +01:00
Asim
7996785195 Try a different way of testing 2016-05-01 22:05:21 +01:00
Asim
3709831d8e Watch results may be unordered 2016-05-01 21:38:22 +01:00
Asim
50eb97129e Add watcher test 2016-05-01 21:30:14 +01:00
Asim
96104aa209 Add mdns test and fix the bug it revealed 2016-05-01 21:21:15 +01:00
Asim Aslam
a53fc54b70 Merge pull request #79 from micro/mdns
mdns: zero dependency registry using multicast dns
2016-05-01 19:49:04 +01:00
Asim
e14f9a0380 Add watcher.... OH YEAAA 2016-05-01 19:31:03 +01:00
Asim
59f1a9a07b Use mdns-sd service 2016-04-30 00:22:31 +01:00
Asim
5b94e4672d Failed to gofmt 2016-04-30 00:20:05 +01:00
Asim
ae8c948202 Use our fork of mdns with all the updates 2016-04-30 00:15:00 +01:00
Asim
67e464b34d Eliminate a data race by copying the services 2016-04-29 19:29:24 +01:00
Asim
c26f989bbb Fix encoding so we split across txt records 2016-04-28 18:36:59 +01:00
Asim
796dba3aac Fix up the http broker so it works concurrently and pubs async 2016-04-28 00:16:11 +01:00
Asim
1340e81235 Remove logging 2016-04-28 00:07:25 +01:00
Asim
6c108d95b2 First attempt at mdns 2016-04-27 18:21:05 +01:00
Asim Aslam
65a880fadd Merge pull request #78 from micro/cache
Caching Selector
2016-04-26 20:06:03 +01:00
Asim
04e0864df4 Add the link to cmd 2016-04-26 18:54:35 +01:00
Asim
1152b63c5d Merge branch 'master' into cache 2016-04-26 18:53:39 +01:00
Asim
e8b5cebb52 Remove that link 2016-04-26 18:52:17 +01:00
Asim
9d8e5d1e15 Add caching selector 2016-04-26 18:49:29 +01:00
Asim
3d3044404e Don't add to defaults in func init, just add them to cmd 2016-04-26 18:49:02 +01:00
Asim
f7c57fd4f4 Mock watcher that just blocks 2016-04-26 18:32:43 +01:00
Asim
decb70b97c Response type for Stream is an interface 2016-04-26 15:52:08 +01:00
Asim
b0bc806a57 Add sponsors 2016-04-26 12:18:18 +01:00