package
Version:
v2.9.0
Opens a new window with list of versions in this module.
Published: Apr 20, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Option func(m *Mock)
Mocks Option
Mock response body (default empty)
Mock failure of HTTP client
Mock response with HTTP header (default none)
Mock response body I/O error (default nil)
Mock response with status code (default 200)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.