crawler

package
v0.0.0-...-5b4c5eb Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ByRating scrapingOrder = iota + 1
	ByNew
)

Variables

This section is empty.

Functions

func NewScrapingTeacherIDLoader

func NewScrapingTeacherIDLoader(order scrapingOrder, httpClient *http.Client) *scrapingTeacherIDLoader

Types

type TeacherIDLoader

type TeacherIDLoader interface {
	Load(cursor string) ([]uint32, string, error)
	GetInitialCursor() string
}

func NewFollowedTeacherIDLoader

func NewFollowedTeacherIDLoader(db *gorm.DB) TeacherIDLoader

func NewSpecificTeacherIDLoader

func NewSpecificTeacherIDLoader(idString string) TeacherIDLoader

Jump to

Keyboard shortcuts

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