6
0
mirror of https://git.mills.io/prologic/msgbus.git synced 2024-06-25 00:09:08 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
James Mills
c640130f11
Improve API to be more RESTful 2018-05-14 03:04:45 -07:00
James Mills
61667a8521
Fixed concurrent websocket conn access from writeLoop (#11) 2018-05-12 11:18:51 -07:00
James Mills
6ce5fb7104
Don't restrict size of messages at the websocket layer 2018-05-08 00:15:23 -07:00
James Mills
0d6386f98d
Remove unnecessary CloseHandler from client codepath 2018-05-07 16:40:32 -07:00
James Mills
fd4fec78bc
Add support for two-way ping/pong in both directions server<->client to avoid weird Docker Swarm IPVS/Overlay networking issues
See: gorilla/websocket#378
2018-05-07 16:14:12 -07:00
James Mills
1e0200788a
Add extra logging and fix a concurrency bug 2018-05-06 09:34:52 -07:00
James Mills
760e61ca91
Refactored client 2018-05-05 14:08:39 -07:00
James Mills
32f92b201f
Add support for control messages and various client improvements 2018-05-03 00:57:52 -07:00
James Mills
4b954ba4b4
Switched to using the github.com/gorilla/websocket library 2018-05-01 23:19:04 -07:00
James Mills
07699203ab
Add feature to msgbus sub CLI to executre commands on messages for convenient shell scriptiong 2018-04-30 23:09:12 -07:00
James Mills
95e5e36662
Fix bug connecting to secure msgbus (websocket) endpoints 2018-04-30 23:08:44 -07:00
James Mills
931120defd
Various error handling improvements 2018-04-06 01:27:25 -07:00
James Mills
fcaf76b14d
Add error handling on subscriber handler functions 2018-03-27 01:40:03 -07:00
James Mills
278edd7e71
Support handler functions for subscribers 2018-03-26 22:46:35 -07:00
James Mills
ae3e69ee98
client to separate messages in default handler for subscriptions with CRLF 2018-03-25 23:45:03 -07:00
James Mills
ded301df46
Client should output one message at a time with client.Pull() 2018-03-25 17:11:28 -07:00
James Mills
2aa716aaab
Switch logging to logrus 2018-03-25 17:03:56 -07:00
James Mills
e01ed2ab3a
Refactor url client connection 2017-08-19 22:09:36 -07:00
James Mills
8cb2806793
Refactor client reconnect and add graceful shutdown 2017-08-19 00:15:45 -07:00
James Mills
dc7243ffa9
Per topic sequences with ttl 2017-08-14 00:34:12 -07:00
James Mills
215e226f69
Simplify a lot of the code and wrap up MessageBus into a Middleware that plays with standard net/http 2017-08-09 02:54:11 -07:00
James Mills
c76ef2f61d
Client wrapper and reconnecting client
See #2
2017-08-07 01:00:35 -07:00