http

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: GPL-3.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpClientWrapper

func NewHttpClientWrapper(client Client, url string) *clientWrapper

NewHttpClientWrapper will create a new instance of type httpClientWrapper

Types

type Client

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

Client is the interface we expect to call in order to do the HTTP requests

Jump to

Keyboard shortcuts

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