command
module
Version:
v0.0.0-...-f6ac90d
Opens a new window with list of versions in this module.
Published: Jun 7, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
mirror
A small web server that will output any requests against it
Install
$ go get github.com/fredr/mirror
Use
Start
$ mirror
Request
$ curl "http://localhost:12345/some/url" -d 'Hello World' -XPUT
Output
PUT /some/url HTTP/1.1
Host: localhost:12345
Accept: */*
Content-Type: application/x-www-form-urlencoded
User-Agent: curl/7.30.0
Hello World
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.