package
1.3.0
Repository: https://github.com/alitari/mockgo-server.git
Documentation: pkg.go.dev

# Functions

AssertHandlerFunc test a request handler func with a test http request, see CreateIncomingRequest.
AssertResponseOfRequestCall test a http request.
AssertResponseStatusOfRequestCall test a http request.
CreateHeader creates a http header.
CreateIncomingErrorReadingBodyRequest create test http request which fails when reading the request body.
CreateIncomingRequest create test http request for a an input in a request handler func.
CreateOutgoingRequest creates a http request.
RandString create a random string with n letters.
RunAndCheckCoverage use this in order to let the test fail when a coverage is not reached.
StartServing creates httptest.Server.
StopServing close httptest.Server.

# Structs

Header type for http header.

# Type aliases

ReaderFunc proxy implementation.