Versions in this module Expand all Collapse all v0 v0.3.0 Apr 17, 2026 v0.2.0 Apr 16, 2026 v0.1.0 Apr 14, 2026 Changes in this version + type DLClientTestResult struct + Duration string + Message string + Success bool + type Input struct + Category string + Directory string + Enabled bool + Host string + Kind string + Name string + Password string + Port int + Priority int + Protocol string + Settings string + UseSSL bool + Username string + type Service struct + func NewService(q db.Querier, bus *events.Bus, logger *slog.Logger) *Service + func (s *Service) Create(ctx context.Context, input Input) (*db.DownloadClient, error) + func (s *Service) Delete(ctx context.Context, id string) error + func (s *Service) Get(ctx context.Context, id string) (*db.DownloadClient, error) + func (s *Service) List(ctx context.Context) ([]db.DownloadClient, error) + func (s *Service) SetNotifier(fn ServiceNotifier) + func (s *Service) Test(ctx context.Context, kind, host string, port int, useSSL bool) DLClientTestResult + func (s *Service) Update(ctx context.Context, id string, input Input) (*db.DownloadClient, error) + type ServiceNotifier func(ctx context.Context, protocol string)