query

package
v0.0.0-...-ae2aaf1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Downloader

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

func NewDownloader

func NewDownloader(url string) *Downloader

func (*Downloader) File

func (that *Downloader) File(fPath string)

func (*Downloader) Get

func (that *Downloader) Get() (body []byte)

func (*Downloader) GetFileWithBar

func (that *Downloader) GetFileWithBar(fpath string, force ...bool)

func (*Downloader) SetHeader

func (that *Downloader) SetHeader(key, value string)

func (*Downloader) SetTimeout

func (that *Downloader) SetTimeout(timeout time.Duration)

func (*Downloader) UseProxy

func (that *Downloader) UseProxy(proxy ...string)

Jump to

Keyboard shortcuts

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