parser

package
v0.0.0-...-48ec3de Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2024 License: MIT Imports: 9 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 {
	// contains filtered or unexported fields
}

Parser handles the logic for parsing HTML data.

func NewParser

func NewParser(cfg *config.ParserConfig, userRepo repository.UserRepository, unitRepo repository.UnitRepository, subscriptionRepo repository.SubscriptionRepository) *Parser

NewParser creates a new Parser instance.

func (*Parser) Start

func (p *Parser) Start(ctx context.Context) error

Start initiates the parsing process and runs it in a loop.

Jump to

Keyboard shortcuts

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