diagnostics

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageStateType

type PageStateType string
var (
	PreActionPageState  PageStateType = "pre-action"
	PostActionPageState PageStateType = "post-action"
)

type Writer

type Writer interface {
	Close() error
	LogAction(action *types.Action) error
	LogPageState(state *types.PageState, stateType PageStateType) error
	LogNavigations(pageStateID string, navigations []*types.Action) error
	LogPageStateScreenshot(pageStateID string, screenshot []byte) error
}

Writer is a writer that writes diagnostics to a directory for the katana headless crawler module.

func NewWriter

func NewWriter(directory string) (Writer, error)

NewWriter creates a new Writer.

Jump to

Keyboard shortcuts

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