Versions in this module Expand all Collapse all v0 v0.13.0 Nov 21, 2026 Changes in this version + var ErrNotFound = errors.New("notification not found") + func EventToNotification(eventType string, movieID string, data map[string]any) plugin.NotificationEvent + type Config struct + CreatedAt time.Time + Enabled bool + ID string + Kind string + Name string + OnEvents []string + Settings json.RawMessage + UpdatedAt time.Time + type CreateRequest struct + Enabled bool + Kind string + Name string + OnEvents []string + Settings json.RawMessage + type Service struct + func NewService(q dbgen.Querier, reg *registry.Registry) *Service + func (s *Service) Create(ctx context.Context, req CreateRequest) (Config, error) + func (s *Service) Delete(ctx context.Context, id string) error + func (s *Service) Get(ctx context.Context, id string) (Config, error) + func (s *Service) List(ctx context.Context) ([]Config, error) + func (s *Service) Test(ctx context.Context, id string) error + func (s *Service) Update(ctx context.Context, id string, req UpdateRequest) (Config, error) + type UpdateRequest = CreateRequest