http

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHttpClient

func GetHttpClient(url string) *httpclient.HttpClient

Types

type HttpRequest

type HttpRequest struct {
}
var (
	Request HttpRequest
)

func (*HttpRequest) Get

func (h *HttpRequest) Get(url string, cookies []*http.Cookie) (body string, errs error)

func (*HttpRequest) Post

func (h *HttpRequest) Post(url string, postData map[string]string, save_cookie bool, cookies []*http.Cookie) (body string, errs error)

Jump to

Keyboard shortcuts

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