Commit graph

18 commits

Author SHA1 Message Date
Alexander Kiryukhin
c691d42239
v0.4.3
Added:
- Hooks for lifecycle events
Fixed:
- Close errors channel
- Small fixes
2019-04-04 22:56:53 +03:00
Alexander Kiryukhin
04db7b6339 Linter fix 2019-04-04 12:02:49 +03:00
Alexander Kiryukhin
08cbc9b6c0 Changed:
- Refactored errors chan

Fixed:
- Small fixes
2019-04-04 11:54:24 +03:00
Alexander Kiryukhin
c86dd5f3d7
Fixed:
- ListenOsSignal handler now not in waitgroup. Before if all routines exited by itself (with DoNothingIfDone or DoNothingIfFail policies) waitgroup waits OS listener to complete
2019-04-04 10:15:18 +03:00
Alexander Kiryukhin
73b65fc197
Update go.mod 2019-04-03 23:56:00 +03:00
Alexander Kiryukhin
05212e50c9
Added:
- Mixin with errors channel
Changed:
- Default run policy now `ShutdownIfDone` && `ShutdownIfFail`
Fixed:
- Fixed OS signals listener
- Removed some dead code
2019-04-03 23:55:11 +03:00
Alexander Kiryukhin
1772990500 Options to listen different signals 2019-04-01 11:38:03 +03:00
Alexander Kiryukhin
da95ae7f82
Update go.mod 2019-03-30 19:55:23 +03:00
Alexander Kiryukhin
febbed80e6 Fix modeules 2019-03-27 12:22:36 +03:00
Alexander Kiryukhin
d4c697cf3a
Update README.md 2019-03-27 02:47:49 +03:00
Alexander Kiryukhin
d45d913c9e
Flexible run policies
Options refactoring
2019-03-27 02:44:38 +03:00
Alexander Kiryukhin
11a32ca219
Remove context from constructor 2019-01-17 07:57:51 +03:00
Alexander Kiryukhin
c5776ba6a3
Many changes 2019-01-17 07:54:39 +03:00
Alexander Kiryukhin
d64ca3bd06 Fix cancel context on signal 2019-01-11 17:28:36 +03:00
Alexander Kiryukhin
35314abd14 Remove unessesary requirements 2019-01-11 17:24:00 +03:00
Alexander Kiryukhin
a4e62510cf Added OS signals handler
Added go.mod
2019-01-11 17:22:06 +03:00
Alexander Kiryukhin
c582001e89
Initial commit 2018-12-05 00:48:33 +03:00
Alexander Kiryukhin
381df5413c
Initial commit 2018-12-04 10:55:35 +03:00