schema

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// States contains all the states for the Colly state machine.
	States = ss
	// Groups contains all the state groups for the Colly state machine.
	Groups = sg
)
View Source
var Exception = am.StateException

Exception is a type alias for the exception state.

View Source
var SAdd = am.SAdd

SAdd is a func alias for merging lists of states.

Schema represents all relations and properties of States.

View Source
var SchemaMerge = am.SchemaMerge

SchemaMerge is a func alias for extending an existing state schema.

View Source
var StateAdd = am.StateAdd

StateAdd is a func alias for adding to an existing state definition.

View Source
var StateSet = am.StateSet

StateSet is a func alias for replacing parts of an existing state definition.

Functions

This section is empty.

Types

type GroupsDef

type GroupsDef struct {
}

GroupsDef contains all the state groups Colly state machine.

type Params

type Params = []ParamsWebsite

func ParamsFromWebsites

func ParamsFromWebsites(websites []*schema.Website) Params

type ParamsWebsite

type ParamsWebsite struct {
	URL      string
	Selector string
}

type Result

type Result struct {
	Websites []*schema.Website
	Errors   []error
}

type S

type S = am.S

S is a type alias for a list of state names.

type State

type State = am.State

State is a type alias for a state definition. See am.State.

type StateName

type StateName = string

type StatesDef

type StatesDef struct {
	*am.StatesBase

	*schema.ToolStatesDef
}

StatesDef contains all the states of the Colly state machine.

Jump to

Keyboard shortcuts

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