More docs
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2021-02-07 21:39:14 +01:00
parent 45c7bc7946
commit 0a05a5e734
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ type Notification interface {
Both functions return the formatted messages for mail and database.
A notification will only be sent or recorded for those of the two methods which don't return `nil`.
For example, if your notification should not be recorded in the database but only sent out per mail, it is enough to let the `ToDB` function return `nil`.
### Mail notifications
A list of chainable functions is available to compose a mail: