Documentation ¶
Overview ¶
package mock contains several structs that are used in various unit tests
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockResponseRecorder ¶
type MockResponseRecorder struct { *httptest.ResponseRecorder // WriteError is an error that can be set to be returned by the Write method. WriteError error }
MockResponseRecorder extends httptest.ResponseRecorder with errors that can be returned by various functions.
Click to show internal directories.
Click to hide internal directories.