client

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClient

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

func NewHttpClient

func NewHttpClient(proxy string) (client *HttpClient)

func (*HttpClient) Do

func (h *HttpClient) Do(request Request) (response *Response, err error)

type Request

type Request struct {
	Fingerprint string
	Method      string
	Url         string
	Headers     map[string][]string
	Cookies     []string
	Body        []byte
	HttpVersion string
}

type Response

type Response struct {
	RawRequest  *http.Request
	RawResponse *http.Response
}

Jump to

Keyboard shortcuts

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