crawler

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EmptyBytes error = errors.New("array of bytes is empty")
)

Functions

This section is empty.

Types

type Crawler

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

func New

func New(ctx context.Context, dbEndpoint string, dbPath string, port int, resetDB bool) (*Crawler, error)

func (*Crawler) ID

func (c *Crawler) ID() string

func (*Crawler) Run

func (c *Crawler) Run(duration time.Duration) error

Jump to

Keyboard shortcuts

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