Versions in this module Expand all Collapse all v0 v0.2.0 Aug 17, 2026 Changes in this version + func HydrationText(root *html.Node) []string + type HydrationLink struct + Href string + Text string + func HydrationLinks(root *html.Node) []HydrationLink + type Result struct + Hydration []string + HydrationLinks []HydrationLink + Merged *capture.Merged + RawHTML string + Signals Signals + func Extract(pageURL string, body io.Reader, sizeHint int) (*Result, error) + type Signals struct + CanvasElements int + ComplexHidingRules int + Description string + ExternalStylesheets int + FoldedChars int + FoldedControls int + HTMLBytes int + Headings int + HydrationBlob bool + Images int + Landmarks int + Links int + MarkupChars int + NoScriptWarning bool + Paragraphs int + ScriptBytes int + ShortRuns int + TextChars int + TextRatio float64 + TextRuns int + Title string + func (s Signals) IsShell() bool + func (s Signals) SplitTextRatio() float64