subscription

package
v1.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, logger *log.Logger) *Service

func (*Service) PrepareAdd added in v1.2.0

func (s *Service) PrepareAdd(ctx context.Context, rawURL string) (store.Subscription, error)

func (*Service) Refresh

func (s *Service) Refresh(ctx context.Context, sub store.Subscription) (store.Subscription, error)

func (*Service) RefreshAll

func (s *Service) RefreshAll(ctx context.Context, subs []store.Subscription, refresh func(context.Context, store.Subscription) (store.Subscription, error), onUpdated func(store.Subscription)) ([]store.Subscription, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL