handler

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: Apache-2.0 Imports: 17 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCrawl added in v0.24.0

func NewCrawl(st store.Store) *crawl

Types

type Crawler added in v0.24.0

type Crawler interface {
	Fetch(f *pb.Feed) error
	FetchAll()
}

type Rss

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

func NewRss

func NewRss(st store.Store, cr Crawler) *Rss

func (*Rss) Add

func (e *Rss) Add(ctx context.Context, req *pb.AddRequest, rsp *pb.AddResponse) error

func (*Rss) DeleteData added in v0.25.0

func (e *Rss) DeleteData(ctx context.Context, request *adminpb.DeleteDataRequest, response *adminpb.DeleteDataResponse) error

func (*Rss) Feed

func (e *Rss) Feed(ctx context.Context, req *pb.FeedRequest, rsp *pb.FeedResponse) error

func (*Rss) List

func (e *Rss) List(ctx context.Context, req *pb.ListRequest, rsp *pb.ListResponse) error

func (*Rss) Remove

func (e *Rss) Remove(ctx context.Context, req *pb.RemoveRequest, rsp *pb.RemoveResponse) error

func (*Rss) Usage added in v0.26.0

func (e *Rss) Usage(ctx context.Context, request *adminpb.UsageRequest, response *adminpb.UsageResponse) error

Jump to

Keyboard shortcuts

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