diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2022-09-02 09:23:51 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2022-09-02 09:24:05 -0600 |
commit | 59286d2c7ede928cc24916abdf6c0fb9ee12b826 (patch) | |
tree | 39df5e8d9e09f3d2699d97087816920a5cd452ca /notify/notify_other.go | |
parent | 66959d9f18768beb9531d51241978731bff8a305 (diff) |
notify: Don't send ready after error (fix #5003)
Also simplify the notify package quite a bit.
Also move stop notification into better place.
Add ability to send status or error.
Diffstat (limited to 'notify/notify_other.go')
-rw-r--r-- | notify/notify_other.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/notify/notify_other.go b/notify/notify_other.go index 7fc618b..dbe9bdb 100644 --- a/notify/notify_other.go +++ b/notify/notify_other.go @@ -16,6 +16,8 @@ package notify -func notifyReadiness() error { return nil } -func notifyReloading() error { return nil } -func notifyStopping() error { return nil } +func Ready() error { return nil } +func Reloading() error { return nil } +func Stopping() error { return nil } +func Status(_ string) error { return nil } +func Error(_ error, _ int) error { return nil } |