Commit graph

29 commits

Author SHA1 Message Date
f31b2fb74f refactor unit test 2018-11-08 19:49:29 +01:00
504af5cce6 FIX unit tests 2018-11-08 19:42:33 +01:00
f4e6370abd make tail with param ?l= (HTTP only) 2018-11-08 19:37:03 +01:00
fbc0f96647 refactor ClientOptions 2018-11-08 19:25:40 +01:00
f2b02e5ec2 Merge remote-tracking branch 'blallo/master' 2018-11-08 19:11:57 +01:00
5ae6078805
[http] Better handling of parameters and added LastMsg to Client 2018-11-08 12:39:41 +01:00
bc0e26726c some unit testing 2018-11-05 16:04:10 +01:00
4838f45f13
[http] Stricter behaviour with l= 2018-11-05 11:53:26 +01:00
89c59e5713
[http] adding first draft of server-side message number limit. 2018-11-04 23:13:27 +01:00
d380deae37 [tail] unix socket support 2018-10-25 13:59:27 +02:00
a5999adb8d add basic circolog-tail client 2018-10-25 13:59:22 +02:00
369e16d6c3 format in "/var/log/messages style" 2018-08-23 15:40:57 +02:00
5b4e85fabb readme: how to integrate in your server 2018-08-23 13:00:24 +02:00
34593d380a refactor: hub reorganized a little 2018-08-23 12:25:07 +02:00
5b7ddb62a6 drone CI 2018-08-23 02:09:04 +02:00
71763cf8b1 HTTP unix domain socket 2018-08-23 02:08:53 +02:00
8568280dd1 FIX timeout issues between channels
we introduced non-blocking writes; however, being non-blocking when the
goroutine has no buffer means that many messages will be considered
lost.
This commit change from "non blocking" to "max 500ms; first timeout
means stop it all"; it also put a little buffer on client messages.
2018-08-23 02:05:50 +02:00
bf145240c2 proper cmd directory 2018-08-23 01:21:53 +02:00
97743eaad5 Hub resists to Client failures 2018-08-23 01:14:08 +02:00
66f32d1c05 refactor: now Hub keeps everything
before this there was some hidden race condition because raceCondition
is not concurrent-safe, and there was some concurrent reading and
writing.
Now everything is handled safely by the Hub.

Client now have "options" which are understood by the Hub to handle
them differently.
2018-08-23 01:04:31 +02:00
97fd191f0e refactor: no globals
it still isn't very clean; globals are avoided with factories, too many
pieces with no clear role
2018-08-23 00:34:02 +02:00
b1b83f488e Websocket to follow logs 2018-08-22 23:51:59 +02:00
3bf88506be Merge remote-tracking branch 'blallo/master' 2018-08-22 23:44:54 +02:00
dbbbcb24a6
Clean from unused package 2018-08-22 23:10:52 +02:00
a7809eb09c
Connection parameters from command-line 2018-08-22 23:07:52 +02:00
29362baf24
Connection parameters from command-line 2018-08-22 22:13:54 +02:00
ed98e951d4 print info 2018-08-22 21:05:37 +02:00
432d46d15f small cleanup 2018-08-22 20:56:43 +02:00
3132a18164 proof of concept 2018-08-22 18:47:00 +02:00