model

package
v0.0.0-...-8ee0192 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Element

type Element struct {
	Target string
	Title  string
	Class  string
	Text   string
}

type Field

type Field struct {
	Name string
	Type string
}

type Form

type Form struct {
	Action string
	Fields []Field
}

type Page

type Page struct {
	Status   int
	Headers  http.Header
	Title    string
	Forms    []Form
	Images   []Element
	Anchors  []Element
	Links    []Element
	Scripts  []Element
	Snapshot string
	Raw      []byte
	Hash     string
}

Jump to

Keyboard shortcuts

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