Help us shape the future of Go! Take the 2026 Go Developer Survey

httputil

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthClient

func NewAuthClient(ctx context.Context, httpClient *http.Client) *auth.Client

NewAuthClient returns an *auth.Client with debug log and user agent set

func NewClient added in v1.2.0

func NewClient(ctx context.Context, client *http.Client) *http.Client

NewClient returns an *http.Client with debug log and user agent set

func SetUserAgent added in v1.2.0

func SetUserAgent(client *http.Client) *http.Client

SetUserAgent sets the user agent for all out-going requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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