Versions in this module Expand all Collapse all v0 v0.1.0 Jun 22, 2026 Changes in this version + func RegisterChannel(name string, f func(*togo.Kernel) Channel) + type BroadcastNotification interface + ToBroadcast func(Notifiable) (event string, data any) + type Channel interface + Send func(ctx context.Context, to Notifiable, n Notification) error + type DatabaseNotification interface + ToDatabase func(Notifiable) map[string]any + type MailNotification interface + ToMail func(Notifiable) mail.Message + type Notifiable interface + RouteEmail func() string + RouteID func() string + RoutePushTokens func() []string + type Notification interface + Via func(Notifiable) []string + type PushMessage struct + Body string + Data map[string]string + Title string + type PushNotification interface + ToPush func(Notifiable) PushMessage + type Service struct + func FromKernel(k *togo.Kernel) (*Service, bool) + func (s *Service) Send(ctx context.Context, to Notifiable, n Notification) error