tool

package module
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: MIT Imports: 16 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cookie cookie
View Source
var File file
View Source
var HTTP = httP{
	DefaultHeader: map[string]string{
		"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36",
	},
}
View Source
var Rand ranD
View Source
var Regexp reg
View Source
var Time timE

Functions

This section is empty.

Types

type FullRequest added in v0.2.7

type FullRequest struct {
	Type     string
	Url      string
	Header   map[string]interface{}
	Query    map[string]interface{}
	Body     map[string]interface{}
	Cookie   map[string]string
	Redirect bool
}

type GetRequest added in v0.2.2

type GetRequest struct {
	Url      string
	Header   map[string]interface{}
	Query    map[string]interface{}
	Cookie   map[string]string
	Redirect bool
}

type HttpOptions

type HttpOptions struct {
	RedirectCookieJar bool
	Timeout           time.Duration
}

type PostRequest added in v0.2.2

type PostRequest struct {
	Url      string
	Header   map[string]interface{}
	Query    map[string]interface{}
	Body     map[string]interface{}
	Cookie   map[string]string
	Redirect bool
}

Jump to

Keyboard shortcuts

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