client

package
v0.0.0-...-40d7aee Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: LGPL-2.1 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DomQuery

func DomQuery(href string, xpath string, conf QueryConf) (*goquery.Selection, error)

Types

type ProxyConfOpt

type ProxyConfOpt func(*QueryConf)

func QueryConfWithProxy

func QueryConfWithProxy(proxy string) ProxyConfOpt

type QueryConf

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

func NewQueryConf

func NewQueryConf(opts ...ProxyConfOpt) QueryConf

func (QueryConf) Client

func (conf QueryConf) Client() *http.Client

Jump to

Keyboard shortcuts

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