ausocean / cloud

GNU General Public License v3.0
1 stars 1 forks source link

Notify: Export kind constants #117

Closed ao-david closed 3 days ago

ao-david commented 2 weeks ago

Currently, it is up to the caller entirely what the kind in the notify.send method is. It may be beneficial to supply some standard kinds, to ensure that similar kinds are being properly grouped and filtered after consecutive attempts.

scruzin commented 3 days ago

I propose that we define and export a notify.Kind type, but leave it up to clients to use whatever kinds they want.

scruzin commented 3 days ago

notify.Kind has been implemented in Pull Request #186.

Notification clients should declare kinds as they fit.