parser

package
v0.0.0-...-c7f97ed Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	Link        link.Link
	Delay       time.Duration
	RandomDelay time.Duration
}

func NewParser

func NewParser(cfg config.Parser, delay time.Duration, randomDelay time.Duration) *Parser

NewParser creates a new Parser with the given URL, delay, and randomDelay.

func (*Parser) Run

func (p *Parser) Run(ch chan feed.Entry, fp *gofeed.Parser, wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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