slowproxy

command module
v0.0.0-...-507f6ab Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 10 Imported by: 0

README

Description

slowproxy emulates a reverse proxy that would download the entire response body before scanning it.

Usage

Build and run with the Go SDK or with Docker.

Go

go build
./slowproxy

Docker

docker build -t slowproxy .
docker run --rm -ti -p 8080:8080 slowproxy

Flags

Add --help to learn about the various flags.

Usage of slowproxy:
  -cert string
    	server certificate
  -key string
    	server private key
  -listen string
    	address to listen to (default ":8080")
  -speed float
    	speed of body "processing" in MB/s (default 1)
  -upstream string
    	upstream server (default "https://eu-central.pkg.julialang.org")

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