internal

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

HTTPClient is an interface over http.Client to make mock easier.

func DefaultHTTPClient added in v0.9.0

func DefaultHTTPClient() HTTPClient

func HTTPClientWithTimeout added in v0.9.0

func HTTPClientWithTimeout(timeout time.Duration) HTTPClient

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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