rod

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransportRod

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

TransportRod implementation of Transport used for colly.

func NewTransport

func NewTransport() *TransportRod

NewTransport creates a new transport with the browser setup.

func (*TransportRod) Close

func (t *TransportRod) Close() error

func (*TransportRod) RoundTrip

func (t *TransportRod) RoundTrip(r *http.Request) (*http.Response, error)

RoundTrip gets called on each colly request.

Jump to

Keyboard shortcuts

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