Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
Notifier is internal message notifier
func New ¶
func New(cfg *profile.MessageConfig, tmpl *template.Template, client *ent.Client, rdb redis.UniversalClient, fn notify.CustomerConfigFunc[profile.MessageConfig]) (*Notifier, error)
func (*Notifier) CustomConfig ¶
CustomConfig returns a custom config for the notifier.
func (*Notifier) Notify ¶
Notify implements the Notifier interface.
Notice: the caller must ensure that the tenant id and user id are valid.
func (*Notifier) SendResolved ¶
Click to show internal directories.
Click to hide internal directories.