net

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrURLNotFound = errors.New("URL not found")

Functions

func Download

func Download(ctx context.Context, url string, filepath string) (retErr error)

func GetHTTPClient

func GetHTTPClient() (*http.Client, error)

GetHTTPClient returns a new HTTP client.

func GetOAuthClient

func GetOAuthClient(ctx context.Context, token string) *http.Client

func PrintHTTPResponse

func PrintHTTPResponse(resp *http.Response)

Types

This section is empty.

Jump to

Keyboard shortcuts

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