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

httpclient

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package httpclient assembles agentx HTTP client requests and selects defaults. Transport ownership, authentication and request limits remain with callers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHeaders

func AddHeaders(dst, src http.Header)

AddHeaders appends every value of src to dst without retaining its slices. dst must be initialized. The caller synchronizes concurrent header mutations.

func ClientOr

func ClientOr(c *http.Client) *http.Client

ClientOr returns c, or http.DefaultClient when c is nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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