html

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDocument

func LoadDocument(r *http.Response) (*goquery.Document, error)

func ReadResponseBody

func ReadResponseBody(response *http.Response) ([]byte, error)

Types

type Form

type Form struct {
	Action *url.URL
	Method string
	Values url.Values
}

func LoadForm

func LoadForm(pageUrl *url.URL, formSelection *goquery.Selection) (Form, error)

func (Form) Submit

func (f Form) Submit(c *http.Client) (*http.Response, error)

Jump to

Keyboard shortcuts

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