Commit Graph

17 Commits

Author SHA1 Message Date
Tevin Zhang 00eab0aefc
Add description about the maturity 2019-11-12 18:45:05 +08:00
Tevin Zhang 66cd883f5d
Fix indention of example code 2019-11-12 18:22:14 +08:00
Tevin Zhang 84aa2299dc
Add detail about the contribution of @lujjjh 2019-11-12 16:06:07 +08:00
Tevin 650050ef9b
Add special thanks to @jakubgs 2019-11-12 15:57:04 +08:00
Tevin Zhang 5cbfc67444 Add Travis CI 2019-02-13 11:05:36 +08:00
Tevin Zhang f00667a79b WaitReady() before using checker 2019-02-12 16:19:46 +08:00
Tevin Zhang a72775abcb Add special thanks 2019-02-12 15:22:22 +08:00
Tevin Zhang 7c5283d607 Refine doc 2019-02-11 18:42:46 +08:00
Tevin Zhang a89fc1fe18 Refactor
Significant changes:

1. `NewChecker()` accepts no argument, `zeroLinger` is enabled by default
2. Optional parameter `zeroLinger` in `CheckAddr()` turned into `CheckerAddrZeroLinger()`
3. `InitChecker()` -> `CheckingLoop(context)`
4. `ErrNotInitialized` -> `ErrCheckerAlreadyStarted`
5. Fewer system call calling, e.g. `connect()` is called exactly once per check
6. Epoll is now edge-triggered
2019-02-11 17:54:51 +08:00
Tevin Zhang ce742af518 Add fake implementation for non-Linux platform 2016-12-06 17:20:41 +08:00
Tevin Zhang 882b0fcc11 A lot of adjustments
1. 'shaker' renamed to 'check', should have named the repo to
tcp-checker
2. Add NewChecker() for creation
3. Add parameter zeroLinger
4. More error handling (Error from syscall.Close is returned)
2016-07-26 19:25:46 +08:00
Tevin Zhang 83dc726525 Add more doc with some renames 2016-07-22 19:37:00 +08:00
Tevin Zhang fecad2b47b Add Go Report Card 2016-06-28 18:10:56 +08:00
Tevin Zhang ecd883184f Refine package description 2016-06-02 11:08:46 +08:00
Tevin Zhang b1b6beb4d3 Add usage in README 2016-06-01 18:23:31 +08:00
Tevin Zhang 9b0c49fe5e Fix typo 2016-06-01 18:18:41 +08:00
Tevin Zhang 0c7007486a First commit 2016-06-01 13:42:41 +08:00