feeds

package
v0.0.0-...-1354829 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: AGPL-3.0 Imports: 5 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 interface {

	// Create stores a new feed record.
	Create(ctx context.Context, feed *Feed) (msg string, err error)

	Read(ctx context.Context, url string) (feed *Feed, err error)

	Delete(ctx context.Context, url, groupId, userId string) (err error)

	ListUrls(ctx context.Context, filter *Filter, limit uint32, cursor string, order model.Order) (page []string, err error)
}

func NewService

func NewService(client ServiceClient) Service

func NewServiceLogging

func NewServiceLogging(svc Service, log *slog.Logger) Service

Jump to

Keyboard shortcuts

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