biz

package
v0.0.0-...-2004213 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: MIT Imports: 5 Imported by: 0

README

Biz

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is biz providers.

Functions

This section is empty.

Types

type AmSpider

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

func NewAmSpider

func NewAmSpider(repo AnimeSpiderRepo, spider spider.SpiderInterface, logger log.Logger) *AmSpider
func (a *AmSpider) CrawlLink(ctx context.Context) ([]*dto.AnimeMagnet, error)

type AnimeSpiderRepo

type AnimeSpiderRepo interface {
	GetWebContent(ctx context.Context) (string, error)
	SaveAnimeMagnets(ctx context.Context, animeMagets []*dto.AnimeMagnet) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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