subscription

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Overview

Package subscription owns subscriptions.yaml

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(st store.Disk, logger *log.Logger) *Service

func (*Service) Add

func (s *Service) Add(rawURL string) (rpc.Sub, error)

func (*Service) List

func (s *Service) List() ([]rpc.Sub, error)

func (*Service) MoveSub

func (s *Service) MoveSub(id string, dir int) error

func (*Service) Refresh

func (s *Service) Refresh(id string) (rpc.Sub, error)

func (*Service) RefreshAll

func (s *Service) RefreshAll() ([]rpc.Sub, error)

func (*Service) Remove

func (s *Service) Remove(id string) (store.Subscription, error)

Remove deletes a subscription and returns it

Jump to

Keyboard shortcuts

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