reqbouncer

command module
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 15 Imported by: 0

README

reqbouncer

A simple helper proxy to forward events from one source to another.

Usage

First install the reqbouncer binary:

go install github.com/znowdev/reqbouncer@latest

Then you can run the binary with the following command:

reqbouncer forward --host reqbouncerhost.com:443 --secret-token "my-secret-token" 4000

This will start a forwarding listener that connects to the reqbouncerhost.com:443 server and forwards all incoming requests to the http://localhost:4000 server.

Configuration

The client can be configured locally by running the following command:

reqbouncer configure

This will create a ~/.reqbouncer/config file in the user home directory with the following content:

secret_token="my secret token"
server_host="host:port"
Install

You can also install the reqbouncer binary by running the following command:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/znowdev/reqbouncer/master/setup.sh)"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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