httpclient

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTimeout time.Duration = 0

Variables

This section is empty.

Functions

func PrepareClient

func PrepareClient(timeout time.Duration, insecureSkipVerify bool) *http.Client

func ReqAuthorization

func ReqAuthorization(req *http.Request, username string, password string) *http.Request

func ReqUserAgent

func ReqUserAgent(req *http.Request, userAgent string) *http.Request

Types

This section is empty.

Jump to

Keyboard shortcuts

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