scope

package
v3.4.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

From Katana

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUninterestingPath

func IsUninterestingPath(uriPath string) bool

Types

type Manager

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

Manager manages scope for crawling process

func NewManager

func NewManager(inScope, outOfScope []string) (*Manager, error)

NewManager returns a new scope manager for crawling

func (*Manager) Validate

func (m *Manager) Validate(URL *url.URL) (bool, error)

Validate returns true if the URL matches scope rules

Jump to

Keyboard shortcuts

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