Documentation
¶
Index ¶
Constants ¶
View Source
const ( StreamName = "NOTIFI" BaseSubject events.Subject = "notifi" // User notifications topic UserTopic events.Topic = "user" // Job event topic JobTopic events.Topic = "job" // Job Grade event topic JobGradeTopic events.Topic = "job_grade" // System event topic SystemTopic events.Topic = "sys" // Mailer event topic MailerTopic events.Topic = "mailer" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type INotifi ¶
type INotifi interface {
NotifyUser(ctx context.Context, not *notifications.Notification) error
}
type Notifi ¶
type Notifi struct {
// contains filtered or unexported fields
}
func (*Notifi) NotifyUser ¶
func (n *Notifi) NotifyUser(ctx context.Context, not *notifications.Notification) error
Click to show internal directories.
Click to hide internal directories.