progress

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package progress provides progress bar display for the crawler.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Display

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

Display manages progress bar display during crawling.

func New

func New() *Display

New creates a new progress display.

func (*Display) PrintSummary

func (d *Display) PrintSummary()

PrintSummary prints a final summary after crawling.

func (*Display) Start

func (d *Display) Start(target string)

Start begins the progress display.

func (*Display) Stats

func (d *Display) Stats() (urlsDiscovered, pagesCrawled, formsFound, apiEndpoints, wsEndpoints, errors int64)

Stats returns current crawl statistics.

func (*Display) Stop

func (d *Display) Stop()

Stop stops the progress display.

func (*Display) Update

func (d *Display) Update(urlsDiscovered, pagesCrawled, formsFound, apiEndpoints, wsEndpoints, errors, queueSize int)

Update updates the progress display with current stats.

Jump to

Keyboard shortcuts

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