package
0.10.1
Repository: https://github.com/francoispqt/toolbox.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CopyBuffer copies bytes from passed in source to destination with provided pool.
HttpFileRecorder returns http route listener that will record request response to the passed in directory.
NewBytesBufferPool returns new httputil.BufferPool pool.
NewHttpBridge creates a new instance of NewHttpBridge.
NewHTTPRequest create a new instance of http request.
No description provided by the author
NewProxyHandler creates a new proxy handler.
No description provided by the author
No description provided by the author
ReadRecordedHttpTrips scans provided directory for bridge.HttpRequest-%v.json and bridge.HttpResponse-%v.json pairs.
StartRecordingBridge start recording bridge proxy.

# Structs

HttpBridge represents http bridge.
HttpBridgeConfig represents HttpBridgeConfig config.
HttpBridgeConfig represent http bridge config.
HttpBridgeProxyConfig represent proxy config.
HttpBridgeProxyRoute represent http proxy route.
HttpRequest represents JSON serializable http request.
HttpResponse represents JSON serializable http response.
HTTPTrip represents recorded round trip.
ListeningTripHandler represents endpoint recording handler.
RecordedHttpTrip represents a recorded http trip.

# Type aliases

ProxyHandlerFactory proxy handler factory.