net

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultSpinnerTransport = SpinnerTransport{
	Disabled: false,
	Proxied:  http.DefaultTransport,
}

Functions

func GetCLIClient

func GetCLIClient() *http.Client

Types

type SpinnerTransport

type SpinnerTransport struct {
	Disabled bool

	Proxied http.RoundTripper
}

func (SpinnerTransport) RoundTrip

func (st SpinnerTransport) RoundTrip(req *http.Request) (res *http.Response, e error)

Jump to

Keyboard shortcuts

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