scripts

package
v1.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScriptLoader

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

ScriptLoader handles loading JavaScript files

func NewScriptLoader

func NewScriptLoader() *ScriptLoader

NewScriptLoader creates a new script loader

func (*ScriptLoader) AvailableScripts

func (l *ScriptLoader) AvailableScripts() ([]string, error)

AvailableScripts returns a list of available script names

func (*ScriptLoader) LoadAgentsScript

func (l *ScriptLoader) LoadAgentsScript() (string, error)

LoadAgentsScript loads the agents extraction script

func (*ScriptLoader) LoadCategoriesScript

func (l *ScriptLoader) LoadCategoriesScript() (string, error)

LoadCategoriesScript loads the categories extraction script

func (*ScriptLoader) LoadContentScript

func (l *ScriptLoader) LoadContentScript() (string, error)

LoadContentScript loads the content extraction script

func (*ScriptLoader) LoadScript

func (l *ScriptLoader) LoadScript(name string) (string, error)

LoadScript loads a JavaScript file by name

Jump to

Keyboard shortcuts

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