spitcurl

command module
v0.0.0-...-baa8c06 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: GPL-3.0 Imports: 21 Imported by: 0

README

Spitcurl

A reverse proxy and mock server that logs request in cURL format

usage:

Usage of spitcurl:
  -address string
    	Bind address (default "127.0.0.1")
  -mode string
    	server type to use. options: http, tls. (default "http")
  -port uint
    	listen port (default 8080)
  -tlsCert string
    	tls certificate to use. will use self-signed if empty
  -tlsKey string
    	tls certificate key to use. will use self-signed if empty
  -upstream string
    	upstream URL. Empty will return an empty 200 for all requests, Example: https://www.youtube.com

sample output

screenshot

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL