diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-06-29 01:19:21 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-06-29 01:19:21 +0300 |
commit | 01eeeaf5e136928abe75f95d58f3f9cce11c6fe6 (patch) | |
tree | 700f9a5106a51ce1f8b35475c84a7bafac162313 /options.go | |
parent | 741cf397a9150a8f76b8f74289b1dde8aaa43d02 (diff) |
Release.v1.0.0
Auto listen OS signal (with mixin)
Policies: ...Fail -> ...Error
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -4,10 +4,10 @@ package rutina type Options int const ( - ShutdownIfFail Options = iota // Shutdown all routines if fail - RestartIfFail // Restart this routine if fail - DoNothingIfFail // Do nothing on fail - ShutdownIfDone // Shutdown all routines if this routine done without errors - RestartIfDone // Restart if this routine done without errors - DoNothingIfDone // Do nothing if this routine done without errors + ShutdownIfError Options = iota // Shutdown all routines if fail + RestartIfError // Restart this routine if fail + DoNothingIfError // Do nothing on fail + ShutdownIfDone // Shutdown all routines if this routine done without errors + RestartIfDone // Restart if this routine done without errors + DoNothingIfDone // Do nothing if this routine done without errors ) |