Versions in this module Expand all Collapse all v0 v0.1.0 Mar 8, 2026 v0.0.1 Feb 4, 2026 Changes in this version + var ErrNotFound = errors.New("subscription not found") + func Module() fx.Option + type Service struct + func NewService(subscriptions *repository, logger *zap.Logger) *Service + func (s *Service) DeleteByUUID(ctx context.Context, uuid string) error + func (s *Service) GetByUUID(ctx context.Context, uuid string) (*Subscription, error) + func (s *Service) Replace(ctx context.Context, draft SubscriptionIn) (*Subscription, error) + func (s *Service) SelectByEvent(ctx context.Context, event string) ([]Subscription, error) + func (s *Service) SelectByUUID(ctx context.Context, uuid ...string) ([]Subscription, error) + type Subscription struct + CreatedAt time.Time + Events []string + Secret string + URL string + UUID string + UpdatedAt time.Time + type SubscriptionIn struct + Events []string + Secret string + URL string + UUID string