httputil

package
v0.22.3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

type HyphenClient

type HyphenClient struct {
	// contains filtered or unexported fields
}

func NewHyphenHTTPClient

func NewHyphenHTTPClient() *HyphenClient

func (*HyphenClient) Do

func (hc *HyphenClient) Do(req *http.Request) (*http.Response, error)

type MockHTTPClient

type MockHTTPClient struct {
	mock.Mock
}

func (*MockHTTPClient) Do

func (m *MockHTTPClient) Do(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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