httputils

package
v5.13.8 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Accept        = "Accept"
	Authorization = "Authorization"
	CacheControl  = "Cache-Control"
	ContentType   = "Content-Type"
	UserAgent     = "User-Agent"
)

HTTP header name constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthedTransportApi

type AuthedTransportApi struct {
	ApiKey      string
	AccessToken string
	Wrapped     http.RoundTripper
	UserAgent   string
}

func (*AuthedTransportApi) RoundTrip

func (t *AuthedTransportApi) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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