Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHTTPServer ¶
type MockHTTPServer struct {
// contains filtered or unexported fields
}
MockHTTPServer provides a configurable mock HTTP server for testing
func NewMockHTTPServer ¶
func NewMockHTTPServer() *MockHTTPServer
NewMockHTTPServer creates a new mock HTTP server
func (*MockHTTPServer) AddResponse ¶
func (m *MockHTTPServer) AddResponse(method, path string, response MockResponse)
AddResponse adds a mock response for a specific path and method
func (*MockHTTPServer) URL ¶
func (m *MockHTTPServer) URL() string
URL returns the base URL of the mock server
Click to show internal directories.
Click to hide internal directories.