Documentation ¶ Index ¶ type Generator func NewGenerator() *Generator func (g *Generator) Generate(channel *entity.Channel, params *entity.FeedParams) ([]byte, error) type Scraper func NewDefaultScraper() *Scraper func (s *Scraper) Scrape(ctx context.Context, username string) (*entity.Channel, error) 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 Source Files ¶ View all Source files extract.gogenerator.gohttp.goscraper.go Click to show internal directories. Click to hide internal directories.