internal

package
v0.0.0-...-ed4ef5d Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 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

func DefaultHTTPClient() HTTPClient

func HTTPClientWithTimeout

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