feed

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct{}

func NewGenerator added in v1.1.0

func NewGenerator() *Generator

NewGenerator creates a new Generator

func (*Generator) Generate

func (g *Generator) Generate(channel *entity.Channel, params *entity.FeedParams) ([]byte, error)

Generate creates a feed from a channel and returns it as a byte array

type Scraper

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

func NewDefaultScraper

func NewDefaultScraper() *Scraper

func (*Scraper) Scrape

func (s *Scraper) Scrape(ctx context.Context, username string) (*entity.Channel, error)

Scrape fetches channel data from Telegram

Jump to

Keyboard shortcuts

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