Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackendFactory ¶
func BackendFactory(logger logging.Logger, factory proxy.BackendFactory, output string) proxy.BackendFactory
BackendFactory returns a proxy.BackendFactory over the received proxy.BackendFactory with a memviz middleware wrapping the generated backend
func New ¶
func New(logger logging.Logger, output, name string) proxy.Middleware
New returns a proxy middleware ready to start dumping all the requests and responses it processes.
The dot files will be stored in the path defined by the putput argument, using the name argument as a prefix.
Requests named "xxx" will be stored in the output filder as xxx_in_{timestamp}.dot Responses named "xxx" will be stored in the output filder as xxx_out_{timestamp}.dot
func ProxyFactory ¶
ProxyFactory returns a proxy.FactoryFunc over the received proxy.FactoryFunc with a memviz middleware wrapping the generated pipe
Types ¶
This section is empty.