requests

package
v0.0.0-...-9eaa835 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client_data

type Client_data struct {
	Client *http.Client
}

func Session

func Session() (*Client_data, error)

func (*Client_data) Request

func (session *Client_data) Request(method string, u string, options ...Request_Options) (response_data, error)

type Request_Options

type Request_Options struct {
	Proxies   string
	Timeout   int
	Headers   map[string]string
	Cookies   map[string]string
	Data      map[string]string
	Data_byte []byte
	Json      string
}

Jump to

Keyboard shortcuts

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