httpClient

package
v3.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(timeout time.Duration, followRedirects int, verifyTls bool, userAgent string) Client

func (Client) GetBodyForRequest

func (client Client) GetBodyForRequest(method string, url string) ([]byte, error)

func (Client) MakeRequest

func (client Client) MakeRequest(method string, url string, body io.Reader) (*http.Response, error)

Jump to

Keyboard shortcuts

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