data

package
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package data provides runtime value access helpers for HTML driver objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInDocument

func GetInDocument(ctx context.Context, key runtime.Value, doc drivers.HTMLDocument) (runtime.Value, error)

func GetInElement

func GetInElement(ctx context.Context, key runtime.Value, el drivers.HTMLElement) (runtime.Value, error)

func GetInNode

func GetInNode(ctx context.Context, key runtime.Value, node drivers.HTMLNode) (runtime.Value, error)

func GetInPage

func GetInPage(ctx context.Context, key runtime.Value, page drivers.HTMLPage) (runtime.Value, error)

func NewIterator

func NewIterator(node drivers.HTMLElement) (runtime.Iterator, error)

Types

type Iterator

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

func (*Iterator) HasNext

func (iter *Iterator) HasNext(ctx context.Context) (bool, error)

func (*Iterator) Next

func (iter *Iterator) Next(ctx context.Context) (runtime.Value, runtime.Value, error)

Jump to

Keyboard shortcuts

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