rule

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Document

func Document(url string) (*goquery.Document, error)

func ProcessSpiderRule

func ProcessSpiderRule(name string, rule Rule, outCh chan Result)

Types

type Result

type Result struct {
	Name    string
	Instant bool
	Result  []string
}

type Rule

type Rule struct {
	When    string
	Instant bool
	Action  func() []string
}

Jump to

Keyboard shortcuts

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