package
Version:
v0.3.5
Opens a new window with list of versions in this module.
Published: Apr 29, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DefaultHTTPClient struct{}
DefaultHTTPClient is the default implementation of HTTPClient.
Post makes an HTTP POST request.
HTTPClient is an interface for making HTTP requests.
NewHTTPClient creates a new HTTPClient.
type MockHTTPClient struct {
mock.Mock
}
MockHTTPClient is a mock implementation of HTTPClient.
Post makes an HTTP POST request.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.